-
Notifications
You must be signed in to change notification settings - Fork 158
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
remove unused _pin_memory property in PinMemory class #1413
Conversation
Thanks @FightingZhen for the PR! Can you elaborate more on your use-case for this? |
I assume it's to get parity with this: https://github.com/pytorch/pytorch/blob/main/torch/utils/data/_utils/pin_memory.py#L31 . side note @divyanshk we need to do a sync for stateful_dataloader, updating our tests and code to match pytorch core's dataloader v1 |
@FightingZhen any ideas on how to test this? Looks like this PR in pytorch/pytorch landed without tests: pytorch/pytorch@3460b2b |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/data/1413
Note: Links to docs will display an error until the docs builds have been completed. ❌ 26 New FailuresAs of commit f94164b with merge base 62092dd (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@andrewkho has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Starting an internal CI run to run GPU tests |
Wonder if there was a change to CI runners that broke determinism, the broken tests seem to be related to controlled randomness. Either way, I ran the tests after deleting and everything seems to pass so we should be good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@andrewkho The CI looks finished, I'm not sure whether the above failed jobs is related with my modification or not, can this PR be merged? :) |
@FightingZhen yup please go ahead and merge, thank you for your contribution! |
@divyanshk can you help me merge this pr? thanks :) |
Please read through our contribution guide prior to
creating your pull request.
functionality and testing.
Fixes #{issue number}
Changes