Skip to content

WIP first batch of claude fixes, include PQentry and cost computation optimization - #175312

Closed
wconstab wants to merge 1 commit into
gh/wconstab/535/basefrom
gh/wconstab/535/head
Closed

wconstab wants to merge 1 commit into
gh/wconstab/535/basefrom
gh/wconstab/535/head

Conversation

@wconstab

@wconstab wconstab commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor

@pytorch-bot

pytorch-bot Bot commented Feb 19, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 2 New Failures, 3 Unrelated Failures

As of commit 3f78e18 with merge base 003e05b (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following job failed but was present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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.

Enumerates all combos of R, S(0), S(1), P(sum) for each mesh dim on
both inputs, across 1D/2D/3D meshes.
"""
from itertools import product

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

move this

"""

cost: float
counter: int

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

let's make counter a post_init thing so its not littering the code below

counter: int
placements: tuple[tuple[Placement, ...], ...] = field(compare=False)
transitions: list[tuple[int, int, Placement, Placement]] = field(compare=False)
per_input_costs: tuple[float, ...] = field(compare=False)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

document why we need these fields

@wconstab wconstab closed this Feb 20, 2026
@wconstab
wconstab deleted the gh/wconstab/535/head branch February 20, 2026 02:34
sandy-gags pushed a commit to sandy-gags/pytorch that referenced this pull request Mar 12, 2026
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.

1 participant