s2-pro-BnB-4Bits is a low-bit checkpoint prepared for memory-efficient inference, published by groxaxo.
It is intended for open-source evaluation, reproducible experimentation, and compatible local or
hosted inference workflows. The wording below is deliberately limited to what can be verified
from this repository's metadata and artifacts.
| Field | Details |
|---|---|
| Format | BitsAndBytes |
| Source / base | fishaudio/s2-pro |
| Intended task | text-to-speech |
| License | other |
*.pth (2 files)config.jsontokenizer.jsontokenizer_config.jsonchat_template.jinjaLICENSE.mdUse a current Transformers release with BitsAndBytes support, keeping the tokenizer and model configuration files from this repository alongside the checkpoint.
Quantization or conversion changes numerical behavior, memory use, and throughput relative to the source checkpoint; validate quality on your own workload.
Generated outputs may be inaccurate or unsuitable for a given use case. Users are responsible for testing behavior, applying appropriate safeguards, and complying with applicable licenses and laws.
GitHub Fork | Upstream Fish Speech | Technical Report | Fish Audio
This repository hosts the Groxaxo NF4 release of Fish Audio S2-Pro for lower-VRAM inference.
model.pthgroxaxo/fish-speech-int4-patchThis is a community-hosted release of the original Fish Audio model. Credit for the base model, research, and architecture belongs to the Fish Audio team.
Huge thanks to the original creators at Fish Audio and the upstream fishaudio/fish-speech project for building and open-sourcing S2-Pro.
If this NF4 release helps you, please star the companion GitHub project here:
https://github.com/groxaxo/fish-speech-int4-patch
The goal is simple: make the flagship S2-Pro experience easier to run, easier to share, and easier to deploy on real-world single-GPU machines.
model.pth: prequantized NF4 checkpointcodec.pth: codec weightsThe checkpoint is meant to be loaded through the fork's bnb4 path. It is not a legacy int4 or int8 export.
Use the patched repo that defaults to the right settings for this checkpoint:
git clone https://github.com/groxaxo/fish-speech-int4-patch
cd fish-speech-int4-patch
./install_bnb4_3060.sh
./start_bnb4_3060.sh
That path starts the API/WebUI with the intended defaults:
--bnb4--halfs2-pro as the canonical model namemodel.pth reload supportgit clone https://github.com/groxaxo/fish-speech-int4-patch
cd fish-speech-int4-patch
./install_bnb4_3060.sh
./start_bnb4_3060.sh
PYTHONPATH=. python tools/api_server.py \
--checkpoint-path /path/to/s2-pro \
--bnb4 \
--half \
--host 0.0.0.0 \
--port 8880
curl http://127.0.0.1:8880/v1/audio/speech \
-H 'Content-Type: application/json' \
-d '{
"model": "s2-pro",
"input": "[warm, calm] Hello from the Groxaxo NF4 S2-Pro release.",
"voice": "default"
}' \
--output speech.wav
If you want to point the repo at this checkpoint directly, keep --bnb4 enabled:
PYTHONPATH=. python tools/api_server.py \
--checkpoint-path /path/to/s2-pro \
--bnb4 \
--half
Or in Python:
import torch
from fish_speech.models.text2semantic.inference import init_model
model, decode_one_token = init_model(
checkpoint_path="/path/to/s2-pro",
device="cuda:0",
precision=torch.float16,
compile=False,
bnb4=True,
)
Upstream S2-Pro is excellent, but many single-card workstations do not have enough VRAM for a comfortable default setup. This NF4 release makes S2-Pro much easier to run on common cards like the RTX 3060 while preserving the flagship model path.
[whisper], [laugh], and [sad].[whisper] We need to leave quietly before sunrise.
[excited] We actually got it working on a 12 GB card.
[sad] I waited for you at the station all night.
This model remains under the Fish Audio Research License. Research and non-commercial use is permitted under that license. Commercial use requires a separate agreement with Fish Audio.
14 commits
s2-pro-BnB-4Bits is a low-bit checkpoint prepared for memory-efficient inference, published by groxaxo.
It is intended for open-source evaluation, reproducible experimentation, and compatible local or
hosted inference workflows. The wording below is deliberately limited to what can be verified
from this repository's metadata and artifacts.
| Field | Details |
|---|---|
| Format | BitsAndBytes |
| Source / base | fishaudio/s2-pro |
| Intended task | text-to-speech |
| License | other |
*.pth (2 files)config.jsontokenizer.jsontokenizer_config.jsonchat_template.jinjaLICENSE.mdUse a current Transformers release with BitsAndBytes support, keeping the tokenizer and model configuration files from this repository alongside the checkpoint.
Quantization or conversion changes numerical behavior, memory use, and throughput relative to the source checkpoint; validate quality on your own workload.
Generated outputs may be inaccurate or unsuitable for a given use case. Users are responsible for testing behavior, applying appropriate safeguards, and complying with applicable licenses and laws.
GitHub Fork | Upstream Fish Speech | Technical Report | Fish Audio
This repository hosts the Groxaxo NF4 release of Fish Audio S2-Pro for lower-VRAM inference.
model.pthgroxaxo/fish-speech-int4-patchThis is a community-hosted release of the original Fish Audio model. Credit for the base model, research, and architecture belongs to the Fish Audio team.
Huge thanks to the original creators at Fish Audio and the upstream fishaudio/fish-speech project for building and open-sourcing S2-Pro.
If this NF4 release helps you, please star the companion GitHub project here:
https://github.com/groxaxo/fish-speech-int4-patch
The goal is simple: make the flagship S2-Pro experience easier to run, easier to share, and easier to deploy on real-world single-GPU machines.
model.pth: prequantized NF4 checkpointcodec.pth: codec weightsThe checkpoint is meant to be loaded through the fork's bnb4 path. It is not a legacy int4 or int8 export.
Use the patched repo that defaults to the right settings for this checkpoint:
git clone https://github.com/groxaxo/fish-speech-int4-patch
cd fish-speech-int4-patch
./install_bnb4_3060.sh
./start_bnb4_3060.sh
That path starts the API/WebUI with the intended defaults:
--bnb4--halfs2-pro as the canonical model namemodel.pth reload supportgit clone https://github.com/groxaxo/fish-speech-int4-patch
cd fish-speech-int4-patch
./install_bnb4_3060.sh
./start_bnb4_3060.sh
PYTHONPATH=. python tools/api_server.py \
--checkpoint-path /path/to/s2-pro \
--bnb4 \
--half \
--host 0.0.0.0 \
--port 8880
curl http://127.0.0.1:8880/v1/audio/speech \
-H 'Content-Type: application/json' \
-d '{
"model": "s2-pro",
"input": "[warm, calm] Hello from the Groxaxo NF4 S2-Pro release.",
"voice": "default"
}' \
--output speech.wav
If you want to point the repo at this checkpoint directly, keep --bnb4 enabled:
PYTHONPATH=. python tools/api_server.py \
--checkpoint-path /path/to/s2-pro \
--bnb4 \
--half
Or in Python:
import torch
from fish_speech.models.text2semantic.inference import init_model
model, decode_one_token = init_model(
checkpoint_path="/path/to/s2-pro",
device="cuda:0",
precision=torch.float16,
compile=False,
bnb4=True,
)
Upstream S2-Pro is excellent, but many single-card workstations do not have enough VRAM for a comfortable default setup. This NF4 release makes S2-Pro much easier to run on common cards like the RTX 3060 while preserving the flagship model path.
[whisper], [laugh], and [sad].[whisper] We need to leave quietly before sunrise.
[excited] We actually got it working on a 12 GB card.
[sad] I waited for you at the station all night.
This model remains under the Fish Audio Research License. Research and non-commercial use is permitted under that license. Commercial use requires a separate agreement with Fish Audio.
14 commits