TECHNOLOGY

Where should Qwen3-ASR receive transcription context in llama.cpp?

In this article
THE QUICK TAKE

Verify that instructions enter the system turn and the user turn carries only audio.

The November 30 llama.cpp b12864 prerelease fixes how the runtime places Qwen3-ASR’s transcription prompt. The prompt now enters the system turn, leaving the user turn audio-only. Upstream adds tests for the layout and language handling. Runtime input preparation can change results even with the same model weights.

Inspect the serialized input

A request can contain the intended language at the application level while the adapter puts it in the wrong role. A fluent transcript alone also cannot prove that a supplied language setting reached the intended part of the input. Record the template revision together with the runtime and checkpoint. This helps teams compare installations that use identical weights but different request paths.

Test comparable audio

Reuse the same audio bytes with and without context. The change notes that Qwen3-ASR detects language from audio, so a supplied language field does not become user-turn text. Check for prompt text echoed into the transcript. Include a clip where the language instruction matters and a clip with no additional context. Check the serialized turn and compare normalized transcripts against a reviewed reference. A recording with more than one language can expose a difference that a clean monolingual sample hides.

Require both input and output checks

Approve the update after the message structure and representative transcript quality pass. Measure processing speed independently. Save the fixtures and the settings for both versions so another operator can reproduce the difference.

Include a prompt-echo check

A practical fixture is an audio clip in which none of the supplied context appears verbatim. Give it a short, innocuous contextual phrase and check the output and the structured request separately. Match the phrase after normalization so minor punctuation changes do not conceal an echo. Compare a second clip where one term also appears in the recording, because a valid transcription should retain spoken words. The pull request explains that the realtime path is outside this change. If your service also supports realtime audio, document and test it as a separate adapter.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles