-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Clarify meaning of pin_memory_device
argument
#94349
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
Clarify meaning of pin_memory_device
argument
#94349
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/94349
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 2aa0820: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
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
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.
Hi, thanks for opening this PR. I think it looks good and can be merged after the linting is fixed.
(whitespace should be fixed now) |
@pytorchbot rebase |
@pytorchbot successfully started a rebase job. Check the current status here |
Successfully rebased |
7c02779
to
2aa0820
Compare
@pytorchbot merge -f "PR only touches inline doc and all linters pass" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Thanks @ejguan ! |
This reverts commit 66bea59.
I don't think the docstring explaining `pin_memory_device` is very clear. If it weren't for the string type, I would not have guessed that this was about the device that is referred to in the `pin_memory` option (and honestly, it took me a few minutes before noticing the type). Pull Request resolved: pytorch#94349 Approved by: https://github.com/ejguan
I don't think the docstring explaining
pin_memory_device
is very clear. If it weren't for the string type, I would not have guessed that this was about the device that is referred to in thepin_memory
option (and honestly, it took me a few minutes before noticing the type).