Instructions to use Frosty40/ZONOS3-Mini-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Frosty40/ZONOS3-Mini-Turbo 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 Frosty40/ZONOS3-Mini-Turbo # Run inference directly in the terminal: llama cli -hf Frosty40/ZONOS3-Mini-Turbo
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Frosty40/ZONOS3-Mini-Turbo # Run inference directly in the terminal: llama cli -hf Frosty40/ZONOS3-Mini-Turbo
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 Frosty40/ZONOS3-Mini-Turbo # Run inference directly in the terminal: ./build/bin/llama cli -hf Frosty40/ZONOS3-Mini-Turbo
Use Docker
docker model run hf.co/Frosty40/ZONOS3-Mini-Turbo
- Llama new
- LM Studio
- Jan
- Ollama
How to use Frosty40/ZONOS3-Mini-Turbo with Ollama:
ollama run hf.co/Frosty40/ZONOS3-Mini-Turbo
- Unsloth Desktop
- Docker Model Runner
How to use Frosty40/ZONOS3-Mini-Turbo with Docker Model Runner:
docker model run hf.co/Frosty40/ZONOS3-Mini-Turbo
- Lemonade
How to use Frosty40/ZONOS3-Mini-Turbo with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Frosty40/ZONOS3-Mini-Turbo
Run and chat with the model
lemonade run user.ZONOS3-Mini-Turbo-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download scripts/summarize.py from Frosty40/ZONOS3-Mini-Turbo: direct link, hf CLI and curl.
- Browser
- Download file 2.35 kB
-
https://huggingface.co/Frosty40/ZONOS3-Mini-Turbo/resolve/main/scripts/summarize.py
- Command line
-
hf download hf://Frosty40/ZONOS3-Mini-Turbo/scripts/summarize.py
-
curl -L -o summarize.py https://huggingface.co/Frosty40/ZONOS3-Mini-Turbo/resolve/main/scripts/summarize.py
2.35 kB
| """Per-device card numbers from one bench_device.sh run: per-voice-count stalls and throughput, the largest voice count | |
| with no stall in every round (and none below it), audio s/s at 8 and 16 voices, one-voice time to first audio, WER.""" | |
| import collections, json, os, re, statistics as st, sys | |
| d = sys.argv[1] | |
| def load(f): | |
| p = os.path.join(d, f) | |
| return [json.loads(l) for l in open(p) if l.strip().startswith("{")] if os.path.exists(p) else [] | |
| sides = ["stock", "turbo"] | |
| rows = {s: collections.defaultdict(list) for s in sides} | |
| for s in sides: | |
| for f in (f"cap-{s}.jsonl", f"cap-{s}b.jsonl"): | |
| for r in load(f): | |
| rows[s][r["conc"]].append(r) | |
| concs = sorted(set().union(*[rows[s].keys() for s in sides])) | |
| print("voices | " + " | ".join(f"{s} clean rounds | {s} longest stall ms | {s} audio s/s (mean)" for s in sides) + " | failed requests") | |
| for c in concs: | |
| out, errs = [str(c)], 0 | |
| for s in sides: | |
| rs = rows[s][c] | |
| if not rs: | |
| out += ["-", "-", "-"]; continue | |
| out += [f"{sum(r['stalled_b200'] == 0 for r in rs)}/{len(rs)}", f"{max(r['worst_ms_b200'] for r in rs):.0f}", | |
| f"{st.mean(r['audio_s_per_wall_s'] for r in rs):.1f}"] | |
| errs += sum(len(r["errors"]) + (r["conc"] - r["ok"]) for r in rs) | |
| print(" | ".join(out + [str(errs)])) | |
| print() | |
| for s in sides: | |
| live = 0 | |
| for c in concs: | |
| rs = rows[s][c] | |
| if rs and all(r["stalled_b200"] == 0 and r["ok"] == c and not r["errors"] for r in rs): | |
| live = c | |
| else: | |
| break | |
| s8 = [r["audio_s_per_wall_s"] for r in rows[s].get(8, [])] | |
| s16 = [r["audio_s_per_wall_s"] for r in rows[s].get(16, [])] | |
| t = [r["ttfa_ms_median"] for r in load(f"ttfa-{s}.jsonl")] | |
| wer = None | |
| p = os.path.join(d, "rescore.log") | |
| if os.path.exists(p): | |
| m = re.search(rf"RESCORE \S*wer-{s} (\{{.*\}})", open(p).read()) | |
| wer = json.loads(m.group(1)) if m else None | |
| print(json.dumps(dict(side=s, live_voices_no_stall=live, rounds=len(rows[s].get(concs[0], [])) if concs else 0, | |
| audio_s_per_s_at_8=round(st.mean(s8), 1) if s8 else None, | |
| audio_s_per_s_at_16=round(st.mean(s16), 1) if s16 else None, | |
| ttfa_ms_one_voice_median=st.median(t) if t else None, ttfa_n=len(t), wer=wer))) | |