Skip to content

Fix healpix test dataloader DistributedSampler #1002

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

Merged
merged 2 commits into from
Jul 8, 2025

Conversation

pzharrington
Copy link
Collaborator

@pzharrington pzharrington commented Jul 7, 2025

PhysicsNeMo Pull Request

Description

Fixes #988, using the test dataset object to instantiate DistributedSampler. As far as I can tell none of the examples or current known use-cases are exposed to this issue due to not using the test_dataloader method in distributed mode, but good to fix in general.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

@pzharrington pzharrington self-assigned this Jul 7, 2025
@pzharrington
Copy link
Collaborator Author

/blossom-ci

@pzharrington pzharrington changed the title Fix test_dataloader DistributedSampler Fix healpix test dataloader DistributedSampler Jul 7, 2025
@pzharrington
Copy link
Collaborator Author

/blossom-ci

@pzharrington pzharrington requested a review from daviddpruitt July 7, 2025 21:35
@pzharrington
Copy link
Collaborator Author

/blossom-ci

1 similar comment
@pzharrington
Copy link
Collaborator Author

/blossom-ci

@pzharrington pzharrington merged commit 358cc7b into NVIDIA:main Jul 8, 2025
1 check passed
coreyjadams pushed a commit to coreyjadams/physicsnemo that referenced this pull request Aug 1, 2025
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

Successfully merging this pull request may close these issues.

🐛[BUG]: Healpix dataloaders use val_dataset for test
2 participants