Skip to content

docs(r2t2): accuracy, speed and memory with the NPU audio encoder and prompt prefill - #1148

Merged
tawei-amd merged 1 commit into
mainfrom
docs/r2t2-npu-numbers
Nov 25, 2026
Merged

tawei-amd merged 1 commit into
mainfrom
docs/r2t2-npu-numbers

Conversation

@tawei-amd

Copy link
Copy Markdown
Collaborator

What

Benchmark and model pages for r2t2:1.7b with the audio encoder and the prompt prefill on the NPU (#1146).

  • docs/docs/benchmarks/r2t2_results.md
    • Accuracy: full LibriSpeech test-clean (2620 utterances, 52.6k words). The BF16 original scores 2.22 % WER and FLM 2.30 % (+0.08, 95 % interval +0.02 … +0.15). Without utterances containing digits the two are 2.11 and 2.14.
    • The 180-recording English / Mandarin set was measured again: EN WER 2.89 / 2.81, ZH CER 8.96 / 9.30. Neither difference is significant.
    • Speed: encode + prefill takes 0.13 s (0–4 s audio) to 0.25 s (12–20 s); decoding runs at ~38 tok/s; end to end is ~0.11× real time. Streaming at 160 ms chunks runs at 0.88× real time, at 480 ms 0.37×.
    • Memory: 3.2 GB after load, 3.6 GB after the first request, 4.5 GB peak while streaming a 5.5 min recording.
  • docs/docs/models/r2t2.md: quantization line, streaming speed and memory table updated to match.

The numbers were measured on Linux (Ryzen AI 9 HX 370) with the CI-built library and xclbins from #1146. The CI build gives token-identical transcripts to the local build used for the full test-clean run: all 180 recordings, and every test-clean utterance compared so far (985 of 2620; the rest is still running). The Hugging Face and ModelScope cards carry the same numbers; the catalog update is #1147.

🤖 Generated with Claude Code

With #1146 the audio encoder and the prompt prefill of r2t2:1.7b run on
the NPU. Update the benchmark and model pages:

- accuracy: full LibriSpeech test-clean (2620 utterances), BF16 original
  2.22 % WER vs FLM 2.30 % (+0.08, 95 % interval +0.02 ... +0.15); the
  180-recording English / Mandarin set re-measured (EN 2.89 / 2.81,
  ZH 8.96 / 9.30, differences not significant)
- speed: encode + prefill 0.13 s (0-4 s) ... 0.25 s (12-20 s), decode
  ~38 tok/s; end to end ~0.11x real time; streaming 0.88 at 160 ms,
  0.37 at 480 ms chunks
- memory: 3.2 GB after load, 3.6 GB after the first request, 4.5 GB peak
  streaming a 5.5 min recording

Measured on Linux (Strix Point) with the CI-built library and xclbins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tawei-amd
tawei-amd merged commit 108e1f5 into main Nov 25, 2026
31 checks passed
@github-actions

Copy link
Copy Markdown
Security scan found no critical or high findings on lines changed by this pull request

View the security scan run for complete reports.

“New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta.

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