Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stateful DataLoader] add utilities to inspect/modify dataloader state #1337

Open
andrewkho opened this issue Oct 15, 2024 · 0 comments
Open

Comments

@andrewkho
Copy link
Contributor

🚀 The feature

State Dict utilities to inspect state

Motivation, pitch

We should provide some utilites for users to inspect and potentially modify the dataloader state. Currently the format of the dictionary is opaque, and we may want to make changes in the future. Instead of users inspecting and hard-coding paths, we should instead provide utilities to make it easy, and future-proof.

Current list of desired utilities:

  • Retrieve state for worker 'i'
  • Retrieve and update the number of steps to skip upon resume

Alternatives

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant