Repository navigation
[precompile] Name the graph in the serve-time recompile warning - #194549
Closed
bobrenjc93 wants to merge 4 commits into
Closed
bobrenjc93 wants to merge 4 commits into
bobrenjc93 wants to merge 4 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/194549
Note: Links to docs will display an error until the docs builds have been completed. ❌ 12 New Failures, 1 Unrelated FailureAs of commit 8f7c71d with merge base 1b4e490 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced Aug 23, 2026
Closed
Closed
This was referenced Aug 23, 2026
Closed
This was referenced Aug 24, 2026
Contributor
Author
|
@bobrenjc93 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This was referenced Aug 26, 2026
Contributor
Author
|
@bobrenjc93 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This was referenced Aug 28, 2026
Contributor
Author
|
@bobrenjc93 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
Contributor
Author
|
@bobrenjc93 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
Author
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):
An installed artifact answers a guard miss by compiling, and says so. What it
did not say was WHICH graph. It named
type(gm._orig_mod).__name__, which isthe same string for every graph a model produces, so a capture that recompiled
nine graphs printed "GraphModule" nine times. A reader could tell that coverage
was leaking but not where, and on a model whose submodule calls each break the
graph -- a resume chain, where every continuation is a separate compile -- that
is the whole question.
Three things identify a graph from inside a backend and all are already there.
The compile id keys tlparse. The backend id keys the artifact, so a warning can
be matched against summary().backend_graphs. And the first node carrying a
stack trace names the user line, which for a continuation is the resume frame
Dynamo minted --
torch_dynamo_resume_in_forward_at_86-- which is the onlyone of the three that distinguishes one break in a chain from the next by
something a reader recognises.
Test Plan:
One new test serves an uncovered input through an installed artifact whose
entry breaks its graph twice, and asserts every warning carries all three
identifiers and that no two warnings are identical -- the last being the
property that was missing, since nine copies of one string is what made the
old message useless.
Authored with an AI assistant.
Differential Revision: D117282530