Skip to content

Conversation

@chauhang
Copy link
Contributor

@chauhang chauhang commented Oct 31, 2019

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

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]
chauhang pushed a commit that referenced this pull request Oct 31, 2019
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
@kostmo
Copy link
Member

kostmo commented Oct 31, 2019

CircleCI build failures summary

As of commit 777f11b:

  • 0/2 flaky
  • 1/2 broken upstream
  • 1/2 failures introduced in this PR

Here are the reasons each build failed.


This comment was automatically generated by Dr. CI.
Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

This comment has been revised 1 time(s).

@chauhang
Copy link
Contributor Author

@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]
chauhang pushed a commit that referenced this pull request Oct 31, 2019
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
@chauhang
Copy link
Contributor Author

chauhang commented Nov 1, 2019

@pytorchbot retest this please

1 similar comment
@chauhang
Copy link
Contributor Author

chauhang commented Nov 1, 2019

@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]
chauhang pushed a commit that referenced this pull request Nov 1, 2019
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]
chauhang pushed a commit that referenced this pull request Nov 1, 2019
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
Copy link
Contributor

@zou3519 zou3519 left a 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]
chauhang pushed a commit that referenced this pull request Nov 4, 2019
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
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9e314f5.

@facebook-github-bot facebook-github-bot deleted the gh/chauhang/4/head branch November 8, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants