Text Generation
GGUF
English
llama.cpp
ternary
1.58-bit
quantization
q2_k
tq2_0
qwen3
edge
cpu
vulkan
conversational
Instructions to use vinpix/Bonsai-8B-llama.cpp 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 vinpix/Bonsai-8B-llama.cpp 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 vinpix/Bonsai-8B-llama.cpp:Q2_K # Run inference directly in the terminal: llama cli -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf vinpix/Bonsai-8B-llama.cpp:Q2_K # Run inference directly in the terminal: llama cli -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
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 vinpix/Bonsai-8B-llama.cpp:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
Use Docker
docker model run hf.co/vinpix/Bonsai-8B-llama.cpp:Q2_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use vinpix/Bonsai-8B-llama.cpp with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vinpix/Bonsai-8B-llama.cpp" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vinpix/Bonsai-8B-llama.cpp", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/vinpix/Bonsai-8B-llama.cpp:Q2_K
- Ollama
How to use vinpix/Bonsai-8B-llama.cpp with Ollama:
ollama run hf.co/vinpix/Bonsai-8B-llama.cpp:Q2_K
- Unsloth Desktop
- Pi
How to use vinpix/Bonsai-8B-llama.cpp with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "vinpix/Bonsai-8B-llama.cpp:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use vinpix/Bonsai-8B-llama.cpp with Docker Model Runner:
docker model run hf.co/vinpix/Bonsai-8B-llama.cpp:Q2_K
- Lemonade
How to use vinpix/Bonsai-8B-llama.cpp with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vinpix/Bonsai-8B-llama.cpp:Q2_K
Run and chat with the model
lemonade run user.Bonsai-8B-llama.cpp-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use vinpix/Bonsai-8B-llama.cpp with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
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:8080/v1 hermes config set model.default vinpix/Bonsai-8B-llama.cpp:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use vinpix/Bonsai-8B-llama.cpp with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf vinpix/Bonsai-8B-llama.cpp:Q2_K
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:8080/v1 \ --custom-model-id "vinpix/Bonsai-8B-llama.cpp:Q2_K" \ --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"
Commit History
-
Upload README.md with huggingface_hub
Verified signature82bd827 -
Upload folder using huggingface_hub
Verified signaturea902823
-
Model card v3: imatrix head, honest zero-exact vs imatrix comparison, multi-seq
Verified signature6f26c5c -
TQ2_0 v2: Q3_K output head + imatrix (+2% tg, better PPL 12.26, -85MB)
Verified signature71e7301
-
Fix sign-accuracy framing; make card hardware-agnostic; add ik_llama.cpp guide
Verified signaturec452ecd -
Fix sign-accuracy framing (zero-error, not sign-error) + add ik_llama.cpp pp result
Verified signaturea54dbc2
-
Update model card: TQ2_0 (CPU) + Q2_KT (GPU) unified card
Verified signature8d289c9 -
Remove duplicate: renamed to Bonsai-8B-TQ2_0.gguf
Verified signature6a4c621 -
Add TQ2_0 (CPU) + Q2_KT (GPU-portable, ternary-aware zero-exact) with unified model card
Verified signature176e399 -
Delete Bonsai-8B-Q2K.gguf
Verified signature34a5266 -
Upload Bonsai-8B-Q2K.gguf
Verified signaturee010987
-
New model card: modern layout, TQ2_0 only, 64k context
Verified signature368c4fb -
Rewrite model card: TQ2_0 only, accurate 64k context, verified technical details
Verified signature7dce48e -
Remove TQ1_0 variant; keep TQ2_0 only for portability and reliability
Verified signature48fe896
-
Revise model card: KLD-verified equivalence of TQ1_0/TQ2_0, remove hardware-specific speed claims, clarify quantization rationale
Verified signature549a39a
-
Upload README.md with huggingface_hub
Verified signature6a9c39a -
Upload README.md with huggingface_hub
Verified signaturea07609f -
Upload README.md with huggingface_hub
Verified signature959b604 -
Upload Bonsai-8B-TQ1_0-Q4out-llamacpp.gguf with huggingface_hub
Verified signatured47e54c
-
Upload README.md with huggingface_hub
Verified signature69cecec
-
Upload README.md with huggingface_hub
Verified signature77396fd
-
Upload LICENSE with huggingface_hub
Verified signatureab04e22 -
Upload Bonsai-8B-TQ2_0-Q4out-llamacpp.gguf with huggingface_hub
Verified signature6aa46e3 -
Upload README.md with huggingface_hub
Verified signature008bd1b -
initial commit
Verified signature427f526