Text Generation
GGUF
llama.cpp
ternary
2-bit
llama-cpp
cuda
metal
on-device
hybrid-attention
agentic
tool-calling
speculative-decoding
mtp
prismml
bonsai
conversational
Instructions to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF 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 prism-ml/Ternary-Bonsai-2.5-27B-GGUF 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 prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0 # Run inference directly in the terminal: llama cli -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0 # Run inference directly in the terminal: llama cli -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
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 prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Use Docker
docker model run hf.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prism-ml/Ternary-Bonsai-2.5-27B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prism-ml/Ternary-Bonsai-2.5-27B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
- Ollama
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with Ollama:
ollama run hf.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
- Unsloth Desktop
- Pi
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with Docker Model Runner:
docker model run hf.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
- Lemonade
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Run and chat with the model
lemonade run user.Ternary-Bonsai-2.5-27B-GGUF-Q2_0
List all available models
lemonade list
- Hermes Agent
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prism-ml/Ternary-Bonsai-2.5-27B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Ternary-Bonsai-2.5-27B on RTX 3080 12GB ~130 tok/s decode, ~1255 t/s prefill
🔥 1
#35 opened 1 day ago
by
jmferrete
group 32 or g128 activate? or fold the scales into the weights?
#34 opened 1 day ago
by
xyannacomnena
DFlash2 speculative decoding (faster coding over MTP) for Ternary Bonsai 2.5 27B on stock llama.cpp (or other engines, such as Unsloth)
#33 opened 2 days ago
by
ARRANCORE
Absolutely f**reaking fantastic
❤️ 7
1
#32 opened 2 days ago
by
Mk2Oracle
Bonsai beyond benchmarks
👍 6
#31 opened 3 days ago
by
theentty
Bonsai 2.5 27B en 3060 12gb - 32gb ram (nvme)- api vscode copilot WOW!
2
#30 opened 3 days ago
by
villalc
Independent eval: PTQ1_0 on one RTX 5090, #4 of 11
🔥 3
1
#29 opened 3 days ago
by
aisyndicate
Can someone try applying YaRN / LongRoPE and extending the context size from 256K to a higher context size?
👀 1
2
#28 opened 4 days ago
by
asperatology
Ternary-Bonsai-2.5-27B on RTX 2060 SUPER 8GB — 57 tok/s with MTP, 57K context, and 2-bit V cache
2
#27 opened 4 days ago
by
mktnhr
M2 Pro / 16 GB: 14.5 → 15.3-15.8 tok/s with MTP (PQ2_0 verify fix for pre-MPP Metal)
1
#26 opened 5 days ago
by
capistran
Running Ternary Bonsai 2.5 27B as the brain of a 30-agent coding swarm, on mining cards. Thank you!
👍🔥 9
#25 opened 5 days ago
by
jajmangold
Quinary version
👍 1
1
#24 opened 5 days ago
by
primeprover
"Use this model > Ollama" points at PQ2_0, not Q2_0
1
#23 opened 6 days ago
by
rick-huggingface
Q2_0 on an RTX 5070 Ti, an extraction task against Qwen3.8-27B, and prompt-injection/refusal tests
1
#22 opened 6 days ago
by
Markproto
RX 6600 8gb card: 20 T/s at 32K context
#21 opened 6 days ago
by
Asterlet
Bonsai 2.5 27B on RTX 3070 8GB + i7-9700F + 16GB DDR4 — 64K context, 42.7 tok/s and a functional local coding agent
🔥 8
1
#20 opened 7 days ago
by
RatherBeAnonymous
Intelligence density is highly compressed
🔥 5
#19 opened 7 days ago
by
tooltd
Great Release! Model Support Request : Inkling 2 Mini
1
#18 opened 7 days ago
by
EladofWar
3080 10 GB + 32 RAM + Windows 11 = 140 t/s
🔥👍 1
3
#17 opened 7 days ago
by
FreddyKrugger
"Ternary Qwen 3.8 Flash-Next plz 🥹"
👀🔥 18
1
#16 opened 8 days ago
by
CountyAtom
RX 6600M 8GB VRAM
🔥 1
5
#15 opened 8 days ago
by
nerun
Coding agent results on an 8 GB laptop GPU: 75 of 78 tries (PTQ1_0 + MTP)
❤️ 1
8
#14 opened 8 days ago
by
majmichu1
WOW, This version is WAY BETTER FOR CODING than the previous V2.0. I'm impressed !
❤️ 3
#13 opened 8 days ago
by
avicohen
Best local model
❤️ 1
5
#12 opened 8 days ago
by
Lumieyy
Installation Video and Testing - Step by Step
🔥 3
1
#11 opened 8 days ago
by
fahdmirzac
The different of Q2_0 And PQ2_0
2
#10 opened 8 days ago
by
tientitmu
KV cache quantization
🚀 3
2
#9 opened 8 days ago
by
Green-Sky
Added MTP header and optimization, but the speed is still the same 70t/s
3
#8 opened 8 days ago
by
SuperLogic
stop processing without reason
#7 opened 8 days ago
by
ZKong
Overthinker
4
#6 opened 9 days ago
by
xvcy3w
Do Ornith1.5-9B Also
#5 opened 9 days ago
by
hrpn
Ternary-Bonsai-2.5-27B-PQ2_0, effort: xhigh, chat, "pelican riding a bicycle"😊️️️️️️ Using splash engine.
🔥 5
2
#4 opened 9 days ago
by
naildirect
Q3 version of Ternary-Bonsai 2.5 27B
👍 4
1
#3 opened 9 days ago
by
Adess3
KV Cache Tip
3
#1 opened 9 days ago
by
kotyKD