GROOT N1.7 RTX full graph coverage: 16.61 ms E2E - #160
Draft
LiangSu8899 wants to merge 1 commit into
Draft
Conversation
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.
Summary
infer(..., aux=fresh_aux)to run the backbone graph followed by the existing action graph in one public E2E callinfer(...)behavior whenauxis omittedRoot cause
The RTX action head already replayed a CUDA Graph covering cross-KV refresh, state encoding, all diffusion steps, and action decoding. The FP8 backbone still rebuilt its Python launch sequence for every observation, despite the Thor FP8 frontend already having the required persistent-buffer backbone graph pattern.
This change ports that established pattern to RTX. It does not change CUDA kernels, CMake targets, quantization, or action-head graph behavior.
RTX 5090 E2E validation
Measured with PyTorch 2.11.0, CUDA 13.0, the production SM120 FP8 frontend, a real two-view fixture, fixed initial noise, and 30 steady-state iterations.
The timing boundary is one fresh model-input bundle through backbone, action head, all four diffusion steps, decode, final normalized action, and CUDA synchronization.
Output validation:
(1, 40, 132)0.01.0Checks
75 passed, 84 skippedacross the new graph tests and related GROOT N1.7/load-model testscompileallgit diff --check