-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix for torch.save not saving source files #28965
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
Conversation
Summary: Fixed the reference to correct object Test Plan: Verified by running the test_torch tests and a sample test case to see file getting saved with no errors or warnings import torch m = torch.nn.Linear(500, 10) torch.save(m, './test.pth') Reviewers: vincentqb Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working [ghstack-poisoned]
Summary: Fixed the reference to correct object Test Plan: Verified by running the test_torch tests and a sample test case to see file getting saved with no errors or warnings import torch m = torch.nn.Linear(500, 10) torch.save(m, './test.pth') Reviewers: vincentqb Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working ghstack-source-id: 5db0757 Pull Request resolved: #28965
CircleCI build failures summaryAs of commit 777f11b:
Here are the reasons each build failed. This comment was automatically generated by Dr. CI. Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 1 time(s). |
|
@pytorchbot retest this please |
Summary: Fixed the reference to correct object Test Plan: Verified by running the test_torch tests and a sample test case to see file getting saved with no errors or warnings import torch m = torch.nn.Linear(500, 10) torch.save(m, './test.pth') Reviewers: vincentqb Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working [ghstack-poisoned]
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
[ghstack-poisoned]
Summary: Fixed the reference to correct object, added new unit test and fixed the lint errors Test Plan: Added new unit test test_serialization_save_warnings in test_torch Verified by running the test_torch tests Reviewers: vincentqb zou3519 Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working ghstack-source-id: 30db162 Pull Request resolved: #28965
|
@pytorchbot retest this please |
1 similar comment
|
@pytorchbot retest this please |
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
[ghstack-poisoned]
Summary: Fixed the reference to correct object, added new unit test and fixed the lint errors Test Plan: Added new unit test test_serialization_save_warnings in test_torch Verified by running the test_torch tests Reviewers: vincentqb zou3519 Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working ghstack-source-id: 7af2cfd Pull Request resolved: #28965
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
[ghstack-poisoned]
Summary: Fixed the reference to correct object, added new unit test and fixed the lint errors Test Plan: Added new unit test test_serialization_save_warnings in test_torch Verified by running the test_torch tests Reviewers: vincentqb zou3519 Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working ghstack-source-id: 8c837bd Pull Request resolved: #28965
zou3519
left a comment
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.
This almost looks good, I had some questions
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
[ghstack-poisoned]
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
[ghstack-poisoned]
Summary: Fixed the reference to correct object, added new unit test and fixed the lint errors Test Plan: Added new unit test test_serialization_save_warnings in test_torch Verified by running the test_torch tests Reviewers: vincentqb zou3519 Subscribers: gchauhan Tasks: Tags: Fix for torch.save not saving file Fix for torch.save not working ghstack-source-id: 4be943b Pull Request resolved: #28965
|
This pull request has been merged in 9e314f5. |
Stack from ghstack:
Summary: Fixed the reference to correct object
Test Plan:
Added new unit test test_serialization_save_warnings in test_torch
Verified by running the test_torch tests
Reviewers: vincentqb zou3519
Subscribers: gchauhan
Tasks:
Tags:
Fix for torch.save not saving file
Fix for torch.save not working
Differential Revision: D18306797