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
Upload CosyVoice3-2512 RDNA-HIP standard weights (F16 & Q8I) and optional AP-BWE 48kHz weights
Browse filesFiles changed (7)
- .gitattributes+4
- AP_BWE_24k48k_F16.rbweAdded+3
- AP_BWE_24k48k_Q8I.rbweAdded+3
- CosyVoice3_RDNA_F16.rcv3Added+3
- CosyVoice3_RDNA_Q8I.rcv3Added+3
- README.mdAdded+116
- SHA256SUMS.txtAdded+4
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353637383932 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textAP_BWE_24k48k_F16.rbwe filter=lfs diff=lfs merge=lfs -textAP_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 -text
123version https://git-lfs.github.com/spec/v1oid sha256:dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653size 68720644123version https://git-lfs.github.com/spec/v1oid sha256:237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881asize 45127684123version https://git-lfs.github.com/spec/v1oid sha256:a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3fsize 1512917952123version https://git-lfs.github.com/spec/v1oid sha256:437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32size 1004440512123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116---license: apache-2.0license_link: https://www.apache.org/licenses/LICENSE-2.0language:- zh- en- ja- ko- de- es- fr- it- rutags:- tts- cosyvoice- cosyvoice3- amd- rocm- hip- rdna4- rdna3- audio-super-resolution- ap-bwelibrary_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 Checksums
All 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 || `zh_long_stream` (`ct=125`, 5 chunks) | 326.3 tok/s | 0.155 (TTFA 487.7 ms) | 406.3 tok/s | 0.148 (TTFA 404.5 ms) || `ja_medium` | 347.0 tok/s | 0.098 | 417.3 tok/s | 0.085 || `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 Start
Build `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**.1234a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f CosyVoice3_RDNA_F16.rcv3437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32 CosyVoice3_RDNA_Q8I.rcv3dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653 AP_BWE_24k48k_F16.rbwe237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881a AP_BWE_24k48k_Q8I.rbwe.gitattributes+4
AP_BWE_24k48k_F16.rbweAdded+3
AP_BWE_24k48k_Q8I.rbweAdded+3
CosyVoice3_RDNA_F16.rcv3Added+3
CosyVoice3_RDNA_Q8I.rcv3Added+3
README.mdAdded+116
SHA256SUMS.txtAdded+4