s2-pro-GGUF / README.md
jennyxue's picture
Model card and the original license
233c5fe verified
|
Raw History Blame Contribute Delete
10.1 kB
metadata
base_model: fishaudio/s2-pro
base_model_relation: quantized
license: other
license_name: fish-audio-research-license
license_link: LICENSE.md
pipeline_tag: text-to-speech
library_name: gguf
tags:
  - gguf
  - moonbox
  - llama.cpp
  - fish-audio
  - fish-speech
  - s2-pro
  - text-to-speech
  - voice-cloning
  - multilingual
  - non-commercial

Fish Audio S2 Pro GGUF

GGUF builds of Fish Audio S2 Pro, made by Moonbox for on-device use with llama.cpp (Metal, CUDA, Vulkan, CPU). Every file is at the root of this repository: one model file per precision, plus the mmproj-*.gguf file that holds the model's encoder (audio, vision or codec) when it has one. That file is shared by every precision. Pick a precision by the memory you have.

Files

The last column is the benchmark: the task score of each file on Moonbox's evaluation set for this kind of model (details under How to run), and how often it gives exactly the same output as the BF16 file. The BF16 file holds the original weights unchanged.

Precision File Size sha256 Benchmark
F16 fish-audio-s2-pro-F16.gguf 8.07 GB 1d638459a96e WER 0.0 % / CER 0.0 %, similarity 0.953 / 0.957, DNSMOS 3.25 / 2.95; RTF 4.4 (half the layers on the CPU)
all mmproj-fish-audio-s2-pro-BF16.gguf 2.05 GB 26040daf4415 encoder file, used with every precision
BF16 fish-audio-s2-pro-BF16.gguf 8.07 GB 4e0ae497ba0a WER 0.0 % / CER 0.0 % (original 0.0 / 0.0), similarity 0.957 / 0.949 (0.958 / 0.945), DNSMOS 3.30 / 2.92 (3.28 / 2.62); RTF 4.7 (CUDA, half the layers on the CPU)
Q8_0 fish-audio-s2-pro-Q8_0.gguf 4.29 GB 5e8e7b85525a WER 0.0 % / CER 0.0 %, similarity 0.956 / 0.952, DNSMOS 3.29 / 2.96; RTF 0.85 (CUDA)
Q6_K fish-audio-s2-pro-Q6_K.gguf 3.31 GB 7b0d86a9ee15 WER 0.0 % / CER 0.0 %, similarity 0.953 / 0.953, DNSMOS 3.29 / 2.88; RTF 0.81
Q5_K_M fish-audio-s2-pro-Q5_K_M.gguf 2.90 GB 795b5dd104da WER 0.0 % / CER 0.0 %, similarity 0.949 / 0.957, DNSMOS 3.30 / 3.04; RTF 0.79
Q4_K_M fish-audio-s2-pro-Q4_K_M.gguf 2.51 GB 17284f4365e9 WER 0.0 % / CER 0.0 %, similarity 0.953 / 0.950, DNSMOS 3.28 / 2.93; RTF 0.77

How to run

The model file holds the 4B slow AR (a Qwen3 backbone). mmproj-fish-audio-s2-pro-BF16.gguf holds the 4-layer fast AR and the codec (codec.pth): its encoder half for voice cloning and its decoder half for the audio. It is in BF16, as llama.cpp advises for this model, with the codec encoder in F16 / F32, and it is the same file for every precision. Both files are needed. With llama.cpp b12621 or newer:

llama-tts -m fish-audio-s2-pro-Q8_0.gguf -mm mmproj-fish-audio-s2-pro-BF16.gguf \
    --tts-speaker-file reference.wav --tts-speaker-text "The words spoken in reference.wav." \
    -p "Hello, this is a cloned voice." -n 2000 --output out.wav

Speaker tags (<|speaker:0|> ...) and inline instructions in brackets ([laughing], [whisper]) work as in the original. llama-server serves the same through /tts (input, speaker_ref_b64, speaker_ref_text, seed). llama.cpp samples the frames with the original's own settings.

