Skip to content

Scopes 0.3.1 backport #5153

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

Merged
merged 9 commits into from
Feb 9, 2018
Merged

Conversation

lantiga
Copy link
Contributor

@lantiga lantiga commented Feb 9, 2018

This PR addresses the request for backporting scopes to 0.3.1 in #4821.

lantiga and others added 8 commits February 8, 2018 22:54
* Set missing temporary scope in callPySymbolicMethod

* Use expected traces in all scope tests
* Fix tracking of tracing scopes during ONNX pass

* Use ResourceGuard to manage setting a temporary current scope in Graph

* Add tests for ONNX pass scopes

* Remove unused num_classes argument
It's correct only when the new graph owns the same scope tree
as the original one. We can end up with dangling pointers otherwise.
@ezyang
Copy link
Contributor

ezyang commented Feb 9, 2018

FYI, CI is failing because the Jenkins job has changed since 0.3.0. To get CI working again we'll have to backport most of the changes to .jenkins, e.g.

e93ece9
e776f69
390d542
e22095b

@lantiga
Copy link
Contributor Author

lantiga commented Feb 9, 2018

Thanks @ezyang, I was wondering what was going on...

@soumith
Copy link
Member

soumith commented Feb 9, 2018

@lantiga is this locally passing all tests? (including onnx tests) if so this is good enough for me.

@soumith soumith merged commit 2b47480 into pytorch:v0.3.1 Feb 9, 2018
@lantiga
Copy link
Contributor Author

lantiga commented Feb 9, 2018

Yep, I ran all tests from the sh script on my Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants