Instructions to use lilyanatia/Bonsai-1.7B-requantized 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 lilyanatia/Bonsai-1.7B-requantized 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 lilyanatia/Bonsai-1.7B-requantized:IQ1_S # Run inference directly in the terminal: llama cli -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S # Run inference directly in the terminal: llama cli -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S # Run inference directly in the terminal: ./llama-cli -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Use Docker
docker model run hf.co/lilyanatia/Bonsai-1.7B-requantized:IQ1_S
- LM Studio
- Jan
- Ollama
How to use lilyanatia/Bonsai-1.7B-requantized with Ollama:
ollama run hf.co/lilyanatia/Bonsai-1.7B-requantized:IQ1_S
- Unsloth Desktop
- Pi
How to use lilyanatia/Bonsai-1.7B-requantized with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
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": "lilyanatia/Bonsai-1.7B-requantized:IQ1_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use lilyanatia/Bonsai-1.7B-requantized with Docker Model Runner:
docker model run hf.co/lilyanatia/Bonsai-1.7B-requantized:IQ1_S
- Lemonade
How to use lilyanatia/Bonsai-1.7B-requantized with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Run and chat with the model
lemonade run user.Bonsai-1.7B-requantized-IQ1_S
List all available models
lemonade list
- Hermes Agent
How to use lilyanatia/Bonsai-1.7B-requantized with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
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 lilyanatia/Bonsai-1.7B-requantized:IQ1_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use lilyanatia/Bonsai-1.7B-requantized with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lilyanatia/Bonsai-1.7B-requantized:IQ1_S
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 "lilyanatia/Bonsai-1.7B-requantized:IQ1_S" \ --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"
License clarification — adding to 1bit-systems package manager
Hey — first off, thanks for the requants. We've been benchmarking these
on AMD Strix Halo (gfx1151) as part of our open-source 1bit-systems
stack and the IQ1_S 1.7B (404 MB) hits 281 tok/s decode through
mainline llama.cpp (Vulkan) without needing the PrismML fork, which is
a huge unlock for AMD edge inference. Bench writeup:
https://github.com/bong-water-water-bong/1bit-systems/blob/main/benchmarks/RESULTS-1bit-2026-04-26.md
Quick license question: the upstream prism-ml/Bonsai-*-unpacked
checkpoints are Apache-2.0, but the model card on this repo doesn't
state the license explicitly. We'd love to ship these via our package
manager (1bit install <component>) but want to confirm before
redistributing. Could you add a license line to the README — Apache-2.0
inherited, or whatever you intend?
No rush, just clarity. Thanks again for the repacks!