-
Notifications
You must be signed in to change notification settings - Fork 24.8k
symint attributes #159057
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
base: main
Are you sure you want to change the base?
symint attributes #159057
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/159057
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit 70f74c3 with merge base 8460131 ( NEW FAILURES - The following jobs have failed:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D78747585 |
torch/nn/utils/stateless.py
Outdated
parameters_and_buffers_only = { | ||
k: v for k, v in parameters_and_buffers.items() if isinstance(v, Tensor) | ||
} |
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.
the nn stateless APIs should be allowed to override all attributes on an nn.Module, not just Tensors. cc @albanD
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.
That is correct afaik
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.
Not sure what this is about given there are no PR description?
torch/nn/utils/stateless.py
Outdated
parameters_and_buffers_only = { | ||
k: v for k, v in parameters_and_buffers.items() if isinstance(v, Tensor) | ||
} |
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.
That is correct afaik
This pull request was exported from Phabricator. Differential Revision: D78747585 |
4ccbec5
to
ea25afd
Compare
Summary: Pull Request resolved: pytorch#159057 Rollback Plan: Differential Revision: D78747585
Summary: Pull Request resolved: pytorch#159057 Rollback Plan: Differential Revision: D78747585
This pull request was exported from Phabricator. Differential Revision: D78747585 |
ea25afd
to
70f74c3
Compare
Differential Revision: D78747585
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @chenyang78 @kadeng @chauhang @amjames @Lucaskabela