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-aligned 2.29 GiB Q4M3 + Q8Head 1-shot DMA arena + native Ada FP8 cublasLt Tensor-Core prefill + pure-register PTX mma.sync FlashAttention-2 + lossless GPU EAGLE-3 speculative decoding (124 tok/s median / 156 tok/s peak, 6,801 / 7,253 tok/s prefill, 1.1 s boot, 25.2 ms TTFT, 3.65 GiB VRAM).
  • Shared-VRAM Multi-Worker CUDA IPC: Additional isolated worker processes attach to already-loaded GPU weights in 245 ms with 0 MiB extra weight VRAM (4.89 GiB total for 2 live concurrent workers on a single 24 GiB L4).
  • Apple Silicon (darwin/arm64/hvf-metal): 6,896 B bare-metal ARM64 EL1h kernel + Q4M3 (2.50 GiB) + Q8_0 32K KV cache + GPU EAGLE-3 Tree-8 (58โ€“103 tok/s on Apple M3, ~87 ms warm MAP_SHARED boot).
  • OpenAI-compatible: Served via bared on http://127.0.0.1:8080/v1/chat/completions with 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

Downloads last month
144
GGUF
Model size
4B params
Architecture
qwen3
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

Quantized
(415)
this model