Skip to content

Conversation

@li-roy
Copy link
Contributor

@li-roy li-roy commented Jul 30, 2018

_pointwise loss has some python special casing, we converted reduction to aten enums too early.

fixes #10009

Copy link
Contributor

@soumith soumith left a comment

Choose a reason for hiding this comment

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

add a test

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

li-roy has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@li-roy
Copy link
Contributor Author

li-roy commented Jul 31, 2018

@pytorchbot retest this please

@li-roy li-roy deleted the pointwisefix branch July 31, 2018 20:46
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
_pointwise loss has some python special casing, we converted reduction to aten enums too early.

fixes pytorch#10009
Pull Request resolved: pytorch#10018

Differential Revision: D9075489

Pulled By: li-roy

fbshipit-source-id: 4bf2f5e2911e757602c699ee1ec58223c61d0162
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mse_loss reduction='none' is ignored when required_grads is True

4 participants