馃悰 Bug
LitData patches the worker loop in torch here
https://github.com/Lightning-AI/litdata/blob/5d6b8f962a5dce5efc132131fff46f33c7e24fca/src/litdata/streaming/dataloader.py#L454-L456
but this never gets reverted. Subsequent runs with a dataloader will just happily run this worker loop. This hack should be removed, or if it stays it should have a way for it to remain disabled and be idempotent.
This could lead to hard to debug issues on the user's side.
On our side, this currently leads to interactions in our test suite.
馃悰 Bug
LitData patches the worker loop in torch here
https://github.com/Lightning-AI/litdata/blob/5d6b8f962a5dce5efc132131fff46f33c7e24fca/src/litdata/streaming/dataloader.py#L454-L456
but this never gets reverted. Subsequent runs with a dataloader will just happily run this worker loop. This hack should be removed, or if it stays it should have a way for it to remain disabled and be idempotent.
This could lead to hard to debug issues on the user's side.
On our side, this currently leads to interactions in our test suite.