KEMBAR78
Error out on in-place binops on tensors with internal overlap by zou3519 · Pull Request #19317 · pytorch/pytorch · GitHub
Skip to content

Conversation

@zou3519
Copy link
Contributor

@zou3519 zou3519 commented Apr 16, 2019

This adds checks for mul_, add_, sub_, div_, the most common
binops. See #17935 for more details.

Test Plan:

  • New tests

@zou3519 zou3519 force-pushed the overlap-common-binop branch from 80827a8 to 12aa051 Compare April 16, 2019 19:44
@zou3519 zou3519 marked this pull request as ready for review April 16, 2019 19:45
@zou3519 zou3519 requested a review from fmassa April 16, 2019 19:45
This adds checks for `mul_`, `add_`, `sub_`, `div_`, the most common
binops. See pytorch#17935 for more details.

Test Plan:
- New tests
@zou3519 zou3519 force-pushed the overlap-common-binop branch from 12aa051 to 0461a42 Compare April 17, 2019 14:14
Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

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

@facebook-github-bot
Copy link
Contributor

@zou3519 merged this pull request in eaa14f5.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Apr 17, 2019
Summary:
This adds checks for `mul_`, `add_`, `sub_`, `div_`, the most common
binops. See #17935 for more details.
Pull Request resolved: pytorch/pytorch#19317

Differential Revision: D14972399

Pulled By: zou3519

fbshipit-source-id: b9de331dbdb2544ee859ded725a5b5659bfd11d2
zhangguanheng66 pushed a commit to zhangguanheng66/pytorch that referenced this pull request May 6, 2019
…h#19317)

Summary:
This adds checks for `mul_`, `add_`, `sub_`, `div_`, the most common
binops. See pytorch#17935 for more details.
Pull Request resolved: pytorch#19317

Differential Revision: D14972399

Pulled By: zou3519

fbshipit-source-id: b9de331dbdb2544ee859ded725a5b5659bfd11d2
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.

3 participants