M5-TTS integration — native GGUF TTS architecture (completed, PR #5)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 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 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 天内回复