Run this model with HF Jobs
Run Roland2531/CosyVoice3-2512-RDNA-HIP on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Roland2531/CosyVoice3-2512-RDNA-HIP. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Roland2531/CosyVoice3-2512-RDNA-HIP on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Roland2531/CosyVoice3-2512-RDNA-HIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- CosyVoice
How to use Roland2531/CosyVoice3-2512-RDNA-HIP with CosyVoice:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Add prebuilt Windows x64 rdna_cosyvoice.exe (v1.0) and clean Model Card
Browse filesFiles changed (4)
- .gitattributes+1
- README.md+64-46
- SHA256SUMS.txt+1
- bin/rdna_cosyvoice.exeAdded+3
36 unmodified lines37383936 unmodified linesAP_BWE_24k48k_Q8I.rbwe filter=lfs diff=lfs merge=lfs -textCosyVoice3_RDNA_F16.rcv3 filter=lfs diff=lfs merge=lfs -textCosyVoice3_RDNA_Q8I.rcv3 filter=lfs diff=lfs merge=lfs -text36 unmodified lines3738394036 unmodified linesAP_BWE_24k48k_Q8I.rbwe filter=lfs diff=lfs merge=lfs -textCosyVoice3_RDNA_F16.rcv3 filter=lfs diff=lfs merge=lfs -textCosyVoice3_RDNA_Q8I.rcv3 filter=lfs diff=lfs merge=lfs -textbin/rdna_cosyvoice.exe filter=lfs diff=lfs merge=lfs -text
24 unmodified lines2526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980812 unmodified lines8485868788899091929394959697989910010110210310410510610710810911011111211311411511624 unmodified lineslibrary_name: rdna-cosyvoice---# CosyVoice3-2512 RDNA-HIP Standard Weights (`.rcv3` & `.rbwe`)Pre-converted standard weights for the native AMD **RDNA 4 / RDNA 3 HIP CosyVoice3-2512** inference engine (`rdna_cosyvoice.exe`), together with separate optional 24 kHz β 48 kHz **AP-BWE** neural bandwidth extension weights.- **Inference Engine Source Code & Build/Usage Docs (GitHub):** [ruina37520198-a11y/cosyvoice.cpp (`codex/aitable-v0.2.1-r2` β `rdna-hip/`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/codex/aitable-v0.2.1-r2/rdna-hip)- **Optimized `cosyvoice.cpp` Branch Root (GitHub):** [ruina37520198-a11y/cosyvoice.cpp (`codex/aitable-v0.2.1-r2`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/codex/aitable-v0.2.1-r2)> **Unofficial community conversion:** Converted from upstream **CosyVoice3-2512** (Apache-2.0) and **AP-BWE 24kβ48k** (MIT). Only standard base weights are hosted here (no private voice references or character LoRAs).---## Included Files & SHA-256 ChecksumsAll checksums are also provided in [`SHA256SUMS.txt`](SHA256SUMS.txt).| File | Role | Precision / Quantization | Size | License | SHA-256 ||---|---|---|---:|---|---|| `CosyVoice3_RDNA_F16.rcv3` | Main TTS (24 kHz) | Audio-Lossless `F16_F32` (FP16 LLM/DiT + native FP32 HiFT/F0/embeddings/norms/LM-head) | 1,512,917,952 bytes (1.41 GiB) | Apache-2.0 | `a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f` || `CosyVoice3_RDNA_Q8I.rcv3` | Main TTS (24 kHz) | Wave32-SoA `Q8I-G64` LLM & DiT linear layers + native FP32 HiFT/F0/embeddings/norms/LM-head | 1,004,440,512 bytes (957.9 MiB) | Apache-2.0 | `437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32` || `AP_BWE_24k48k_F16.rbwe` | Optional 24kβ48k BWE | `F16` ConvNeXt pwconv + FP32 pre/post/depthwise/norms | 68,720,644 bytes (65.5 MiB) | MIT | `dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653` || `AP_BWE_24k48k_Q8I.rbwe` | Optional 24kβ48k BWE | `Q8I-G64` ConvNeXt pwconv + FP32 pre/post/depthwise/norms | 45,127,684 bytes (43.0 MiB) | MIT | `237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881a` |**Which pair should I pick?**- **Recommended daily driver:** `CosyVoice3_RDNA_Q8I.rcv3` + `AP_BWE_24k48k_Q8I.rbwe` (~41% less weight VRAM, faster LLM/DiT throughput, >42 dB quantization SNR, native FP32 HiFT vocoder unchanged).- **Maximum reference fidelity:** `CosyVoice3_RDNA_F16.rcv3` + `AP_BWE_24k48k_F16.rbwe`.- `.rbwe` weights are **separate and optional** β omit `--bwe` for standard 24 kHz output.---## Hardware Verification Status| GPU Generation | Targets | Status ||---|---|---|| **RDNA 4** | `gfx1201` (AMD Radeon RX 9070) | **Real-hardware verified** (Windows 11 x64, ROCm HIP + rocBLAS, full regression + HTTP/CLI parity + invariant audit PASS) || **RDNA 4** | `gfx1200` | Compiled + ISA zero-spill audited (`72/72` kernels, `0` VGPR/SGPR spills) β **not hardware-run** || **RDNA 3** | `gfx1100`, `gfx1101`, `gfx1102`, `gfx1103` | Compiled + ISA zero-spill audited (`72/72` kernels, `0` VGPR/SGPR spills) β **not hardware-run** |---## Measured Performance & Quality (AMD Radeon RX 9070 `gfx1201`)### VRAM & Cold Load (24 kHz Base)| Model | Cold Load | Weight VRAM | Shared Scratch | Total Init VRAM ||---|---:|---:|---:|---:|| `CosyVoice3_RDNA_F16.rcv3` | 664.1 ms | 1,178.9 MB | 281.1 MB | 1,614.1 MB || `CosyVoice3_RDNA_Q8I.rcv3` | 890.1 ms | 694.0 MB | 281.1 MB | 1,129.1 MB |### Measured Throughput (24 kHz Suite)| Case | `F16` LLM tok/s | `F16` RTF | `Q8I` LLM tok/s | `Q8I` RTF ||---|---:|---:|---:|---:|| `zh_short` | 397.9 tok/s | 0.092 | 446.3 tok/s | 0.093 || `zh_medium` | 356.2 tok/s | 0.097 | 467.3 tok/s | 0.076 |2 unmodified lines| `zh_instruct_leak` | 380.9 tok/s | 0.117 | 548.5 tok/s | 0.077 || `zh_speed_120` (`speed=1.2`) | 439.4 tok/s | 0.101 | 558.7 tok/s | 0.093 |### Quantization & Reconstruction Quality- **DiT Mel SNR vs Pure FP32:** `50.87 dB` (`F16`), `42.93 dB` (`Q8I`) β compared to `33.71 dB` on the Vulkan F16 baseline.- **HiFT Vocoder SNR vs PyTorch FP32:** `105.07 dB` (decoder + iSTFT), `59.88 dB` (full E2E incl. F0 + SineGen), identical native FP32 in both `.rcv3` packs.- **Q8I-G64 Matrix Audit:** LLM 96 matrices avg `44.19 dB` (min `43.48 dB`); DiT 88 matrices avg `42.95 dB` (min `38.71 dB`).- **AP-BWE 24kβ48k (`--bwe`):** RX 9070 runtime `4.7β21.0 ms` on short/medium utterances (~13β19 ms for 4β6 s audio, ~53 ms for 15 s audio); Q8I 32 pwconv matrices avg `42.94 dB` (min `40.02 dB`); live waveform SNR vs PyTorch FP32 AP-BWE `40.25β40.28 dB` (`zh_short`) and `37.20β37.43 dB` (`zh_instruct_leak`). Default `lossless_low` preserves 0β10.5 kHz and gates silent pauses (`< -100 dB`).---## Quick StartBuild `rdna_cosyvoice.exe` from the [GitHub `rdna-hip/` source directory](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/codex/aitable-v0.2.1-r2/rdna-hip), then run:```powershell# 24 kHz.\rdna_cosyvoice.exe --model CosyVoice3_RDNA_Q8I.rcv3 --prompt-speech voice_ref.gguf --text "Hello world." --output out_24k.wav# 48 kHz with optional AP-BWE.\rdna_cosyvoice.exe --model CosyVoice3_RDNA_Q8I.rcv3 --bwe AP_BWE_24k48k_Q8I.rbwe --prompt-speech voice_ref.gguf --text "Hello world." --output out_48k.wav```Startup `cosyvoice3-voice-overlay-v1` LoRA adapters (`--voice-adapter`, `--voice-adapter-scale`) and dynamic per-request ASMR LoRA (`AITABLE_COSY_ASMR_F32`) work identically with both `F16` and `Q8I` `.rcv3` weights.---## Attribution & Licenses- **CosyVoice3-2512 (`*.rcv3`):** Derived from [FunAudioLLM/CosyVoice](https://github.com/FunAudioLLM/CosyVoice) under the **Apache-2.0 License**.- **AP-BWE (`*.rbwe`):** Derived from [yxlu-0102/AP-BWE](https://github.com/yxlu-0102/AP-BWE) under the **MIT License**.- **RDNA-HIP Engine Source:** Hosted on GitHub at [ruina37520198-a11y/cosyvoice.cpp (`rdna-hip/`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/codex/aitable-v0.2.1-r2/rdna-hip) under the **MIT License**.24 unmodified lines2526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051062 unmodified lines10911011111211311411511611711811912012112212312412512612712812913013113213313424 unmodified lineslibrary_name: rdna-cosyvoice---# CosyVoice3-2512 Native AMD RDNA 4 / RDNA 3 HIP (`v1.0`)Prebuilt **Windows x64** native AMD ROCm HIP engine (`bin/rdna_cosyvoice.exe`) and pre-converted standard weights (`.rcv3` & optional 48 kHz `.rbwe`) for **CosyVoice3-2512**.## Version & Release Summary| Field | Value ||---|---|| **Release** | `rdna-hip v1.0` (`2026-11-30`) || **Base TTS Model** | [FunAudioLLM/CosyVoice3-2512](https://github.com/FunAudioLLM/CosyVoice) (24 kHz native, Apache-2.0) || **Optional 48 kHz BWE** | [AP-BWE 24kβ48k](https://github.com/yxlu-0102/AP-BWE) (separate optional `.rbwe`, MIT) || **Prebuilt Binary** | [`bin/rdna_cosyvoice.exe`](bin/rdna_cosyvoice.exe) β Windows x64, 6-arch fat binary (`gfx1200`, `gfx1201`, `gfx1100`, `gfx1101`, `gfx1102`, `gfx1103`) || **Hardware Verification** | **AMD Radeon RX 9070 (`gfx1201`) real-silicon verified**; `gfx1200` & RDNA 3 (`gfx1100β1103`) compiled + 72/72 zero-spill ISA audited only (not hardware-run) || **Source Code & Docs** | [GitHub: `ruina37520198-a11y/cosyvoice.cpp` (`optimized` β `rdna-hip/`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/optimized/rdna-hip) || **Vulkan / GGML Edition** | Looking for the GGML Vulkan build instead? See [Windows x64 Vulkan Build on Hugging Face](https://huggingface.co/Roland2531/cosyvoice.cpp-AiTable-Vulkan-Windows-x64) |> **Unofficial community build & conversion:** Independent native HIP engine and weight conversion; not affiliated with FunAudioLLM / Alibaba. Only standard base weights are hosted here (no private voice prompts or character LoRAs).---## Quick Pick β Which Files Should I Download?| Goal | Engine Binary | Main TTS Weight (24 kHz) | Optional 48 kHz BWE ||---|---|---|---|| **Recommended (48 kHz, lower VRAM, faster)** | `bin/rdna_cosyvoice.exe` | `CosyVoice3_RDNA_Q8I.rcv3` | `AP_BWE_24k48k_Q8I.rbwe` || **Maximum Fidelity (48 kHz, Audio-Lossless F16)** | `bin/rdna_cosyvoice.exe` | `CosyVoice3_RDNA_F16.rcv3` | `AP_BWE_24k48k_F16.rbwe` || **24 kHz Native Only (No BWE)** | `bin/rdna_cosyvoice.exe` | Either `.rcv3` above | *(not needed; omit `--bwe`)* |**Runtime prerequisite (Windows x64):** `rdna_cosyvoice.exe` dynamically links `amdhip64_7.dll` and `rocblas.dll` (plus `rocblas/library` Tensile files) from AMD ROCm for Windows. Ensure your ROCm `bin` directory is on `PATH`. Zero `rocfft.dll` or FFmpeg DLLs are required.---## File Manifest & SHA-256 ChecksumsAll checksums are listed in [`SHA256SUMS.txt`](SHA256SUMS.txt).| File | Category | Precision / Details | Size | License | SHA-256 ||---|---|---|---:|---|---|| `bin/rdna_cosyvoice.exe` | Engine Binary | Windows x64 HIP fat binary (`gfx1200/1201/1100β1103`) | 2,873,856 B (2.74 MiB) | MIT | `298c79827f72f7adb9df950db5fd5076d4c9151fe54fc0ac50f0b523e3001d17` || `CosyVoice3_RDNA_Q8I.rcv3` | Main TTS (24 kHz) | Wave32-SoA `Q8I-G64` LLM & DiT + native FP32 HiFT/F0/norms/LM-head | 1,004,440,512 B (957.9 MiB) | Apache-2.0 | `437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32` || `CosyVoice3_RDNA_F16.rcv3` | Main TTS (24 kHz) | Audio-Lossless `F16` LLM & DiT + native FP32 HiFT/F0/norms/LM-head | 1,512,917,952 B (1.41 GiB) | Apache-2.0 | `a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f` || `AP_BWE_24k48k_Q8I.rbwe` | Optional 48 kHz BWE | `Q8I-G64` ConvNeXt pwconv + FP32 pre/post/depthwise/norms | 45,127,684 B (43.0 MiB) | MIT | `237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881a` || `AP_BWE_24k48k_F16.rbwe` | Optional 48 kHz BWE | `F16` ConvNeXt pwconv + FP32 pre/post/depthwise/norms | 68,720,644 B (65.5 MiB) | MIT | `dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653` |---## Quick Start (CLI & OpenAI-Compatible HTTP Server)```powershell# 24 kHz CLI.\bin\rdna_cosyvoice.exe --model CosyVoice3_RDNA_Q8I.rcv3 --prompt-speech voice_ref.gguf --text "Hello world." --output out_24k.wav# 48 kHz CLI with optional AP-BWE (lossless 0β10.5 kHz low-band preservation).\bin\rdna_cosyvoice.exe --model CosyVoice3_RDNA_Q8I.rcv3 --bwe AP_BWE_24k48k_Q8I.rbwe --prompt-speech voice_ref.gguf --text "Hello world." --stream --chunk-tokens 125 --output out_48k.wav# OpenAI-compatible HTTP server (/v1/audio/speech, /v1/models, /healthz).\bin\rdna_cosyvoice.exe --api --model CosyVoice3_RDNA_Q8I.rcv3 --bwe AP_BWE_24k48k_Q8I.rbwe --voice-prompt "speaker=voice_ref.gguf" --host 127.0.0.1 --port 9880 --stream --chunk-tokens 125```- **LoRA / Voice Overlays:** Both `F16` and `Q8I` `.rcv3` weights support startup `cosyvoice3-voice-overlay-v1` GGUF merging (`--voice-adapter`, `--voice-adapter-scale`) and dynamic per-request rank-4 LoRA hot-toggling (`--asmr-lora`).- **Voice Prompts:** `rdna_cosyvoice.exe` expects pre-encoded `*_ref.gguf` voice prompts (create them from `.wav` recordings via `cosyvoice-cli --frontend-only` with `campplus.onnx` + `speech_tokenizer_v3.onnx`).---## Measured Benchmarks & Precision (AMD Radeon RX 9070 `gfx1201`)### Footprint & Cold Load (24 kHz Base)| Model | Cold Load | Weight VRAM | Shared Scratch | Total Init VRAM ||---|---:|---:|---:|---:|| `CosyVoice3_RDNA_F16.rcv3` | 664.1 ms | 1,178.9 MB | 281.1 MB | 1,614.1 MB || `CosyVoice3_RDNA_Q8I.rcv3` | 890.1 ms | 694.0 MB | 281.1 MB | 1,129.1 MB |### End-to-End Speed (24 kHz Suite, Lower RTF is Better)| Test Case | `F16` LLM tok/s | `F16` RTF | `Q8I` LLM tok/s | `Q8I` RTF ||---|---:|---:|---:|---:|| `zh_short` | 397.9 tok/s | 0.092 | 446.3 tok/s | 0.093 || `zh_medium` | 356.2 tok/s | 0.097 | 467.3 tok/s | 0.076 |2 unmodified lines| `zh_instruct_leak` | 380.9 tok/s | 0.117 | 548.5 tok/s | 0.077 || `zh_speed_120` (`speed=1.2`) | 439.4 tok/s | 0.101 | 558.7 tok/s | 0.093 |### Precision & Quantization Audit- **DiT Mel SNR vs Pure FP32:** `50.87 dB` (`F16`), `42.93 dB` (`Q8I`) β vs `33.71 dB` on the Vulkan F16 baseline.- **HiFT Vocoder SNR vs PyTorch FP32:** `105.07 dB` (decoder + iSTFT), `59.88 dB` (full E2E incl. F0 + SineGen); 100% native FP32 in both `.rcv3` packs.- **Q8I-G64 Matrix Audit:** LLM 96 matrices avg `44.19 dB` (min `43.48 dB`); DiT 88 matrices avg `42.95 dB` (min `38.71 dB`).- **AP-BWE 24kβ48k (`--bwe`):** RX 9070 latency `4.7β21.0 ms` on short/medium utterances (~13β19 ms for 4β6 s audio, ~53 ms for 15 s audio); Q8I 32 pwconv matrices avg `42.94 dB` (min `40.02 dB`); live SNR vs PyTorch FP32 AP-BWE `40.25β40.28 dB` (`zh_short`) and `37.20β37.43 dB` (`zh_instruct_leak`). Default `lossless_low` preserves 0β10.5 kHz and applies a `-100 dB` silence floor gate.---## Known Limitations- **Windows x64 + ROCm HIP only** (Linux build not yet implemented).- **HTTP output formats:** `wav` and `pcm` only (`mp3`/`opus`/`flac` return HTTP `400 unsupported_format`).- **GPU fast-sampler PRNG:** Deterministic `SplitMix64` by default (pass `--exact-cpu-rng` for `std::mt19937` parity).- **RDNA 3 (`gfx1100β1103`) & `gfx1200`:** Compiled into the fat binary with zero register spills (`72/72` kernels), but not yet verified on real RDNA 3 / `gfx1200` hardware.---## Attribution & Licenses- **CosyVoice3-2512 weights (`*.rcv3`):** [FunAudioLLM/CosyVoice](https://github.com/FunAudioLLM/CosyVoice) β **Apache-2.0**- **AP-BWE weights (`*.rbwe`):** [yxlu-0102/AP-BWE](https://github.com/yxlu-0102/AP-BWE) β **MIT**- **RDNA-HIP engine binary & source (`bin/rdna_cosyvoice.exe`, GitHub `rdna-hip/`):** [ruina37520198-a11y/cosyvoice.cpp (`optimized`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/optimized/rdna-hip) β **MIT**
123a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f CosyVoice3_RDNA_F16.rcv3437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32 CosyVoice3_RDNA_Q8I.rcv3dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653 AP_BWE_24k48k_F16.rbwe1234298c79827f72f7adb9df950db5fd5076d4c9151fe54fc0ac50f0b523e3001d17 bin/rdna_cosyvoice.exea2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f CosyVoice3_RDNA_F16.rcv3437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32 CosyVoice3_RDNA_Q8I.rcv3dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653 AP_BWE_24k48k_F16.rbwe
123version https://git-lfs.github.com/spec/v1oid sha256:298c79827f72f7adb9df950db5fd5076d4c9151fe54fc0ac50f0b523e3001d17size 2873856.gitattributes+1
README.md+64-46
SHA256SUMS.txt+1
bin/rdna_cosyvoice.exeAdded+3