Skip to content

Conversation

@ailzhang
Copy link
Contributor

Needed after pytorch/pytorch#33639 lands

at::Scalar negative_slope,
bool self_is_result) {
XLA_FN_COUNTER("xla::");
XLA_CHECK(!self_is_result || negative_slope.to<double>() > 0.0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

You know my thought in chaing pytorch messages 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha I know, but I feel this message is useful to tell users what happened and what to do? :P

@ailzhang
Copy link
Contributor Author

Merging for now to unblock master breakage. :P Will open follow up PRs to address comments.

@ailzhang ailzhang merged commit cb71f22 into pytorch:master Feb 28, 2020
@ailzhang ailzhang deleted the fix_33639 branch February 28, 2020 06:50
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.

2 participants