Skip to content

Separate Parakeet, Phonon-2, and Bark ASR family routing - #1189

Merged
0xShug0 merged 1 commit into
mainfrom
refactor/parakeet-model-families
Nov 3, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
refactor/parakeet-model-families

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Parakeet currently selects Phonon-2 and Underdog Bark behavior through checkpoint variant checks spread across the loader, sessions, and encoder. This gives different models one public family and contract.

This change introduces dedicated phonon2_asr and underdog_bark3 families while keeping their implementation in the Parakeet source tree. A model-local registration table selects session factories, predictor construction, frontend behavior, and prefix/timestamp policy. Shared runtimes no longer branch on checkpoint variant names. The predictor interface preserves the existing framework LSTM computation and provides an extension point for another predictor without adding family checks to the decoder.

  • --family parakeet_tdt retains ordinary Parakeet behavior.
  • --family phonon2_asr selects Phonon-2, including native hotwords and phrase-based streaming.
  • --family underdog_bark3 selects Bark behavior; --model chooses Standard, Plus, or Pro weights.
  • Session options use the selected family's namespace. Specs, converters, model tables, and usage documentation are updated.
  • Composite builds accept all three names and compile the shared target once. Selecting any of these names includes all three loaders.

Checkpoint variant remains descriptive metadata. Older Phonon/Bark GGUFs must have their embedded specs refreshed to the matching family; no legacy variant-routing fallback is retained. No shared framework, GGML, or server implementation changes are included.

Validation against main baseline 7108a6e8:

  • Parakeet, Phonon-2 mixed-Q8, and Bark Standard mixed-F16: CUDA offline request sequences, CUDA streaming, CPU offline, and Vulkan offline. All 12 comparisons produced identical transcripts, word timestamps, and streaming partials. Offline sequences exercised different input lengths, repeated requests, and hotwords where supported.
  • Metadata-only Phonon/Bark GGUF refreshes preserved all 699 tensor hashes, shapes, and types in each package.
  • Family-contract and Bark frontend/lifecycle tests passed. Both dedicated session-option namespaces worked, and misspelled request options were rejected.
  • Debug builds and changed Python converter syntax checks passed. CUDA validation used --no-relax linking to avoid a toolchain misrelocation; no linker workaround is included in this change.

Bark Plus/Pro runtime execution was not tested. The subsequent rebase onto current main was conflict-free; the model runs above preceded that rebase.

@0xShug0
0xShug0 merged commit b1accdc into main Nov 3, 2026
7 checks passed
@0xShug0
0xShug0 deleted the refactor/parakeet-model-families branch November 3, 2026 16:51
timoncool added a commit to timoncool/audio.cpp that referenced this pull request Nov 11, 2026
…(upstream 0xShug0#1189 added ParakeetTDTAssets::implementation; left null, the server crashed on the first transcription)
timoncool added a commit to timoncool/audio.cpp that referenced this pull request Nov 11, 2026
… (bias_ih + bias_hh as one bias_ih; bias_hh zero when absent), as the old weights.cpp did before upstream 0xShug0#1189 moved the LSTM into predictor.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant