-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Expose filename for tensor/storages created with from_file
and document torch.from_file
#111688
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
Expose filename for tensor/storages created with from_file
and document torch.from_file
#111688
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111688
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ac0464a with merge base 2452e65 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…docs" [ghstack-poisoned]
…docs" [ghstack-poisoned]
…docs" Fixes #37439 cc albanD [ghstack-poisoned]
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.
Thanks!
I think you're missing the documentation for the filename
field on UntypedStorage?
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.
nit on the attribute but SGTM otherwise!
…docs" Fixes #37439 cc albanD [ghstack-poisoned]
…docs" Fixes #37439 Also threads through filename so it is accessible via `t.storage().filename()` cc albanD [ghstack-poisoned]
…docs" Fixes #37439 Also threads through filename so it is accessible via `t.storage().filename()` cc albanD [ghstack-poisoned]
…docs" Fixes #37439 Also threads through filename so it is accessible via `t.storage().filename` cc albanD [ghstack-poisoned]
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
from_file
and document torch.from_file
from_file
and document torch.from_filefrom_file
and document torch.from_file
Pull Request resolved: #111856 Approved by: https://github.com/albanD ghstack dependencies: #111688
…ch#111688) Fixes pytorch#37439 Also threads through filename so it is accessible via `t.storage().filename` Pull Request resolved: pytorch#111688 Approved by: https://github.com/albanD
Pull Request resolved: pytorch#111856 Approved by: https://github.com/albanD ghstack dependencies: pytorch#111688
…ch#111688) Fixes pytorch#37439 Also threads through filename so it is accessible via `t.storage().filename` Pull Request resolved: pytorch#111688 Approved by: https://github.com/albanD
Pull Request resolved: pytorch#111856 Approved by: https://github.com/albanD ghstack dependencies: pytorch#111688
Fixes #37439
Also threads through filename so it is accessible via
t.storage().filename
Stack from ghstack (oldest at bottom):
from_file
and document torch.from_file #111688cc @albanD