Skip to content

Conversation

@ailzhang
Copy link
Contributor

Resubmit #10416 with fixed tests . This is to remove implicit conversion from gpu to cpu in when calling numpy to keep behavior match others.

It requires users to move the tensor back to cpu() before call numpy functions on it.

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.

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

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

Having read this patch for the first time, it is /technically/ BC breaking. I don't know if @soumith has a little file where he keeps these, just flagging.

@soumith soumith added the module: bc-breaking Related to a BC-breaking change label Aug 15, 2018
@soumith
Copy link
Contributor

soumith commented Aug 15, 2018

I added the bc-breaking label.

@ailzhang
Copy link
Contributor Author

The changes are not needed due to the revert of a129f9a.

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.

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

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

Labels

module: bc-breaking Related to a BC-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants