Instructions to use Infinix-io/ZONOS3-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Zonos
How to use Infinix-io/ZONOS3-Mini with Zonos:
# pip install git+https://github.com/Zyphra/Zonos.git import torchaudio from zonos.model import Zonos from zonos.conditioning import make_cond_dict model = Zonos.from_pretrained("Infinix-io/ZONOS3-Mini", device="cuda") wav, sr = torchaudio.load("speaker.wav") # 5-10s reference clip speaker = model.make_speaker_embedding(wav, sr) cond = make_cond_dict(text="Hello, world!", speaker=speaker, language="en-us") codes = model.generate(model.prepare_conditioning(cond)) audio = model.autoencoder.decode(codes)[0].cpu() torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Infinix-io/ZONOS3-Mini with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Infinix-io/ZONOS3-Mini # Run inference directly in the terminal: llama cli -hf Infinix-io/ZONOS3-Mini
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Infinix-io/ZONOS3-Mini # Run inference directly in the terminal: llama cli -hf Infinix-io/ZONOS3-Mini
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Infinix-io/ZONOS3-Mini # Run inference directly in the terminal: ./build/bin/llama cli -hf Infinix-io/ZONOS3-Mini
Use Docker
docker model run hf.co/Infinix-io/ZONOS3-Mini
- Llama new
- LM Studio
- Jan
- Ollama
How to use Infinix-io/ZONOS3-Mini with Ollama:
ollama run hf.co/Infinix-io/ZONOS3-Mini
- Unsloth Desktop
- Docker Model Runner
How to use Infinix-io/ZONOS3-Mini with Docker Model Runner:
docker model run hf.co/Infinix-io/ZONOS3-Mini
- Lemonade
How to use Infinix-io/ZONOS3-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Infinix-io/ZONOS3-Mini
Run and chat with the model
lemonade run user.ZONOS3-Mini-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
File size: 565 Bytes
ab402f8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | {
"3n_600k_sched600k_r4096": {
"key": "3n_600k_sched600k_r4096",
"codec": "opus_dual_3n_600k_sched600k_r4096_step600000",
"family": "dual",
"codebooks": 10,
"codebook_sizes": [
4096,
4096,
4096,
4096,
4096,
4096,
4096,
4096,
4096,
4096
],
"hop": 2940,
"frame_rate": 15.0,
"codec_step": 600000,
"checkpoint": "autoencoder/generator.pt",
"decoder": {
"kind": "istft_mr",
"campaign": "autoencoder/heads/keep2_plain",
"checkpoint": "step_0050000.pt",
"expect_step": 50000,
"headroom_db": 3.0
}
}
}
|