M5-TTS integration — native GGUF TTS architecture (completed, PR #5)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 8/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- audio-video-rtc, machine-learning
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 35
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của RapidAI/RapidSpeech.cpp
-
release package missed rs-asr-online — True chunked streaming ASR (X-ASR; mic or WAV, live partials)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
合成音频只有"哦"的内容Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
RapidAI/RapidSpeech.cpp#3 · 4 bình luận ·
Tất cả issue của RapidAI/RapidSpeech.cpp
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
lem-project/lem#2525 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
jaff-chemistry/jaff#231 ·
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
389ds/389-ds-base#8251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digitsCó thể đã có người làm @RUSHIT305 đã nhận hôm nay. Đang mởbug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/clickhouse-cpp#645 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày