Repository navigation
Use PreparedGraph build contexts in Nemotron Transcribe and Ming3 Audio - #1269
Merged
Merged
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.
Nemotron Transcribe and Ming3 Audio already own their transient graphs through
PreparedGraph, but several builders reconstructModuleBuildContextfrom individual fields. Derive these contexts from their graph owner so future execution settings propagate consistently.Validation
CUDA on RTX 5090, Debug build, eight threads, published mixed Q4 expert packages. Baseline: main
5c3d0d45c. Requests ran sequentially in A→B→B→A order, with an unrelated short warmup per session. Offload used eight expert-cache slots and unpinned host storage.RTF aggregates matched post-warmup short/28-second ASR requests or spoken responses. Peak VRAM also includes the separate 167-second lifecycle requests. Nemotron's apparent full-GPU gain includes first-use CTC setup variation and is not claimed as a speedup. A shape-warmed Nemotron offload comparison measured 3,504.525 → 3,502.661 ms (−0.05%), with identical peak VRAM; the initial small slowdown did not persist.
Existing behavior: resident Nemotron can change one word's capitalization and a speaker-confidence value on repeated input after an intervening diarization request. This occurs on both baseline and refactor; corresponding A/B outputs remain identical.
Execution validation covers CUDA only. The Debug build and
git diff --checkpassed.