Skip to content

audiocpp_server qwen3_asr : Inconsistent with actual behavior ? #718

Closed

Description

@juntaosun

https://github.com/0xShug0/audio.cpp/blob/main/docs/models/qwen3.md

audiocpp_cli:

audiocpp_cli --task asr --family qwen3_asr --model models/Qwen3-ASR-0.6B-GGUF/qwen3-asr-0.6b-q8_0.gguf --backend cuda --audio assets/resources/sample_16k.wav --language English --text "" --text-out transcript.txt --words-out words.json --session-option qwen3_asr.forced_aligner_model_path=models/Qwen3-ForcedAligner-0.6B-GGUF/qwen3-forced-aligner-0.6b-q8_0.gguf 

Session Options (use with --session-option)
qwen3_asr.forced_aligner_model_path = Qwen3 Forced Aligner model used to generate word timestamps after ASR.

server.json

    {
      "id": "qwen3-asr",
      "family": "qwen3_asr",
      "path": "models/Qwen3-ASR-0.6B-GGUF",
      "task": "asr",
      "mode": "offline",
      "session_options": {
        "language": "english",
        "qwen3_asr.forced_aligner_model_path": "models/Qwen3-ForcedAligner-0.6B-GGUF"
      }
    }

audiocpp_server :
The actual behavior of audiocpp_server is inconsistent; the aforementioned parameters fail to achieve ASR and timestamp alignment within audiocpp_server.

Is qwen3_asr.forced_aligner_model_path not working?
The documentation also lacks relevant instructions on how to use it. I am seeking assistance.
I expect that a single call to qwen3-asr should return the text, including the aligned text and timestamp.

Activity

  1. 0xShug0 commented on Sep 28, 2026

    @0xShug0
    Owner

    @juntaosun Thanks for reporting the doc gap. There are some issues with your config, and I will update the doc to add more info.

    • The aligner path alone does not enable timestamps. Set return_timestamps=true in default_request_options.
    • Use /v1/audio/transcriptions/details; the ordinary endpoint deliberately omits timestamps.
    • Default timestamp chunking requires a valid Silero VAD path.
    • language belongs in request options, not session options.

    The correct config is:

    {
      "host": "127.0.0.1",
      "port": 7788,
      "backend": "cuda",
      "cors_origins": "*",
      "lazy_load": true,
      "models": [
        {
          "id": "qwen3-asr",
          "family": "qwen3_asr",
          "path": "/absolute/path/to/qwen3-asr-0.6b-q8_0.gguf",
          "task": "asr",
          "mode": "offline",
          "session_options": {
            "qwen3_asr.forced_aligner_model_path": "/absolute/path/to/qwen3-forced-aligner-0.6b-q8_0.gguf",
            "qwen3_asr.vad_model_path": "/absolute/path/to/audio.cpp/assets/framework/models/silero_vad"
          },
          "default_request_options": {
            "language": "English",
            "return_timestamps": true
          }
        }
      ]
    }
    

    Call:

    curl http://127.0.0.1:7788/v1/audio/transcriptions/details \
      -F model=qwen3-asr \
      -F [email protected]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions