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
Release rdna-hip v1.2 (56-CU LLM, 9-launch DiT graph, zero-stall HTTP, mojibake/cross-lingual fallback)
Browse filesFiles changed (4)
24 unmodified lines252627282930311 unmodified line3334353637383940414243447 unmodified lines5253545556575859606162636465666768697071727374757677785 unmodified lines8485868788899091929394951 unmodified line9798991001011021031041051061071081091101111121 unmodified line1141151161171181191201211221231243 unmodified lines1281291301311321331341351361371381391401411421431441451469 unmodified lines1561571581591601611622 unmodified lines16516616716824 unmodified lineslibrary_name: rdna-cosyvoice---# CosyVoice3-2512 Native AMD RDNA 4 / RDNA 3 HIP (`v1.1`)Prebuilt **Windows x64** native AMD ROCm HIP engine (both a plug-and-play **RX 9070 `gfx1201` portable bundle with ROCm 10.2 DLLs** and a **standalone 6-arch binary**) plus pre-converted standard weights (`.rcv3` & optional 48 kHz `.rbwe`) for **CosyVoice3-2512**.1 unmodified line| Field | Value ||---|---|| **Release** | `rdna-hip v1.1` (`2026-12-01`) || **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) || **Portable Bundle (RX 9070 `gfx1201`, No ROCm SDK Needed)** | [`bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip`](bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip) (`214.60 MiB` β includes `rdna_cosyvoice.exe` + ROCm 10.2 `gfx1201` runtime DLLs & libraries) || **Standalone Binary (All 6 RDNA 4/3 Archs)** | [`bin/rdna_cosyvoice.exe`](bin/rdna_cosyvoice.exe) (`2.99 MiB` β `gfx1200`, `gfx1201`, `gfx1100`, `gfx1101`, `gfx1102`, `gfx1103`; bring your own ROCm runtime) || **Hardware Verification** | **AMD Radeon RX 9070 (`gfx1201`) real-silicon verified** (including clean-`PATH` portable ZIP test); `gfx1200` & RDNA 3 (`gfx1100β1103`) compiled + 80/80 zero-spill ISA audited only (not hardware-run) || **Source Code & Docs** | [GitHub: `ruina37520198-a11y/cosyvoice.cpp` (`main` β `rdna-hip/`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/main/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) |7 unmodified lines| Your GPU / Setup | Download | Extra Requirements ||---|---|---|| **AMD Radeon RX 9070 series (`gfx1201`) β Plug-and-Play (Recommended)** | `bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip` | Unzip and run β **no ROCm SDK install required**. Needs AMD Adrenalin driver + Microsoft VC++ 2015β2022 Redistributable (x64). || **Other RDNA 4 (`gfx1200`) / RDNA 3 (`gfx1100β1103`), or existing ROCm install** | `bin/rdna_cosyvoice.exe` | Requires your system ROCm runtime `bin` directory on `PATH` matching your GPU's `gfx` architecture (see DLL list below). |### Step 2: Pick Your Standard Weights| Goal | Main TTS Weight (24 kHz) | Optional 48 kHz BWE ||---|---|---|| **Recommended (48 kHz, lower VRAM, faster)** | `CosyVoice3_RDNA_Q8I.rcv3` | `AP_BWE_24k48k_Q8I.rbwe` || **Maximum Fidelity (48 kHz, Audio-Lossless F16)** | `CosyVoice3_RDNA_F16.rcv3` | `AP_BWE_24k48k_F16.rbwe` || **24 kHz Native Only (No BWE)** | Either `.rcv3` above | *(not needed; omit `--bwe`)* |---## Runtime DLL Dependencies Explained`rdna_cosyvoice.exe` has **zero** `rocfft.dll`, GGML, or FFmpeg dependencies. Besides standard Windows libraries (`KERNEL32.dll`, `WS2_32.dll`, `SHELL32.dll`) and VC++ Runtime (`MSVCP140.dll`, `VCRUNTIME140.dll`), the required **AMD ROCm 10.2 runtime files** (all pre-bundled inside `bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip` for `gfx1201`) are:- **Direct imports (2 DLLs):** `amdhip64_7.dll`, `rocblas.dll`- **Dynamic / transitive dependencies (5 DLLs):** `amd_comgr.dll` (loaded at runtime by `amdhip64_7.dll`), `rocm_kpack.dll`, `libhipblaslt.dll`, `libtensilelite-host.dll`, `origami.dll`- **GPU kernel libraries (architecture-specific):** `rocblas/library/`, `hipblaslt/library/<gfx>/`, `.kpack/blas_lib_<gfx>.kpack`- **Third-party licenses:** Included in `licenses/` inside the portable ZIP (`amd_comgr`, `rocblas`, `hipblaslt`, `origami`, `rocm-core`, etc.).> **Important architecture note:** The portable ZIP bundles **`gfx1201` (RX 9070)** kernel libraries verified under a stripped system-only `PATH` (`CLI_EXIT=0`, zero stderr warnings). Users on `gfx1200` or RDNA 3 (`gfx1100β1103`) should use the standalone `bin/rdna_cosyvoice.exe` with ROCm libraries matching their GPU.5 unmodified lines| File | Category | Precision / Details | Size | License | SHA-256 ||---|---|---|---:|---|---|| `bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip` | Portable Bundle | `rdna_cosyvoice.exe` + 7 ROCm 10.2 DLLs + `gfx1201` libraries + licenses | 225,020,633 B (214.60 MiB) | MIT + AMD ROCm | `03e9b3ed8ed0503fe3e9587c0b9955244992864dca65afe247ded5a6b946f8f4` || `bin/rdna_cosyvoice.exe` | Standalone Binary | Windows x64 HIP fat binary (`gfx1200/1201/1100β1103`, no DLLs bundled) | 3,130,880 B (2.99 MiB) | MIT | `ec1709af66d8afa92abd037b030d852079a89b0e01ebc955390f1eaf5ca5d0ce` || `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` |---1 unmodified line```powershell# 24 kHz CLI (from unzipped portable folder).dna_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).dna_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).dna_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`).1 unmodified line---## What's New in `v1.1` (`2026-12-01`)- **+14% Faster Server RTF & `O(K)` Streaming:** 4-row-per-warp F16/F32 GEMV, 8-warp decode attention, and `O(K)` streaming HiFT (`skip_mel`) + AP-BWE (`start24` + 53 ms right-context holdback) improve warm RX 9070 48 kHz RTF from `0.150` to `0.129 s/s` and speed up multi-chunk streaming HiFT/BWE by 2.5Γβ4.1Γ.- **Bounded-VRAM Slow Speeds & Low-CPU Sync:** Chunked zero-spill HiFT + post-request scratch shrinking keep VRAM flat (`~2,099 MiB` dedicated / `116 MiB` shared) even on 100 s+ `speed=0.25` utterances (`23.6 s -> 4.8 s`); `hipDeviceScheduleBlockingSync` lowers active single-core CPU from ~89% to ~16β20%.- **Hardened HTTP/CLI & `O(L log L)` BPE:** Strict UTF-8 / RFC 8259 JSON / `413` & `431` framing, pre-synthesis capacity & 2,048-token HTTP checks, structured error codes (`context_length_exceeded`, `token_limit_reached`, `input_too_long`), LIFO async stream-sync guards, and `O(L log L)` min-heap BPE (`< 70 ms` on 4,096 CJK chars).---3 unmodified lines| 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 || `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 |### Precision & Quantization Audit9 unmodified lines- **Windows x64 + ROCm HIP only** (Linux build not yet implemented).- **HTTP output formats:** `wav` and `pcm` only (`mp3`/`opus`/`aac`/`flac`/`m4a`/`ogg` 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 `rdna_cosyvoice.exe` with zero register spills (`80/80` kernels), but not yet verified on real RDNA 3 / `gfx1200` hardware, and not covered by the `gfx1201`-specific ROCm libraries inside the portable ZIP.---2 unmodified lines- **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 (`main`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/main/rdna-hip) β **MIT**- **Bundled AMD ROCm 10.2 runtime libraries (`bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip`):** Subject to their respective AMD ROCm component licenses included in `licenses/` inside the archive.24 unmodified lines252627282930311 unmodified line3334353637383940414243447 unmodified lines5253545556575859606162636465666768697071727374757677785 unmodified lines8485868788899091929394951 unmodified line9798991001011021031041051061071081091 unmodified line1111121131141151161171181191201211223 unmodified lines1261271281291301311321331341351361371381391401411421431441451461471481491509 unmodified lines1601611621631641651662 unmodified lines16917017117224 unmodified lineslibrary_name: rdna-cosyvoice---# CosyVoice3-2512 Native AMD RDNA 4 / RDNA 3 HIP (`v1.2`)Prebuilt **Windows x64** native AMD ROCm HIP engine (both a plug-and-play **RX 9070 `gfx1201` portable bundle with ROCm 10.2 DLLs** and a **standalone 6-arch binary**) plus pre-converted standard weights (`.rcv3` & optional 48 kHz `.rbwe`) for **CosyVoice3-2512**.1 unmodified line| Field | Value ||---|---|| **Release** | `rdna-hip v1.2` (`2026-12-01`) || **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) || **Portable Bundle (RX 9070 `gfx1201`, No ROCm SDK Needed)** | [`bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip`](bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip) (`214.65 MiB` β includes `rdna_cosyvoice.exe` + ROCm 10.2 `gfx1201` runtime DLLs & libraries) || **Standalone Binary (All 6 RDNA 4/3 Archs)** | [`bin/rdna_cosyvoice.exe`](bin/rdna_cosyvoice.exe) (`3.27 MiB` β `gfx1200`, `gfx1201`, `gfx1100`, `gfx1101`, `gfx1102`, `gfx1103`; bring your own ROCm runtime) || **Hardware Verification** | **AMD Radeon RX 9070 (`gfx1201`) real-silicon verified** (including clean-`PATH` portable ZIP test); `gfx1200` & RDNA 3 (`gfx1100β1103`) compiled + 87/87 zero-spill ISA audited only (not hardware-run) || **Source Code & Docs** | [GitHub: `ruina37520198-a11y/cosyvoice.cpp` (`main` β `rdna-hip/`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/main/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) |7 unmodified lines| Your GPU / Setup | Download | Extra Requirements ||---|---|---|| **AMD Radeon RX 9070 series (`gfx1201`) β Plug-and-Play (Recommended)** | `bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip` | Unzip and run β **no ROCm SDK install required**. Needs AMD Adrenalin driver + Microsoft VC++ 2015β2022 Redistributable (x64). || **Other RDNA 4 (`gfx1200`) / RDNA 3 (`gfx1100β1103`), or existing ROCm install** | `bin/rdna_cosyvoice.exe` | Requires your system ROCm runtime `bin` directory on `PATH` matching your GPU's `gfx` architecture (see DLL list below). |### Step 2: Pick Your Standard Weights| Goal | Main TTS Weight (24 kHz) | Optional 48 kHz BWE ||---|---|---|| **Maximum Fidelity (48 kHz, Audio-Lossless F16)** | `CosyVoice3_RDNA_F16.rcv3` | `AP_BWE_24k48k_F16.rbwe` || **Lower VRAM Footprint (48 kHz, Q8I-G64)** | `CosyVoice3_RDNA_Q8I.rcv3` | `AP_BWE_24k48k_Q8I.rbwe` || **24 kHz Native Only (No BWE)** | Either `.rcv3` above | *(not needed; omit `--bwe`)* |---## Runtime DLL Dependencies Explained`rdna_cosyvoice.exe` has **zero** `rocfft.dll`, GGML, or FFmpeg dependencies. Besides standard Windows libraries (`KERNEL32.dll`, `WS2_32.dll`, `SHELL32.dll`) and VC++ Runtime (`MSVCP140.dll`, `VCRUNTIME140.dll`), the required **AMD ROCm 10.2 runtime files** (all pre-bundled inside `bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip` for `gfx1201`) are:- **Direct imports (2 DLLs):** `amdhip64_7.dll`, `rocblas.dll`- **Dynamic / transitive dependencies (5 DLLs):** `amd_comgr.dll` (loaded at runtime by `amdhip64_7.dll`), `rocm_kpack.dll`, `libhipblaslt.dll`, `libtensilelite-host.dll`, `origami.dll`- **GPU kernel libraries (architecture-specific):** `rocblas/library/`, `hipblaslt/library/<gfx>/`, `.kpack/blas_lib_<gfx>.kpack`- **Third-party licenses:** Included in `licenses/` and `THIRD_PARTY_NOTICES.md` inside the portable ZIP (`amd_comgr`, `rocblas`, `hipblaslt`, `origami`, `rocm-core`, etc.).> **Important architecture note:** The portable ZIP bundles **`gfx1201` (RX 9070)** kernel libraries verified under a stripped system-only `PATH` (`CLI_EXIT=0`, zero stderr warnings). Users on `gfx1200` or RDNA 3 (`gfx1100β1103`) should use the standalone `bin/rdna_cosyvoice.exe` with ROCm libraries matching their GPU.5 unmodified lines| File | Category | Precision / Details | Size | License | SHA-256 ||---|---|---|---:|---|---|| `bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip` | Portable Bundle | `rdna_cosyvoice.exe` + 7 ROCm 10.2 DLLs + `gfx1201` libraries + licenses | 225,079,541 B (214.65 MiB) | MIT + AMD ROCm | `6d3c6f2e636f2509ee24182d22450400b0186c4b3b175197adbba8e6b6e7dfe5` || `bin/rdna_cosyvoice.exe` | Standalone Binary | Windows x64 HIP fat binary (`gfx1200/1201/1100β1103`, no DLLs bundled) | 3,425,280 B (3.27 MiB) | MIT | `39119803d741bd61a962e075f29d64b04f488b943884298ab89e169831baf27a` || `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` || `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` || `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` || `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` |---1 unmodified line```powershell# 24 kHz CLI (from unzipped portable folder).\rdna_cosyvoice.exe --model CosyVoice3_RDNA_F16.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).\rdna_cosyvoice.exe --model CosyVoice3_RDNA_F16.rcv3 --bwe AP_BWE_24k48k_F16.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).\rdna_cosyvoice.exe --api --model CosyVoice3_RDNA_F16.rcv3 --bwe AP_BWE_24k48k_F16.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`).1 unmodified line---## What's New in `v1.2` (`2026-12-01`)- **`+41%` F16 LLM Decode & `1.36Γβ1.70Γ` Faster Flow DiT:** 56-CU Split-KV FlashDecoding, LDS softmax/Top-K, 256-thread parallel RAS fallback (with fresh RNG draw), 9-launch fused DiT blocks, 8-warp contiguous FP16 WMMA FlashAttention-2, division-free LDS-transposed FP32 ConvPos, and a 4-entry 1-step GPU-indexed DiT HIP Graph cache (`F16` `--bench` LLM `503β581 tok/s`, whole-file RTF **`0.063β0.081`** @ 24 kHz / **`0.066β0.085`** @ 48 kHz + BWE).- **Zero-Stall HTTP Server (`-15% to -21%` Warm Streaming Latency):** `TCP_NODELAY`, coalesced chunk/response framing, and 2 ms `DisconnectMonitor` polling eliminate ~30β40 ms per-request loopback stalls (short 1.8 s warm streaming down to `221 ms / RTF 0.114`, `TTFA 212 ms`).- **Automatic Corrupted-Prompt & Cross-Language Fallback:** Automatically detects mojibake/PUA prompt transcripts and cross-language prompt-vs-input mismatches in `auto` mode and falls back safely to `cross_lingual` (explicit `--mode zero_shot` still overrides), eliminating ZH generation failures/hallucinations (`60/60` clean in FireRedASR2-AED automated screening).- **Full Init Tensor Validation & `--bench` Hardening:** Validates all LLM/DiT tensor shapes, dtypes, uniform quantization, VRAM/host residency, and Flow noise sizing before launch; fixes `--bench` warmup on corrupted prompts.---3 unmodified lines| Model | Cold Load | Weight VRAM | Shared Scratch | Total Init VRAM ||---|---:|---:|---:|---:|| `CosyVoice3_RDNA_F16.rcv3` | 660.6 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 |### Built-in Warm `--bench` Suite (`v1.2` F16, Lower RTF is Better)| Test Case | `F16` LLM tok/s | `F16` 24 kHz RTF | `F16` 48 kHz (+BWE) RTF ||---|---:|---:|---:|| `zh_short` (7.08 s) | 503.0 tok/s | **0.071** | **0.074** || `zh_medium` (18.04 s) | 548.8 tok/s | **0.063** | **0.066** || `zh_long_stream` (`ct=125`, 23.24 s) | 537.6 tok/s | **0.098** | **0.100** || `ja_medium` (7.48 s) | 556.3 tok/s | **0.067** | **0.069** || `zh_instruct_leak` (3.12 s) | 581.3 tok/s | **0.081** | **0.085** || `zh_speed_120` (`speed=1.2`, 5.90 s) | 554.6 tok/s | **0.077** | **0.079** |### Warm HTTP Streaming Server (`v1.1` vs `v1.2`, F16, `chunk_tokens=125`)- **Cold 1st Request** (after server start, includes one-time ROCm/rocBLAS lazy init): `540β656 ms` (`1.5β1.8 s` utterance).- **Warm Steady-State (`v1.2` 24 kHz, 5.6 s prompt):** Short (`1.8 s`) **`221 ms` / RTF `0.114`** (`TTFA 212 ms`); Medium (`8.4 s`) **`825 ms` / RTF `0.098`**; XLong (`17.2 s`) **`1,989 ms` / RTF `0.116`**.- **Warm Steady-State (`v1.2` vs `v1.1`, 8.04 s prompt):** `15β21%` lower latency across every tier (`S1_short 297 -> 250 ms`, `S3_med2 1028 -> 867 ms`, `S5_xlong 2532 -> 2116 ms`).### Precision & Quantization Audit9 unmodified lines- **Windows x64 + ROCm HIP only** (Linux build not yet implemented).- **HTTP output formats:** `wav` and `pcm` only (`mp3`/`opus`/`aac`/`flac`/`m4a`/`ogg` 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 `rdna_cosyvoice.exe` with zero register spills (`87/87` kernels), but not yet verified on real RDNA 3 / `gfx1200` hardware, and not covered by the `gfx1201`-specific ROCm libraries inside the portable ZIP.---2 unmodified lines- **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 (`main`)](https://github.com/ruina37520198-a11y/cosyvoice.cpp/tree/main/rdna-hip) β **MIT**- **Bundled AMD ROCm 10.2 runtime libraries (`bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip`):** Subject to their respective AMD ROCm component licenses included in `licenses/` inside the archive.
12345603e9b3ed8ed0503fe3e9587c0b9955244992864dca65afe247ded5a6b946f8f4 bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zipec1709af66d8afa92abd037b030d852079a89b0e01ebc955390f1eaf5ca5d0ce bin/rdna_cosyvoice.exea2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f CosyVoice3_RDNA_F16.rcv3437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32 CosyVoice3_RDNA_Q8I.rcv3dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653 AP_BWE_24k48k_F16.rbwe237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881a AP_BWE_24k48k_Q8I.rbwe12345639119803d741bd61a962e075f29d64b04f488b943884298ab89e169831baf27a rdna_cosyvoice.exe (3425280 bytes)6d3c6f2e636f2509ee24182d22450400b0186c4b3b175197adbba8e6b6e7dfe5 rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zip (225079541 bytes)a2139736fcc3e85eafa86bce56f4daacfa7987206ad34efa915512a16d384d3f CosyVoice3_RDNA_F16.rcv3 (1512917952 bytes)437cbdc81678c105dc2274c188a0b92441f984ba46196ddee4d389458e4b6b32 CosyVoice3_RDNA_Q8I.rcv3 (1004440512 bytes)dea41d7fea55da58be6eca87800402d04b1ac27f4935ec83ec7b235f185b4653 AP_BWE_24k48k_F16.rbwe (68720644 bytes)237f82221ef174f3fc43d3d80926be4ec70ffaf306722d1e23c2214f3999881a AP_BWE_24k48k_Q8I.rbwe (45127684 bytes)
123version https://git-lfs.github.com/spec/v1oid sha256:03e9b3ed8ed0503fe3e9587c0b9955244992864dca65afe247ded5a6b946f8f4size 225020633123version https://git-lfs.github.com/spec/v1oid sha256:6d3c6f2e636f2509ee24182d22450400b0186c4b3b175197adbba8e6b6e7dfe5size 225079541
123version https://git-lfs.github.com/spec/v1oid sha256:ec1709af66d8afa92abd037b030d852079a89b0e01ebc955390f1eaf5ca5d0cesize 3130880123version https://git-lfs.github.com/spec/v1oid sha256:39119803d741bd61a962e075f29d64b04f488b943884298ab89e169831baf27asize 3425280
README.md+39-35
SHA256SUMS.txt+6-6
bin/rdna_cosyvoice-v1.1-win64-rocm10.2-gfx1201.zip β bin/rdna_cosyvoice-v1.2-win64-rocm10.2-gfx1201.zipRenamed+2-2
bin/rdna_cosyvoice.exe+2-2