Repository navigation
Conversation
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/176221
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit 53cc3c2 with merge base 9774102 ( NEW FAILURE - The following job has failed:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
wconstab
added a commit
that referenced
this pull request
Mar 2, 2026
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. ghstack-source-id: 1eb7516 Pull Request resolved: #176221
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Mar 2, 2026
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. ghstack-source-id: 354c94b Pull Request resolved: #176221
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Mar 9, 2026
Replace the blanket kwargs bailout with proper handling: extract kwargs DTensorSpecs, include them in the result OpSpec with their current placements and zero redistribute cost. The PQ search still only explores positional arg placements (since single-dim strategies don't cover kwargs), but kwargs tensors are no longer a reason to fall back to full expansion. TupleStrategy in kwargs still triggers a fallback since variable-length tuple inputs aren't modeled by the PQ search. Authored with Claude. ghstack-source-id: 2ac4645 Pull Request resolved: #176221
wconstab
commented
Mar 10, 2026
| if match_result is not None: | ||
| # Use pre-computed per-input costs from the PQ search instead of | ||
| # recomputing via generate_redistribute_costs -> _gen_transform_infos. | ||
| # kwargs tensor inputs keep their current placements (zero cost). |
Contributor
Author
There was a problem hiding this comment.
this seems bogus? probably only accounted for out= kwarg
Contributor
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
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):
Replace the blanket kwargs bailout with proper handling: extract kwargs
DTensorSpecs, include them in the result OpSpec with their current
placements and zero redistribute cost. The PQ search still only
explores positional arg placements (since single-dim strategies don't
cover kwargs), but kwargs tensors are no longer a reason to fall back
to full expansion.
TupleStrategy in kwargs still triggers a fallback since variable-length
tuple inputs aren't modeled by the PQ search.
Authored with Claude.