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

[Nodes] Ensure get_worker_info works correctly in ParallelMapper #1388

Open
andrewkho opened this issue Dec 9, 2024 · 0 comments
Open

[Nodes] Ensure get_worker_info works correctly in ParallelMapper #1388

andrewkho opened this issue Dec 9, 2024 · 0 comments
Labels

Comments

@andrewkho
Copy link
Contributor

🚀 The feature

Support for torch.utils.data.IterableDataset

Motivation, pitch

Currently IterableDataset (and possibly some map datasets) rely on torch.utils.data.get_worker_info. To ensure drop-in compatibility, we should make sure this works correctly for ParallelMapper by setting the environment up correctly. We could do this directly in ParallelMapper, or in a new IterableDatasetWrapper class.

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
Projects
None yet
Development

No branches or pull requests

1 participant