KEMBAR78
Update matmul requires_grad checks by soulitzer · Pull Request #117067 · pytorch/pytorch · GitHub
Skip to content

Conversation

soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Jan 9, 2024

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 9, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/117067

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit b653a8b with merge base e5f2ac1 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

soulitzer added a commit that referenced this pull request Jan 9, 2024
ghstack-source-id: bd2309d
Pull Request resolved: #117067
@soulitzer soulitzer requested a review from albanD January 9, 2024 22:49
Copy link
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

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

There's a minor issue in the test, but otherwise LGTM

soulitzer added a commit that referenced this pull request Jan 10, 2024
ghstack-source-id: a2918f6
Pull Request resolved: #117067
@soulitzer
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 10, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@facebook-github-bot facebook-github-bot deleted the gh/soulitzer/264/head branch January 14, 2024 15:23
@malfet
Copy link
Contributor

malfet commented Jan 29, 2024

Looks like this caused a perf regression, see pytorch/benchmark#2139

pytorchmergebot pushed a commit that referenced this pull request Apr 14, 2025
…rad tensor (#150270)

Fixes #147846. Previously there is no error out under out variant of`tensordot` while `requires_grad=True`. This can cause potential issue when out tensor is part of a computation graph.

Enforces the out variant of tensordot to run without setting `requries_grad=True`. Change same to #117067

Pull Request resolved: #150270
Approved by: https://github.com/soulitzer
timocafe pushed a commit to timocafe/pytorch that referenced this pull request Apr 16, 2025
…rad tensor (pytorch#150270)

Fixes pytorch#147846. Previously there is no error out under out variant of`tensordot` while `requires_grad=True`. This can cause potential issue when out tensor is part of a computation graph.

Enforces the out variant of tensordot to run without setting `requries_grad=True`. Change same to pytorch#117067

Pull Request resolved: pytorch#150270
Approved by: https://github.com/soulitzer
amathewc pushed a commit to amathewc/pytorch that referenced this pull request Apr 17, 2025
…rad tensor (pytorch#150270)

Fixes pytorch#147846. Previously there is no error out under out variant of`tensordot` while `requires_grad=True`. This can cause potential issue when out tensor is part of a computation graph.

Enforces the out variant of tensordot to run without setting `requries_grad=True`. Change same to pytorch#117067

Pull Request resolved: pytorch#150270
Approved by: https://github.com/soulitzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: linalg_frontend release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants