M5-TTS integration — native GGUF TTS architecture (completed, PR #5)
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 8/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
調査の方向性
This is a completion report for work already landed in PR #5, not a task to pick up; read PR #5 first and confirm whether anything remains open. If it does, the entry points are scripts/convert_m5tts_to_gguf.py for the GGUF conversion and rapidspeech/src/arch/m5tts.cpp with m5tts_lm.cpp, m5tts_codec.cpp and m5tts_graph.h for the ISpeechModel implementation, plus the C API whitelist entry "m5-tts". The only follow-ups named are the F16 im2col quantization noise in the codec encoder and missing streaming TTS / HTTP reference-audio endpoints; "done" needs a maintainer to scope one of those first.
索引モデルが issue の本文から書いたものです。
説明
Summary
Integration of ASLP-lab/M5-TTS — a 50M-param multilingual TTS with multi-token prediction (16 codebooks @ 12.5 fps) and the Qwen3-TTS 12Hz codec — as a native GGUF architecture for RapidSpeech.cpp.
PR: #5
What was done
scripts/convert_m5tts_to_gguf.py: converts the M5-TTS checkpoint + Qwen 12Hz codec into a single GGUF (LM weights + codec encoder + codec decoder + llama3 byte-level BPE tokenizer + precomputed RoPE tables)rapidspeech/src/arch/m5tts.{h,cpp}+m5tts_lm.cpp+m5tts_codec.cpp+m5tts_graph.h: full inference architecture implementing theISpeechModelinterface- C API whitelist:
"m5-tts"added to the TTS architecture list
Pipeline
text (+ref audio) → wetext TN → llama3 BPE
→ backbone (8L llama-30M) prefill [text ‖ codec-encoded prompt]
→ frame loop: backbone step → MTP depth decoder (5L llama-20M) × 16 codebooks
→ Qwen3-TTS 12Hz codec decoder → 24 kHz PCM
Verification
- x-asr round-trip on target text: exact match ("你好,欢迎使用我们的语音合成模型。")
- RTF: 1.46 (CPU 8-thread, WSL2)
- GGUF models available at: yoleen/M5-TTS-GGUF
Notes
- The codec encoder uses F16 im2col (ggml limitation) which introduces ~0.1% quantization noise in reference audio encoding, degrading voice-cloning prompt quality slightly
- Streaming TTS and HTTP server reference-audio endpoints are potential follow-up work
- 主要言語
- C
- スター
- 35
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RapidAI/RapidSpeech.cpp のほかの issue
-
release package missed rs-asr-online — True chunked streaming ASR (X-ASR; mic or WAV, live partials)オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
合成音频只有"哦"的内容オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RapidAI/RapidSpeech.cpp#3 · コメント 4 件 ·
RapidAI/RapidSpeech.cpp の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
lem-project/lem#2525 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jaff-chemistry/jaff#231 ·
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
389ds/389-ds-base#8251 ·
メンテナーはふだん 1 日以内に返信
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digits対応中かも @RUSHIT305 が今日担当しました。 オープンbug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/clickhouse-cpp#645 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信