Skip to content
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 no grad and range bugs in utils. #3269

Merged
merged 4 commits into from
Jan 20, 2021
Merged

Conversation

oke-aditya
Copy link
Contributor

@oke-aditya oke-aditya commented Jan 20, 2021

Closes #3025. Superseeds #3148 .

Places @torch;.no_grad() before all utlitiy functions.

Deprecates range arg to use value_range

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@datumbox datumbox merged commit 767b23e into pytorch:master Jan 20, 2021
@oke-aditya
Copy link
Contributor Author

Well that was quick 😅

@oke-aditya oke-aditya deleted the fix_utils branch January 20, 2021 18:32
facebook-github-bot pushed a commit that referenced this pull request Feb 1, 2021
Summary:
* Fixes utils

* don't use any

* slightly simplify logic

Reviewed By: datumbox

Differential Revision: D26156389

fbshipit-source-id: 0f424d167f5573cb729c21f886bd9e0bf1fce19f

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants