-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[FlexAttention] only calculate grads for buffers that require_grad #137451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/137451
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 4d89d3c with merge base 3346159 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ire_grad" cc Chillee yanboliang BoyuanFeng [ghstack-poisoned]
|
@pytorchbot merge |
Merge startedYour 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 |
|
@pytorchbot revert -m "Need to revert it in order to be able to backout #136910" -c weird |
|
@pytorchbot successfully started a revert job. Check the current status here. |
…_grad (#137451)" This reverts commit 9f9d252. Reverted #137451 on behalf of https://github.com/malfet due to Need to revert it in order to be able to backout #136910 ([comment](#137451 (comment)))
|
@drisspg your PR has been successfully reverted. |
|
@pytorchbot merge -f "Looks like it could be relanded safely" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: Command Details for Dev Infra teamRaised by workflow job |
Part 2 of #136910 With some updates from: #137451 And updates to lib name + lazy registration cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang [ghstack-poisoned]
…eager (#136910)" This PR is Part 2 of the implementation started in #136910, rolled in the updates from #137451. Original was reverted due to calls to #torch.libary at `import torch` time, so added a call to register at first call to `ModIndex` cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang rec [ghstack-poisoned]
This PR is Part 2 of the implementation started in #136910, rolled in the updates from #137451. Original was reverted due to calls to #torch.libary at `import torch` time, so added a call to register at first call to `ModIndex` cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang rec [ghstack-poisoned]
This PR is Part 2 of the implementation started in #136910, rolled in the updates from #137451. Original was reverted due to calls to #@torch.libary at `import torch` time, so added a call to register at first call to `ModIndex` Pull Request resolved: #137526 Approved by: https://github.com/Chillee, https://github.com/zou3519
This PR is Part 2 of the implementation started in #136910, rolled in the updates from #137451. Original was reverted due to calls to #@torch.libary at `import torch` time, so added a call to register at first call to `ModIndex` Pull Request resolved: #137526 Approved by: https://github.com/Chillee, https://github.com/zou3519
|
This change has been rolled into: #137526 |
Stack from ghstack (oldest at bottom):
cc @Chillee @yanboliang @BoyuanFeng