Skip to content

new asr model: parakeet_tdt: add standard Underdog Bark 3.0 English ASR - #1132

Merged
0xShug0 merged 6 commits into
0xShug0:mainfrom
mirek190:agent/underdog-bark3-standard-20261029
Oct 29, 2026
Merged

0xShug0 merged 6 commits into
0xShug0:mainfrom
mirek190:agent/underdog-bark3-standard-20261029

Conversation

@mirek190

@mirek190 mirek190 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Adds standard Underdog Bark 3.0 as a separate English ASR variant of the existing parakeet_tdt community family. The pinned 163 MB compressed checkpoint is decoded during package preparation for native GGUF inference using existing model/GGML operations; no Python or ANS dependency remains at inference time.

Based on current main, including merged Pro (#1130) and Plus (#1131) support. Standard reuses the existing prefix/timestamps, CPU graph-allocation policy, offline VAD/hotwords and buffered frontend cache. No shared framework, backend/kernel or multi-slot behavior changes. Direct loading of original compressed .bark files remains in the independent #1133; this PR is the Standard GGUF model port.

One guide and one server example cover Standard, Plus and Pro. The shared guide contains variant/source/precision tables and common build/conversion/CLI/server/reference instructions. The single lazy-loaded example has offline and buffered-streaming entries for each variant, retains Pro's bark3 / bark3-stream IDs, and keeps at most one model loaded. The two redundant per-variant guides and configs are removed; README, family UI docs, conversion metadata and validation links point to the shared guide. Per-variant measurement records remain available.

The packed converter/reference harness accepts immutable checkpoint profiles, preserving Plus defaults and rejecting cross-model staging. All 699 decoded inference tensors match the unmodified official loader exactly. Checkpoint/base sidecar hashes are verified; tokenizer/configs, English model spec v1, tensor/conversion provenance, NOTICE and full CC-BY-4.0 license are embedded. README, license table, guide, server example, converter/profile tests and original-reference harness are included. No unpublished downloads are advertised.

Packages (the compressed download is not the expanded RAM/VRAM footprint):

Storage File size (MiB) Weight fidelity
f32 2393.48 Preserves staged values
mixed-f16 1241.35 Preserves staged values
q8_0 1129.00 Rounded derivative
bf16 1240.04 Rounded derivative

Mixed-F16 retains non-representable scale products and normalization/projection in F32. Q8 protects feed-forward/pointwise tensors with exact F16 and uses Q8_0 for eligible attention matrices. Standard BF16 retains the decoder/encoder-to-joint projection/output head in F32; this fixed the initial profile's capitalization change without changing Plus's BF16 default. Q8/BF16 are rounded derivatives.

Five-minute recording: offline full-context time and sampled memory

Original PyTorch CUDA/FP32 takes 2.572 s on the same 299.99375 s input.

Backend GGUF Time Peak extra VRAM incl. model (GiB) Peak RSS (GiB) Text vs original FP32
CPU f32 33.646 s 0.00 5.17 Exact
CPU mixed-f16 34.637 s 0.00 4.56 Exact
CPU q8_0 33.664 s 0.00 4.52 Exact
CPU bf16 34.305 s 0.00 4.56 Exact
CUDA f32 0.801 s 5.90 2.95 Exact
CUDA mixed-f16 0.769 s 5.06 2.15 Exact
CUDA q8_0 0.780 s 4.64 2.11 Exact
CUDA bf16 0.776 s 5.07 2.18 Exact
VULKAN f32 0.885 s 5.70 2.91 Exact
VULKAN mixed-f16 0.888 s 4.70 2.10 Exact
VULKAN q8_0 0.900 s 4.68 2.03 Exact
VULKAN bf16 0.934 s 4.60 2.12 Exact

All 12 full-recording results match the original transcript exactly, including punctuation/case; timestamps stay inside the recording. GPU times are medians of the last two of three full requests after short warmup; CPU is one full request including graph build. Times exclude model load/file I/O and include preprocessing/decoding. NVML/process RSS sampled every 100 ms; memory includes model, temporaries and pools. Windows 11 / RTX 3090 24 GiB / eight inference threads; OMP_NUM_THREADS=8, OMP_WAIT_POLICY=PASSIVE. These fixture matches do not establish corpus WER or universal rounded parity.

Latest main-merge/config checks: updated onto main aeb7bcf1 after Plus merged. CPU-only and combined CUDA/Vulkan builds, ten focused CTest executions, 26 converter tests and catalog checks pass. All 54 Standard/Plus repeated-request comparisons preserve text and word timestamps. All 18 routes in the shared three-variant example pass across CPU/CUDA/Vulkan (offline plus buffered streaming), including Pro's original IDs. No new performance claim is made.

Validation completed locally

  • CPU-only and combined CUDA/Vulkan Release builds pass.
  • 108/108 original-reference checks: CPU/CUDA/Vulkan x F32/mixed-F16/protected Q8/protected BF16 x six clips plus short/long/short reuse. Exact text and bounded timestamps.
  • 66/66 HTTP/SSE checks: reference clips, vocabulary-bias controls, VAD speech/silence/token budget, HTTP 400/error recovery, prompted/unbiased streaming.
  • Ten additional repeated requests per backend: device VRAM range 0 MiB; RSS ranges (MiB): CPU 0.03 / CUDA 1.11 / VULKAN 1.28.
  • Ten focused CTests; three standard, five Plus, five Pro, thirteen Phonon converter tests; catalog sync/self-tests; stock Parakeet streaming/reset regression pass.

Source behavior: the original checkpoint emits Yeah. on the one-second silence test. Unfiltered native inference preserves it; opt-in VAD returns empty text for that input. This is disclosed rather than presented as hallucination-free silence handling.

English only. Full-context attention grows with duration; buffered streaming/VAD/windowing change context and can change recognition. VAD is offline-only. Metal/HIP, corpus WER, native cache-aware streaming and packed low-bit GPU kernels are unvalidated or out of scope. Mixed-F16 is the recommended fidelity package.

Build/conversion/CLI/server/reference guide · Validation, hashes and artifact paths

@mirek190 mirek190 changed the title parakeet_tdt: add standard Underdog Bark 3.0 ASR new asr model: parakeet_tdt: add standard Underdog Bark 3.0 English ASR Oct 29, 2026
@mirek190
mirek190 marked this pull request as ready for review October 29, 2026 17:09
@mirek190
mirek190 marked this pull request as draft October 29, 2026 17:25
@mirek190 mirek190 changed the title new asr model: parakeet_tdt: add standard Underdog Bark 3.0 English ASR new asr model: parakeet_tdt: add standard Bark 3.0 and native .bark loading Oct 29, 2026
@mirek190
mirek190 force-pushed the agent/underdog-bark3-standard-20261029 branch from 2bcbca3 to 86021df Compare October 29, 2026 18:55
@mirek190 mirek190 changed the title new asr model: parakeet_tdt: add standard Bark 3.0 and native .bark loading new asr model: parakeet_tdt: add standard Underdog Bark 3.0 English ASR Oct 29, 2026
@mirek190
mirek190 marked this pull request as ready for review October 29, 2026 20:08
@mirek190

Copy link
Copy Markdown
Contributor Author

ready

@0xShug0

0xShug0 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

@mirek190 1131 Merged. Please rebase this PR.

@0xShug0

0xShug0 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Also can you merge the doc and example config in this PR? Just one underdog bark doc/example config with different varaints.

@mirek190

Copy link
Copy Markdown
Contributor Author

sure

@0xShug0 0xShug0 added the ready label Oct 29, 2026
@0xShug0
0xShug0 merged commit 5951ca4 into 0xShug0:main Oct 29, 2026
7 checks passed
@0xShug0

0xShug0 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

@mirek190 Thanks! PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants