GGUF
runbare
bare-metal
llm-microvm
qwen3
eagle3
apple-silicon
cuda
nvidia-l4
kvm
q4m3
zero-copy
no-gguf
imatrix
conversational
Instructions to use tlpinney/runbare-qwen3-4b 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 tlpinney/runbare-qwen3-4b 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 tlpinney/runbare-qwen3-4b:Q8_0 # Run inference directly in the terminal: llama cli -hf tlpinney/runbare-qwen3-4b:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tlpinney/runbare-qwen3-4b:Q8_0 # Run inference directly in the terminal: llama cli -hf tlpinney/runbare-qwen3-4b:Q8_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 tlpinney/runbare-qwen3-4b:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf tlpinney/runbare-qwen3-4b:Q8_0
Use Docker
docker model run hf.co/tlpinney/runbare-qwen3-4b:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use tlpinney/runbare-qwen3-4b with Ollama:
ollama run hf.co/tlpinney/runbare-qwen3-4b:Q8_0
- Unsloth Desktop
- Pi
How to use tlpinney/runbare-qwen3-4b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tlpinney/runbare-qwen3-4b:Q8_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": "tlpinney/runbare-qwen3-4b:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tlpinney/runbare-qwen3-4b with Docker Model Runner:
docker model run hf.co/tlpinney/runbare-qwen3-4b:Q8_0
- Lemonade
How to use tlpinney/runbare-qwen3-4b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tlpinney/runbare-qwen3-4b:Q8_0
Run and chat with the model
lemonade run user.runbare-qwen3-4b-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use tlpinney/runbare-qwen3-4b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tlpinney/runbare-qwen3-4b:Q8_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 tlpinney/runbare-qwen3-4b:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tlpinney/runbare-qwen3-4b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tlpinney/runbare-qwen3-4b:Q8_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 "tlpinney/runbare-qwen3-4b:Q8_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"
runbare-qwen3-4b
Qwen3-4B-Instruct-2507 packaged as a multi-architecture OS-less bare-metal & CUDA image for runbare (bare / bared).
Highlights
- NVIDIA Ada (
sm_89/ L4) CUDA: Page-aligned2.29 GiBQ4M3 + Q8Head1-shot DMA arena + native Ada FP8cublasLtTensor-Core prefill + pure-register PTXmma.syncFlashAttention-2 + lossless GPU EAGLE-3 speculative decoding (124 tok/smedian /156 tok/speak,6,801/7,253 tok/sprefill,1.1 sboot,25.2 msTTFT,3.65 GiBVRAM). - Shared-VRAM Multi-Worker CUDA IPC: Additional isolated worker processes attach to already-loaded GPU weights in
245 mswith0 MiBextra weight VRAM (4.89 GiBtotal for 2 live concurrent workers on a single 24 GiB L4). - Apple Silicon (
darwin/arm64/hvf-metal):6,896 Bbare-metal ARM64 EL1h kernel +Q4M3(2.50 GiB) +Q8_032K KV cache + GPU EAGLE-3 Tree-8 (58โ103 tok/son Apple M3, ~87 ms warmMAP_SHAREDboot). - OpenAI-compatible: Served via
baredonhttp://127.0.0.1:8080/v1/chat/completionswith scale-to-zero auto-boot.
Benchmarks (NVIDIA L4 24 GiB, sm_89)
6-prompt temperature=0.0 suite (3,072 generated tokens, all ok: true, zero quality flags):
Engine (Qwen3-4B-Instruct-2507, NVIDIA L4) |
Startup | TTFT (short) | c1_decode (tok/s) |
prefill_512 |
prefill_2048 |
Peak VRAM |
|---|---|---|---|---|---|---|
runbare (Q4M3 + EAGLE-3) |
1.1 s |
25.2 ms |
123.98 *(peak 155.5)* |
6,800.6 |
7,253.2 (raw 8,234) |
3.65 GiB |
runbare (Q4M3, no EAGLE) |
1.0 s |
19.2 ms |
81.88 |
7,150.0 |
7,005.5 |
3.44 GiB |
SGLang 0.5.23 (FP8) |
236.2 s |
9,498.5 ms |
44.86 |
6,589.7 |
6,795.9 |
20.66 GiB |
vLLM 0.34.0 (FP8) |
228.2 s |
40.8 ms |
52.72 |
5,604.0 |
4,723.4 |
18.39 GiB |
llama-server (Q8_0 -fa on) |
3.0 s |
28.3 ms |
51.51 |
3,471.2 |
4,602.2 |
4.85 GiB |
Benchmarks (Apple M4 Mac mini 16 GiB, Aqua GUI)
Engine (Qwen3-4B-Instruct-2507, Apple M4 16 GB) |
Warm Boot | TTFT (short) | c1_decode (tok/s) |
prefill_512 |
prefill_2048 |
|---|---|---|---|---|---|
runbare (Q4M3 + EAGLE-3) |
1.6 s |
87.8 ms |
50.33 |
246.7 |
250.9 |
Mirai uzu v0.7.5 (4-bit) |
98.2 s* |
558.6 ms |
29.23 |
165.0 |
190.5 |
Apple MLX (4-bit) |
10.9 s |
108.1 ms |
22.84 |
159.4 |
204.0 |
runbare (Q8M3 + EAGLE-3 lossless) |
1.6 s |
91.6 ms |
16.20 |
160.5 |
170.2 |
llama-server (Q8_0 -fa on) |
22.2 s |
205.6 ms |
8.64 |
81.3 |
100.0 |
*Includes initial model download.
Quickstart
# 1. Install runbare (Apple Silicon, Linux amd64, Linux arm64)
curl -fsSL https://raw.githubusercontent.com/tlpinney/runbare/main/site/install.sh | sh
# 2. Install & start the background daemon
bare service install
# 3. Pull & run this model (OpenAI-compatible proxy on http://127.0.0.1:8080)
bare pull hf://tlpinney/runbare-qwen3-4b
bare run hf://tlpinney/runbare-qwen3-4b
Attribution & Licenses
- Base model:
Qwen/Qwen3-4B-Instruct-2507(Apache 2.0) - EAGLE-3 draft head:
taobao-mnn/Qwen3-4B-Instruct-2507-Eagle3(Apache 2.0)
- Downloads last month
- 144
Hardware compatibility
Log In to add your hardware
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for tlpinney/runbare-qwen3-4b
Base model
Qwen/Qwen3-4B-Instruct-2507