Skip to content

Fix VibeVoice streaming ASR source resolution - #739

Merged
titaiwangms merged 3 commits into
mainfrom
fix/vibevoice-asr-source-resolution
Sep 17, 2026
Merged

titaiwangms merged 3 commits into
mainfrom
fix/vibevoice-asr-source-resolution

Conversation

@titaiwangms

@titaiwangms titaiwangms commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • integrate both supported VibeVoice streaming ASR checkpoints into the shared fail-closed source resolver
  • pin config, processor, and weight sources to each checkpoint's verified revision
  • preserve module-specific weight preprocessing: only TTS layouts receive the checkpoint_layout argument
  • retain fail-closed rejection for unsupported BitNet and standalone acoustic-tokenizer checkpoints

Root cause

#723 was tested before #726 landed, although both changed VibeVoice source resolution. The combined main state classified the newly supported streaming ASR IDs as unsupported before their architecture-specific exporter could load the pinned config.

The fix does not bypass or weaken #726's resolver. It makes streaming ASR an explicit supported provenance route and removes the now-redundant exact-ID pinning branch from the Transformers builder.

Validation

  • python -m pytest src/mobius/integrations/transformers/_builder_test.py src/mobius/models/vibevoice_test.py -q --tb=short (60 passed, 1 skipped)
  • builder-level load_weights=True regression coverage verifies pinned config/weight revisions, the native ASR preprocessing signature, and emitted source metadata for both variants
  • targeted lintrunner checks: clean
  • revised lightweight correctness and risk reviews: PASS

Remove the two streaming ASR checkpoints from the stale unsupported VibeVoice collection list now that their architecture-specific exporter is registered. Keep fail-closed handling for BitNet and the standalone acoustic tokenizer.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: titaiwang <[email protected]>
@titaiwangms
titaiwangms requested review from a team and a lite review from Copilot September 17, 2026 17:14
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

🏗️ Architecture Diff

Comparing 99d3155b → 542f2f61

Model Sub-model Changes Status

No architecture changes detected. ✅


Legend: ⚪ No change · 🔵 Minor (attrs/inits) · 🟡 Moderate (nodes added/removed) · 🔴 Major (interface changed)

@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Performance Comparison

Comparing 99d3155b → 542f2f61

Model Metric Baseline Current Delta
bert (feature-extraction) model_size_bytes 359 KB 359 KB +0.0% ⚪
bert (feature-extraction) num_nodes 68 68 +0.0% ⚪
falcon model_size_bytes 364 KB 364 KB +0.0% ⚪
falcon num_nodes 66 66 +0.0% ⚪
gemma2 model_size_bytes 428 KB 428 KB +0.0% ⚪
gemma2 num_nodes 105 105 +0.0% ⚪
gpt2 model_size_bytes 324 KB 324 KB +0.0% ⚪
gpt2 num_nodes 54 54 +0.0% ⚪
llama model_size_bytes 425 KB 425 KB +0.0% ⚪
llama num_nodes 60 60 +0.0% ⚪
llama (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
llama (static-cache) num_nodes 56 56 +0.0% ⚪
mamba (ssm-text-generation) model_size_bytes 296 KB 296 KB +0.0% ⚪
mamba (ssm-text-generation) num_nodes 94 94 +0.0% ⚪
phi3 model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 num_nodes 58 58 +0.0% ⚪
phi3 (static-cache) model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 (static-cache) num_nodes 54 54 +0.0% ⚪
qwen2 model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 num_nodes 60 60 +0.0% ⚪
qwen2 (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 (static-cache) num_nodes 56 56 +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) model_size_bytes 506 KB 506 KB +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) num_nodes 265 265 +0.0% ⚪
qwen3_5_text (hybrid-text-generation) model_size_bytes 458 KB 458 KB +0.0% ⚪
qwen3_5_text (hybrid-text-generation) num_nodes 127 127 +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) model_size_bytes 977 KB 977 KB +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) num_nodes 450 450 +0.0% ⚪
t5 (seq2seq) model_size_bytes 836 KB 836 KB +0.0% ⚪
t5 (seq2seq) num_nodes 176 176 +0.0% ⚪
whisper (speech-to-text) model_size_bytes 1008 KB 1008 KB +0.0% ⚪
whisper (speech-to-text) num_nodes 128 128 +0.0% ⚪

No performance regressions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Mixed-case streaming IDs can bypass the verified pinned revision lookup.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This pull request re-enables supported VibeVoice streaming ASR checkpoints while preserving rejection of unsupported variants.

Changes:

  • Removes supported streaming IDs from the fail-closed collection.
  • Retains rejection for unsupported checkpoints.
  • Updates related test coverage.
File summaries
File Summary
src/mobius/models/vibevoice.py Allows streaming IDs, but mixed-case IDs do not use the verified pinned revision.
src/mobius/integrations/transformers/_builder_test.py Updates fail-closed coverage; mixed-case regression coverage is still needed.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/mobius/models/vibevoice.py Resolved
Resolve both supported VibeVoice streaming ASR checkpoints through the shared fail-closed source resolver. Pin config, processor, and weights to the verified revision while preserving the module-specific weight preprocessing interface.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: titaiwang <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The corrected streaming-ASR preprocessing dispatch lacks builder-level regression coverage.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Cover the complete builder path for both pinned streaming ASR checkpoints, including weight download revision, native preprocessing signature, and emitted source metadata.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: titaiwang <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The source-resolution fix is complete and covered by targeted regression tests.

Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@titaiwangms
titaiwangms enabled auto-merge (squash) September 17, 2026 18:07
@titaiwangms
titaiwangms merged commit 45a477d into main Sep 17, 2026
23 of 26 checks passed
@titaiwangms
titaiwangms deleted the fix/vibevoice-asr-source-resolution branch September 17, 2026 18:08
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.

3 participants