The converter changes the layout of three kinds of tensor (llama.cpp's conversion/fish_s2.py), and the values stay the same:

  • The fused wqkv weights are split into q / k / v.
  • The q / k rows (and the q / k norms) are reordered from the checkpoint's interleaved rotary layout to llama.cpp's.
  • The fast AR's output head keeps its first 1024 rows, the codebook size.

All 358 tensors of the original checkpoint were found with the same values in these files.

Benchmark.

  • Set: Moonbox's TTS set, 6 English and 4 Chinese sentences, seeds 0-3.
  • Task: voice cloning with the set's prompt clip and its transcript.
  • Run: llama-server /tts on CUDA (RTX 3080 Laptop). BF16 and F16 ran with 18 of the 36 layers on the GPU, to fit the laptop, hence their RTF.
  • Scores:
    • word / character error rate of Whisper large-v3-turbo's transcript (English / Chinese);
    • WavLM speaker similarity to the prompt;
    • DNSMOS.
  • Original: fish-speech in bf16 on CUDA on the same set: error 0.0 % / 0.0 %, similarity 0.958 / 0.945, DNSMOS 3.28 / 2.62.
  • Pass mark: error at most 2 points above the original, similarity at most 0.03 below it, DNSMOS at most 0.2 below it.

How these were made

From Fish Audio S2 Pro at revision 1de9996b6b, with llama.cpp b12621:

  • convert_hf_to_gguf.py wrote the BF16 model file and the mmproj file.
  • llama-quantize made the other precisions from the BF16 file, with its standard mixes.
  • No importance matrix was used.

Before upload, every tensor of the original checkpoint was found with the same values in the BF16 model file and the mmproj file. The sha256 column above is what the files must hash to.

License

other (Fish Audio research license). These files are a derivative of the original model and carry its license. The license is copied in this repository, and it governs your use of these files. The original model card follows unchanged.


Fish Audio S2 Pro

Fish Audio S2 Pro overview — fine-grained control, multi-speaker multi-turn generation, low-latency streaming, and long-context inference.

Technical Report | GitHub | Playground

Fish Audio S2 Pro is a leading text-to-speech (TTS) model with fine-grained inline control of prosody and emotion. Trained on over 10M+ hours of audio data across 80+ languages, the system combines reinforcement learning alignment with a dual-autoregressive architecture. The release includes model weights, fine-tuning code, and an SGLang-based streaming inference engine.

Architecture

S2 Pro builds on a decoder-only transformer combined with an RVQ-based audio codec (10 codebooks, ~21 Hz frame rate) using a Dual-Autoregressive (Dual-AR) architecture:

  • Slow AR (4B parameters): Operates along the time axis and predicts the primary semantic codebook.
  • Fast AR (400M parameters): Generates the remaining 9 residual codebooks at each time step, reconstructing fine-grained acoustic detail.

This asymmetric design keeps inference efficient while preserving audio fidelity. Because the Dual-AR architecture is structurally isomorphic to standard autoregressive LLMs, it inherits all LLM-native serving optimizations from SGLang — including continuous batching, paged KV cache, CUDA graph replay, and RadixAttention-based prefix caching.

Fine-Grained Inline Control

S2 Pro enables localized control over speech generation by embedding natural-language instructions directly within the text using [tag] syntax. Rather than relying on a fixed set of predefined tags, S2 Pro accepts free-form textual descriptions — such as [whisper in small voice], [professional broadcast tone], or [pitch up] — allowing open-ended expression control at the word level.

Common tags (15,000+ unique tags supported):

[pause] [emphasis] [laughing] [inhale] [chuckle] [tsk] [singing] [excited] [laughing tone] [interrupting] [chuckling] [excited tone] [volume up] [echo] [angry] [low volume] [sigh] [low voice] [whisper] [screaming] [shouting] [loud] [surprised] [short pause] [exhale] [delight] [panting] [audience laughter] [with strong accent] [volume down] [clearing throat] [sad] [moaning] [shocked]

Supported Languages

S2 Pro supports 80+ languages.

Tier 1: Japanese (ja), English (en), Chinese (zh)

Tier 2: Korean (ko), Spanish (es), Portuguese (pt), Arabic (ar), Russian (ru), French (fr), German (de)

Other supported languages: sv, it, tr, no, nl, cy, eu, ca, da, gl, ta, hu, fi, pl, et, hi, la, ur, th, vi, jw, bn, yo, xsl, cs, sw, nn, he, ms, uk, id, kk, bg, lv, my, tl, sk, ne, fa, af, el, bo, hr, ro, sn, mi, yi, am, be, km, is, az, sd, br, sq, ps, mn, ht, ml, sr, sa, te, ka, bs, pa, lt, kn, si, hy, mr, as, gu, fo, and more.

Production Streaming Performance

On a single NVIDIA H200 GPU:

  • Real-Time Factor (RTF): 0.195
  • Time-to-first-audio: ~100 ms
  • Throughput: 3,000+ acoustic tokens/s while maintaining RTF below 0.5

Links

Technical Report

If you find our work useful, please consider citing our report:

@misc{liao2026fishaudios2technical,
      title={Fish Audio S2 Technical Report}, 
      author={Shijia Liao and Yuxuan Wang and Songting Liu and Yifan Cheng and Ruoyi Zhang and Tianyu Li and Shidong Li and Yisheng Zheng and Xingwei Liu and Qingzheng Wang and Zhizhuo Zhou and Jiahua Liu and Xin Chen and Dawei Han},
      year={2026},
      eprint={2603.08823},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2603.08823},
}

License

This model is licensed under the Fish Audio Research License. Research and non-commercial use is permitted free of charge. Commercial use requires a separate license from Fish Audio — contact business@fish.audio.