Repository navigation
Minor Parakeet graph and resource lifecycle cleanup - #1155
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.
Summary
Minor cleanup of Parakeet encoder/decoder graph allocations and resource lifetimes. Changes are confined to the model implementation; no framework, GGML, model-spec or precision changes.
Validation
Compared with main (
ad14f0c4) using the published Parakeet-TDT 0.6B v3 Q8 and F16 packages, a Debug build, eight CPU threads, and sequential runs. The request sequence is a 3.5-second warmup, 14-second input, 28-second input, 178-second input, then repeated 14- and 178-second inputs. No evaluation-dataset clips or artificial generation caps were used.CUDA, Vulkan and CPU transcripts and word timestamps match main exactly across both packages and the complete sequence (36 requests total). Direct encoder-tensor parity was not measured.
Preliminary measurements
RTF is the mean of the two 178-second request wall times divided by audio duration, including normal graph rebuilding. Peak VRAM covers model loading and the full request sequence on an RTX 5090.
These are preliminary observations, not a general speedup claim. Baseline VRAM sampling was 100 ms versus 20 ms for these PR runs, and CUDA allocation peaks vary between runs. In particular, zero peak-VRAM regression has not been established for CUDA Q8. Metal has not been run.