feat(vlm): add Gemma3n audio reference path (#875)#883
Merged
Conversation
Implement the pinned waveform frontend, isolated Conformer encoder, hard/soft audio projection, fixed-token prompt merge, and CLI/server integration. Match the maintained processor left-padding contract, checkpoint convolution dtype boundary, and finite attention-mask minimum so deterministic ASR remains token-exact. Validate official weight layouts, preserve request-scoped per-layer inputs, and cover processor, encoder, merge, CLI, and OpenAI streaming behavior with CUDA regressions. Refs #875
inureyes
force-pushed
the
feature/issue-875-gemma3n-audio
branch
from
July 23, 2026 04:02
1ca0e13 to
920b6c1
Compare
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
Validation
181beb3ba4c47098ed8cbc97ee250d1d45ae0107; pinned checkpoint revision:af70430f84ea4d7ac191aaa2bd8e14d2a5e8f6ee.Chapter 1. Mrs. Rachel Lind is surprised.\n\nMrs. Rachel Lind.[DONE].cargo test --release --features cuda gemma3n --lib -- --test-threads=1: 34 passed, 0 failed, 14 ignored.cargo test --release --features cuda gemma3n --lib -- --ignored --test-threads=1: 14 passed, 0 failed, including request-scoped per-layer-input isolation tests.cargo fmt --all -- --check,cargo check --release --all-targets --features cuda, andcargo clippy --release --lib --bins --tests --features cuda -- -D warningspassed with Rust 1.93.1.print_literalwarning inexamples/qmm_gemv_microbench.rsthat is unchanged fromorigin/main; all issue-attributable library, binary, and test targets are clean.Closes #875