Skip to content

Conversation

mandroid6
Copy link

@mandroid6 mandroid6 commented Mar 5, 2025

Summary: Currently flex_attention template's backward config generation returns values for every case. This change instead stores intermediate values in 'bwd_config returned at the end.

Test Plan: CI. Existing tests.

Differential Revision: D70649316

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 5, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: mandroid6 / name: Mandar Deshpande (c42cd67)

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 5, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70649316

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70649316

mandroid6 pushed a commit to mandroid6/pytorch that referenced this pull request Mar 5, 2025
Summary:
Pull Request resolved: pytorch#148600

Currently `flex_attention` template's backward config generation returns values for every case. This change instead stores intermediate values in `'bwd_config` returned at the end which simplifies inspection/debugging.

Test Plan: CI. Existing tests.

Differential Revision: D70649316
@drisspg drisspg added the topic: not user facing topic category label Mar 5, 2025
@mandroid6 mandroid6 self-assigned this Mar 6, 2025
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 8, 2025
Summary:

Currently `flex_attention` template's backward config generation returns values for every case. This change instead stores intermediate values in `'bwd_config` returned at the end which simplifies inspection/debugging.

Test Plan: CI. Existing tests.

Reviewed By: drisspg

Differential Revision: D70649316
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70649316

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants