Repository navigation
new asr model: parakeet_tdt: add Underdog Bark 3.0 Pro English ASR - #1130
Conversation
|
Pushed the validated follow-up in 889e3161. The first post and validation documentation now contain the updated results. The CPU graph was retaining large temporary backing buffers after view nodes were pruned before allocation. The Bark-only CPU policy now preserves those lifetime boundaries and releases the one-shot position-projection producer after copying its outputs. No shared optimizer implementation or backend/kernel behavior was changed.
Q8 now retains the decoder, encoder-to-joint projection and output head at their exact source BF16 values. Conversion verifies those protected values are losslessly representable. This also makes the package 7,227,056 bytes smaller, since some LSTM tensors previously remained F32. Encoder quantization remains approximate; the exact matches here are validation results, not a universal accuracy guarantee. New opt-in native controls: offline Silero VAD with a prefix per independent speech span and corrected absolute timestamps; hotword lists, pronunciation variants and HTTP/streaming prompts. Silence, token budgets and disabled-bias controls are covered. Malformed options return HTTP 400 and subsequent valid requests succeed. These are native extensions rather than features of the publisher's original runner. Validation: 81/81 original-reference transcript/timestamp checks; 66 server checks across CPU/CUDA/Vulkan; exact complete five-minute transcripts for CPU F32/Q8 and CUDA/Vulkan F32/BF16/Q8. Focused CTests, five Bark converter checks, existing Parakeet regressions, Phonon checks and catalog sync pass. The allocation regression measures the old layout without allocating it, then executes the corrected layout and checks exact values. English-only support and buffered rather than native cache-aware streaming remain checkpoint limitations. Full-context memory still grows with recording length. Fresh GitHub CI is running; the results above are the completed local runtime checks. |
|
Implemented safe reuse of streaming audio preprocessing. Five-minute recording, Q8, median of five runs with matching thread settings:
Quality: 81/81 streaming comparisons retained identical text and word timestamps across CPU/CUDA/Vulkan and F32/BF16/Q8. All 66 server checks and 10 focused CTests passed. |
|
@mirek190 Thanks! PR merged. |
Adds Underdog Bark 3.0 Pro as an experimental English ASR variant of the existing
parakeet_tdtcommunity family. The pinned converter applies the input-projection/BatchNorm compatibility transforms and produces self-contained F32, BF16 and protected mixed Q8_0 GGUFs. The model-local adapter preserves the publisher's 250 ms prefix and returns timestamps on the original recording timeline, including independent VAD speech spans.The packages embed tokenizer/configs, model spec v1, source/conversion provenance, NOTICE and the full CC-BY-4.0 license. CLI, legacy HTTP and buffered streaming reuse the existing Parakeet runtime. Full context is the default, matching the publisher. No shared framework, graph-optimizer implementation, backend/kernel or parallel-slot changes are included; stock Parakeet and Phonon paths are preserved. Downloads remain manual conversion, without advertising unpublished model-manager packages.
Follow-up fixes now included
decoder.*,encoder_projector.*andjoint.head.*at their exact source BF16 values. The converter verifies that this storage is lossless for those tensors. The full test recording now matches the F32 reference exactly on CPU/CUDA/Vulkan. Q8 is still approximate for the quantized encoder.Five-minute CPU full-context memory
The graph buffer and total process RAM are separate measurements. CPU single-request processing was 48.986 s F32 and 62.621 s protected Q8, including full-graph creation after a short warmup. CPU timing varied; this is a CPU memory/quality fix, not a CPU speedup claim.
Complete five-minute recording versus original PyTorch on RTX 3090
Same 299.99375 s mono 16 kHz input and eight host threads. GPU times exclude model loading/file I/O, include preprocessing/generation/text decoding, and are the median of the last two of three full runs after a short warmup. The original checkpoint runs in Transformers 5.19.0 / PyTorch 2.8.0; the publisher's unmodified CUDA/BF16 runner was also executed and matched the original-reference harness. Native figures below are from the follow-up build.
All six native GPU results now match the original F32 transcript exactly, including punctuation and case. The native CPU F32 and protected-Q8 whole-recording runs do too. Native CUDA F32 takes about 64.7% less processing time (2.84x throughput) than the original F32 baseline on this input.
VRAM is sampled device-total usage minus each pre-process baseline, including model/workspace/backend caches. Native BF16/Q8 labels describe storage, not the same activation arithmetic as PyTorch BF16. Native BF16 uses more VRAM than original PyTorch BF16. These are measurements on one recording/machine, not corpus-level accuracy or performance guarantees.
The new Q8 file is 908,687,328 bytes, down from 915,914,384 bytes (7,227,056 bytes smaller), because some LSTM tensors previously remained F32 in the generic conversion. Reconvert existing GGUFs for the updated embedded feature metadata and protected Q8 profile.
Validation performed
Reproduce (GPU build; initialize your compiler and CUDA/Vulkan SDK environment first):
The model guide contains pinned download/conversion commands, standalone model paths and CLI/server examples. The validation record and original-runner comparison contain exact run commands, fixture details, artifact paths, package hashes and timing/memory methodology. The original reference/timing helper and native parity harness are included under
tests/parakeet_tdt/.Remaining limits