Repository navigation
[inductor][refactor] Drop the dead num_stages axis from ROCm exhaustive mm configs - #192286
Closed
desertfire wants to merge 1 commit into
Closed
desertfire wants to merge 1 commit into
desertfire wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/192286
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a2545ba with merge base 100c32b ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
jgong5
approved these changes
Aug 14, 2026
Contributor
Author
|
@pytorchbot merge |
Collaborator
Merge failedReason: Approvers from one of the following sets are needed:
|
jeffdaily
approved these changes
Aug 28, 2026
Collaborator
|
@pytorchmergebot merge |
Collaborator
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 |
orrangetabby17
pushed a commit
to orrangetabby17/pytorch
that referenced
this pull request
Sep 2, 2026
…ve mm configs (pytorch#192286) ROCmConfigHeuristic._filter_configs overwrites num_stages on every config with self.default_num_stages -- this is intentional, and both the origami selection path and its LDS pre-filter are written to match that post-filter state. But exhaustive_configs also enumerated `for num_stages in [1, default_num_stages]`, so half of the generated configs were byte-identical to the other half once filtering ran, and num_stages=1 was never actually tried. The duplicates were silently discarded later by the dedup key in _finalize_mm_configs, so this only wasted work and made the search space look like it covered an axis it did not. Halves the exhaustive candidate count before dedup with no change in the set of configs actually benchmarked. Authored with the assistance from an AI coding agent. Pull Request resolved: pytorch#192286 Approved by: https://github.com/jgong5, https://github.com/jeffdaily ghstack dependencies: pytorch#192285
Sanskaaar1
pushed a commit
to Sanskaaar1/pytorch
that referenced
this pull request
Sep 8, 2026
…ve mm configs (pytorch#192286) ROCmConfigHeuristic._filter_configs overwrites num_stages on every config with self.default_num_stages -- this is intentional, and both the origami selection path and its LDS pre-filter are written to match that post-filter state. But exhaustive_configs also enumerated `for num_stages in [1, default_num_stages]`, so half of the generated configs were byte-identical to the other half once filtering ran, and num_stages=1 was never actually tried. The duplicates were silently discarded later by the dedup key in _finalize_mm_configs, so this only wasted work and made the search space look like it covered an axis it did not. Halves the exhaustive candidate count before dedup with no change in the set of configs actually benchmarked. Authored with the assistance from an AI coding agent. Pull Request resolved: pytorch#192286 Approved by: https://github.com/jgong5, https://github.com/jeffdaily ghstack dependencies: pytorch#192285
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
ROCmConfigHeuristic._filter_configs overwrites num_stages on every config with
self.default_num_stages -- this is intentional, and both the origami selection
path and its LDS pre-filter are written to match that post-filter state. But
exhaustive_configs also enumerated
for num_stages in [1, default_num_stages],so half of the generated configs were byte-identical to the other half once
filtering ran, and num_stages=1 was never actually tried. The duplicates were
silently discarded later by the dedup key in _finalize_mm_configs, so this only
wasted work and made the search space look like it covered an axis it did not.
Halves the exhaustive candidate count before dedup with no change in the set of
configs actually benchmarked.
Authored with the assistance from an AI coding agent.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben