Views
No views yet
ALPHA — EXPERIMENTAL The inference engine (s2.cpp) is an early-stage, community-built project. Expect rough edges and breaking changes. Not production-ready.
License: Fish Audio Research License — free for research and non-commercial use. Commercial use requires a separate license from Fish Audio. See LICENSE.md and fish.audio.
| File | Size |
|---|---|
s2-pro-f16.gguf | 9.3 GB |
s2-pro-q8_0.gguf | 5.3 GB |
s2-pro-q6_k.gguf | 4.3 GB |
s2-pro-q5_k_m.gguf | 3.8 GB |
s2-pro-q4_k_m.gguf | 3.4 GB |
s2-pro-q3_k.gguf | 2.9 GB |
s2-pro-q2_k.gguf | 2.4 GB |
tokenizer.json | 12 MB |
| VRAM | Recommended |
|---|---|
| ≥ 8 GB | q8_0 |
| 6–8 GB | q6_k |
| 4–6 GB | q5_k_m |
| 3–4 GB | q4_k_m |
| < 3 GB | q3_k / q2_k (quality degrades) |
| CPU only | q4_k_m or lower (slow) |
1# Clone and build s2.cpp
2git clone --recurse-submodules https://github.com/rodrigomatta/s2.cpp.git
3cd s2.cpp
4cmake -B build -DCMAKE_BUILD_TYPE=Release -DS2_VULKAN=ON
5cmake --build build --parallel $(nproc)
6
7# Download model files (example with huggingface-cli)
8huggingface-cli download rodrigomt/s2-pro-gguf s2-pro-q6_k.gguf tokenizer.json --local-dir .
9
10# Synthesize
11./build/s2 \
12 -m s2-pro-q6_k.gguf \
13 -t tokenizer.json \
14 -text "Hello, this is a test." \
15 -v 0 \
16 -o output.wav1./build/s2 \
2 -m s2-pro-q6_k.gguf \
3 -t tokenizer.json \
4 -pa reference.wav \
5 -pt "Transcript of the reference audio." \
6 -text "Text to synthesize in that voice." \
7 -v 0 \
8 -o output.wavllama-quantize tool with improved quantization routines.