Views
No views yet
1brew tap konjoai/squish
2brew install squish
3squish run qwen3:8bsquish run qwen3:8b pulls these exact weights
(squishai/Qwen3-8B-bf16-squished) and starts a local OpenAI/Ollama-compatible server on
port 11435. That's the whole setup: no cloud, no API keys, fully offline.| Metric | Ollama | Squish |
|---|---|---|
| Full response @ 4,000-token prompt | 37.5 s | 3.8 s (up to 9.8× faster) |
| Cold start (load + first token, 1.5B) | 20–30 s | ≈ 0.5 s |
| Peak RAM during inference | 5.14 GB | 3.50 GB |
| Disk (7B INT4) | 4.36 GB | 4.00 GB |
| Property | Value |
|---|---|
| Base model | mlx-community/Qwen3-8B-bf16 |
| Developer | Alibaba Cloud |
| Parameters | 8B |
| Quantization | INT4 (4-bit, group size 64, affine) |
| Size on disk | 4.6 GB squished, from 16.4 GB bf16 (~72% smaller) |
| Context window | 40,960 tokens |
| Format | MLX safetensors |
| Requires | Apple Silicon (M1–M5), macOS 13+ |
1# OpenAI-compatible endpoint (port 11435)
2curl http://localhost:11435/v1/chat/completions \
3 -H "Content-Type: application/json" \
4 -d '{"model":"qwen3:8b","messages":[{"role":"user","content":"Hello"}]}'1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:11435/v1", api_key="squish")
4resp = client.chat.completions.create(
5 model="qwen3:8b",
6 messages=[{"role": "user", "content": "Hello"}],
7)
8print(resp.choices[0].message.content)mlx_lm:1from mlx_lm import load, generate
2
3model, tokenizer = load("squishai/Qwen3-8B-bf16-squished")
4print(generate(model, tokenizer, prompt="Hello", max_tokens=100))squish-ai