M5-TTS integration — native GGUF TTS architecture (completed, PR #5)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C
- Estrellas
- 35
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RapidAI/RapidSpeech.cpp
-
release package missed rs-asr-online — True chunked streaming ASR (X-ASR; mic or WAV, live partials)Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
合成音频只有"哦"的内容Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
RapidAI/RapidSpeech.cpp#3 · 4 comentarios ·
Todos los issues de RapidAI/RapidSpeech.cpp
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
lem-project/lem#2525 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
jaff-chemistry/jaff#231 ·
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
389ds/389-ds-base#8251 ·
Los mantenedores suelen responder en 1 día
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digitsPosiblemente ocupada @RUSHIT305 la tomó hoy. Abiertobug data-types
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/clickhouse-cpp#645 · 1 comentario ·
Los mantenedores suelen responder en 1 día