-
Notifications
You must be signed in to change notification settings - Fork 288
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
Fixes to prep for weights_only default flip #2514
Conversation
cc @kit1980, can you help review this? |
@@ -29,7 +31,13 @@ def __init__(self, test, device, batch_size=None, extra_args=[]): | |||
) | |||
|
|||
self.model = models.resnet18(num_classes=10) | |||
prev_wo_envvar = os.environ.get("TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD", None) |
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.
We don't have access to the torch.load
call within opacus here, updating opacus also won't help because torchbench doesn't depend on a nightly of opacus but rather stable release
@kit1980 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: Some fixes for pytorch/pytorch#137602 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki
bedde13
to
5cd7016
Compare
This pull request was exported from Phabricator. Differential Revision: D64628614 |
Summary: Some fixes for pytorch/pytorch#137602 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki
5cd7016
to
5303250
Compare
This pull request was exported from Phabricator. Differential Revision: D64628614 |
Summary: Some fixes for pytorch/pytorch#137602 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki
5303250
to
4b5248c
Compare
This pull request was exported from Phabricator. Differential Revision: D64628614 |
@mikaylagawarecki merged this pull request in fb590d9. |
Summary: Pull Request resolved: pytorch#2524 Differential Revision: D64771621 Pulled By: mikaylagawarecki
Summary: Some fixes for pytorch/pytorch#137602 Pull Request resolved: pytorch#2514 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki fbshipit-source-id: edebf25cc6648919d5673a3baeaffdac26e5b91f
Summary: Pull Request resolved: pytorch#2524 Differential Revision: D64771621 Pulled By: mikaylagawarecki
Summary: Pull Request resolved: pytorch#2524 Differential Revision: D64771621 Pulled By: mikaylagawarecki
Summary: Pull Request resolved: pytorch#2524 Differential Revision: D64771621 Pulled By: mikaylagawarecki
Summary: Some fixes for pytorch/pytorch#137602 Pull Request resolved: pytorch#2514 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki fbshipit-source-id: edebf25cc6648919d5673a3baeaffdac26e5b91f
Summary: Pull Request resolved: pytorch#2524 Reviewed By: kit1980 Differential Revision: D64771621 Pulled By: mikaylagawarecki fbshipit-source-id: 545f3d528cfbe2668c8d37e98e99423cd77a8e8e
Summary: Some fixes for pytorch/pytorch#137602 Pull Request resolved: #2514 Reviewed By: xuzhao9 Differential Revision: D64628614 Pulled By: mikaylagawarecki fbshipit-source-id: edebf25cc6648919d5673a3baeaffdac26e5b91f
Some fixes for pytorch/pytorch#137602