remove unused _pin_memory property in PinMemory class #1413
remove unused _pin_memory property in PinMemory class #1413andrewkho merged 1 commit intometa-pytorch:mainfrom FightingZhen:main
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 |
|
@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