Skip to content

[FlexAttention] Add mechanism to get optimal autotune decision#165817

Closed
drisspg wants to merge 7 commits intogh/drisspg/212/basefrom
gh/drisspg/212/head
Closed

[FlexAttention] Add mechanism to get optimal autotune decision#165817
drisspg wants to merge 7 commits intogh/drisspg/212/basefrom
gh/drisspg/212/head

Conversation

@drisspg
Copy link
Contributor

@drisspg drisspg commented Oct 18, 2025

[ghstack-poisoned]
drisspg added a commit that referenced this pull request Oct 18, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 18, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

return mm_file_name


_FLEX_ATTENTION_TUNABLE_KEYS = frozenset(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the better abstraction here just to create a typed_dict class and statically go over the keys maybe? With a default sentinel value? Or maybe that's just too complicated.

[ghstack-poisoned]
[ghstack-poisoned]
drisspg added a commit that referenced this pull request Oct 25, 2025
[ghstack-poisoned]
drisspg added a commit that referenced this pull request Oct 27, 2025
[ghstack-poisoned]
drisspg added a commit that referenced this pull request Oct 27, 2025
[ghstack-poisoned]
drisspg added a commit that referenced this pull request Oct 27, 2025
[ghstack-poisoned]
@drisspg
Copy link
Contributor Author

drisspg commented Oct 28, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 28, 2025
@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

drisspg added a commit that referenced this pull request Oct 28, 2025
Khanaksahu pushed a commit to Khanaksahu/pytorch-fork that referenced this pull request Nov 17, 2025
@github-actions github-actions bot deleted the gh/drisspg/212/head branch November 28, 2025 02:18
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.

4 participants