HaloFPX runs Ornith, Qwen, Nemotron and DeepSeek models optimized — every model in the zoo ships with a hand-tuned quantization preset, KV-cache profile, backend selection and speculative-decoding config that was benchmarked on real Strix Halo silicon, not guessed.
It is a unified, high-performance model serving daemon, model zoo manager, and CLI engineered specifically for AMD Strix Halo (Ryzen AI Max APUs / 64GB–128GB UMA) and AMD Radeon GPUs.
Inspired by Lemonade Server, it provides a seamless single-endpoint architecture that manages downloading quantized ROCmFPX/ROCmFP4 models from Hugging Face (weights and vision projectors, checksum-verified), dynamically hot-swapping models in unified memory or dedicated VRAM, and serving high-throughput OpenAI-compatible endpoints powered by Mesa RADV Wave64 cooperative matrices (KHR_coopmat) and MTP (Multi-Token Prediction) Speculative Decoding.
The zoo's current headliner, validated end-to-end on Ryzen AI Max+ 395 (Radeon 8060S):
| Metric | Result |
|---|---|
| Decode throughput | 76.9 tok/s (+7.5% vs stock Q4_K_M, −16.7% size) |
| Context window | 262,144 tokens — full training capacity, validated clean load |
| Long-context speed | 58.5 tok/s decode / 140 tok/s prefill @ 262K |
| Quality | Perplexity within 5.5% of Q4_K_M (5.95 vs 5.64, wikitext-2) |
| Vision | ✅ Multimodal — BF16 projector pulled & served automatically |
| Tuning | MTP measured as a net loss on this arch → shipped disabled, cache mode enabled |
One command gets all of it — weights, vision projector, checksums:
halofpx pull ornith-1.5-35b
halofpx serve -m ornith-1.5-35b- julianmb/q38rocm: Dedicated single-model deep-dive and standalone deployment package specifically for Qwen 3.8 27B on AMD Strix Halo.
- charlie12345/ROCmFPX: Upstream inference engine and RDNA cooperative matrix kernel toolchain.
- 📦 Unified Model Zoo: Download, verify, and serve pre-quantized models (Ornith 1.5 35B, Qwen 3.8 27B, Nemotron 3.5 30B, DeepSeek V4 Flash, Laguna S 2.1) directly from Hugging Face.
- 🎯 Per-Model Optimization Profiles: Each model carries a benchmarked
run_config— quant preset, KV-cache types, backend preference, MTP on/off — applied automatically on load. No flag archaeology. - 👁️ Automatic Vision (Multimodal): Models with a projector (
ornith-1.5-35b) pull and verify theirmmprojalongside the weights; image prompts work over the standard OpenAI API. - 📏 Validated Long Context: Ornith validated at the full 262K training context; TurboQuant KV enables 4-slot × 131K contexts (524K total tokens) in unified memory with zero OOM.
- 🎮 Dynamic AMD Hardware Detection: Auto-detects compute targets (
gfx1151,gfx1201, etc.) and applies hardware-specific execution flags. - 🔄 Hot-Swappable Memory Management: Dynamically load and unload models into available unified memory or dedicated VRAM with automatic GPU memory reclamation.
- ⚡ Dual-Backend Hardware Acceleration:
- Vulkan0 (Mesa RADV Wave64): Fastest token decode and MTP speculative tree verification (up to 36 tok/s on 27B).
- ROCm0 (HIP): High-throughput prompt evaluation / prefill processing (up to 390+ tok/s).
- 🚀 Measured Speed Increase Over Standard GGUF: ROCmFP4/ROCmFP4_FAST quants beat stock
Q4_K_Min decode throughput and size on Strix Halo (gfx1151). See the benchmark table below. - 🔒 Optional API Key Authentication: Secure your endpoints via
HALOFPX_API_KEY(disabled by default for local development). - 🦙 Ollama-Compatible API:
/api/tags,/api/chat,/api/generateand/api/versionlet existing Ollama clients and tools work against halofpx drop-in. - 🌐 Standard OpenAI API & Management API: Standard
/v1/chat/completions(with streaming SSE) plus/api/v1/{pull, load, unload, status, system-info}endpoints on a single port (8010). - 🐳 Modular Docker Compose: Run lightweight standalone or pair with Open WebUI via
--profile webui.
All models ship pre-optimized. Measured decode on Ryzen AI Max+ 395 (gfx1151):
| Model ID | Display Name | Category | Default Quant | Measured Decode (bare / MTP) | Min VRAM | HF Repository |
|---|---|---|---|---|---|---|
ornith-1.5-35b ⭐ |
Ornith 1.5 35B-A3B MoE | Agentic Coding / Vision MoE | ROCmFP4 (18.2G) |
76.9 / n/a (MTP net loss — off) | 22 GB | julianmb/Ornith-1.5-35B-A3B-ROCmFP4-GGUF |
qwen38-27b |
Qwen 3.8 / 27B UltraQuality | Dense / Reasoning | ROCmFP4_FAST (13.5G) |
14.0 / 🔥 30.6–36.0 tok/s | 16 GB | julianmb/Qwen-3.8-27B-ROCmFP4-FAST-GGUF |
nemotron-3.5-30b |
NVIDIA Nemotron 3.5 Lightning 30B | High-Speed MoE | ROCmFP4_FAST (14.8G) |
52.4 / 🔥 84.5–95.2 tok/s | 16 GB | julianmb/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-ROCmFP4-GGUF |
ornith-35b |
Ornith 1.0 35B ROCmFPX | Multi-Slot Agent | ROCmFPX_Speed (19.2G) |
11.2 / 115+ tok/s (16 slots) | 22 GB | julianmb/Ornith-1.0-35B-ROCmFPX-StrixHalo |
qwen38-flash-next |
Qwen 3.8 Flash Next 125B MoE | Next-Gen MoE / Hybrid Attention | UD-IQ1_S (67.5G) |
27.3 tok/s (measured bring-up) | 68 GB | unsloth/Qwen3.8-Flash-Next-GGUF |
deepseek-v4-flash |
DeepSeek V4 Flash 284B MoE | Ultra-Scale MoE | IQ2_XXS (86.7G) |
22.5 / 32.0 tok/s | 90 GB (128GB Strix) | julianmb/DeepSeek-V4-Flash-0731-IQ2XXS-STRIX |
laguna-s21 |
Laguna S 2.1 StrixKVSpine v4 | General Chat | ROCmFP4_StrixKVSpine (61.2G) |
— | 64 GB | julianmb/Laguna-S-2.1-ROCmFP4-StrixKVSpine-v4 |
⭐ = flagship, vision-capable. Full methodology: docs/BENCHMARKS.md.
👉 See Hardware Support & VRAM Sizing Guide (docs/HARDWARE_SUPPORT.md) for memory sizing tables across AMD APUs and discrete GPUs.
Measured on AMD Ryzen AI Max+ 395 (Radeon 8060S, gfx1151, Mesa RADV Wave64) with identical prompts — ROCmFP4-family quants beat stock Q4_K_M on decode speed and model size:
| Model | Stock Q4_K_M |
ROCmFP4 / ROCmFP4_FAST | Decode Speedup | Size Savings |
|---|---|---|---|---|
| Qwen 3.8 27B | 15.92 GiB — 12.35 tok/s | 13.55 GiB — 14.02 tok/s | +13.5% | −14.9% |
| Ornith 1.5 35B-A3B | 21.80 GiB — 71.5–71.7 tok/s | 18.16 GiB — 76.9 tok/s | +7.5% | −16.7% |
Additional gains over stock GGUF on Strix Halo:
- Prefill: ROCmFP4 quant blocks map directly to RDNA 3.5 cooperative-matrix (
KHR_coopmat) operands — faster prompt evaluation at equal context, without the multi-scale dequantization overhead ofQ4_Kblocks. - Combined with MTP speculative decoding (Qwen 3.8 27B,
n4/p0.0): 33.8 tok/s sustained = 2.40× over stock baseline (12.35 tok/s). - KV cache: TurboQuant KV (
q8_0) shrinks memory footprint, enabling 4-slot × 131K contexts (524K total tokens) in unified memory with zero OOM.
Full methodology and raw numbers: docs/BENCHMARKS.md.
# Clone the repository
git clone https://github.com/julianmb/halofpx.git
cd halofpx
# Install Python requirements and CLI
pip install -r requirements.txt
pip install -e .
# Set up environment variables
source ./scripts/setup_env.shhalofpx list # see what's cached, incl. vision readiness
# Pull weights + vision projector, SHA256-verified (18.2G + 0.9G)
halofpx pull ornith-1.5-35b
# Serve with the tuned profile applied automatically:
# ROCmFP4 quant, q8_0 KV cache, cache mode on, MTP off (measured optimum)
halofpx serve -m ornith-1.5-35bPoint any OpenAI client at http://localhost:8010/v1 — text and image prompts both work.
# Qwen 3.8 27B — single-user interactive chat (n5 / p0.50 burst MTP)
halofpx load qwen38-27b --draft-n 5 --draft-p 0.50
# Parallel multi-agent concurrency (4 slots -> ~40.5 tok/s aggregate)
halofpx load qwen38-27b --slots 4 --draft-n 6 --draft-p 0.60
# High-speed MoE @ up to 95 tok/s
halofpx load nemotron-3.5-30b
# Check active model status and APU telemetry
halofpx status
# Unload model from memory
halofpx unloadConnect your local tools to http://localhost:8010/v1:
- Open WebUI: Set Base URL to
http://localhost:8010/v1and API Key tosk-no-key. - Continue.dev: Add
halofpxas provider in~/.continue/config.json. - Cursor IDE: Override OpenAI Base URL to
http://localhost:8010/v1.
👉 See the complete Client Integration Guide (docs/CLIENT_INTEGRATION.md).
Runs only the high-performance HaloFPX server (zero extra RAM overhead for web frontends):
docker compose up -d- API Endpoint:
http://localhost:8010/v1
Runs both the backend server and Open WebUI in a unified stack:
docker compose --profile webui up -d- HaloFPX API:
http://localhost:8010/v1 - Open WebUI:
http://localhost:3000
docker run -d -p 8010:8010 \
--device=/dev/kfd --device=/dev/dri \
--group-add video --group-add render \
--ipc=host \
-v $(pwd)/models:/app/models \
-v ~/.cache/huggingface/hub:/root/.cache/huggingface/hub \
--name halofpx-server \
ghcr.io/julianmb/halofpx:latest👉 See the complete Docker Deployment Guide (docs/DOCKER_GUIDE.md) for GPU passthrough prerequisites, container CLI commands, and local builds.
HaloFPX wraps and orchestrates the charlie12345/ROCmFPX engine, compiling directly against pinned builds (e87d53e (213)) or downloading pre-compiled Strix Halo binaries via ./scripts/build_engine.sh --prebuilt.
Apache 2.0 License.