M5-TTS integration — native GGUF TTS architecture (completed, PR #5)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- audio-video-rtc, machine-learning
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C
- Stelle
- 35
- Fork
- 5
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RapidAI/RapidSpeech.cpp
-
release package missed rs-asr-online — True chunked streaming ASR (X-ASR; mic or WAV, live partials)Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
合成音频只有"哦"的内容Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
RapidAI/RapidSpeech.cpp#3 · 4 commenti ·
Tutte le issue di RapidAI/RapidSpeech.cpp
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
lem-project/lem#2525 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaff-chemistry/jaff#231 ·
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
389ds/389-ds-base#8251 ·
I maintainer di solito rispondono entro 1 giorno
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digitsForse già presa @RUSHIT305 l’ha presa oggi. Apertabug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/clickhouse-cpp#645 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno