Downloads · 30 days
9.8K
11% of all-time downloads
julianmb/Qwen-3.8-27B-ROCmFP4-FAST-GGUF
Qwen-3.8-27B-ROCmFP4-FAST-GGUF is a text generation model from julianmb. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
[](https://github.com/julianmb/halofpx) [](https://github.com/julianmb/q38rocm) [](https://www.amd.com)
Downloads · 30 days
9.8K
11% of all-time downloads
All-time downloads
85.9K
Public
Repo size
92.6 GB
Likes
54
Public
Click a slice to open those files.
.gguf92.6 GB · 100%
From the Hugging Face model README
This repository contains optimized ROCmFP4 and ROCmFP8 GGUF releases of Qwen 3.8 27B, custom-engineered for AMD Strix Halo (Ryzen AI Max+ 395 / Radeon 8060S) and AMD Radeon discrete GPUs.
🛠️ Unified HaloFPX Server: github.com/julianmb/halofpx (Multi-model zoo, hot-swapping, OpenAI API)
📖 Qwen 3.8 Dedicated Deep-Dive: github.com/julianmb/q38rocm (Standalone optimization report, benchmarks & tuning)
| File Name | Precision | File Size | Raw Decode | MTP Speculative Decode | Best For |
|---|---|---|---|---|---|
Qwen3.8-27B-ROCmFP4-FAST.gguf | 4.26 bpw | 13.55 GiB | 14.02 tok/s | 🔥 30.56 – 36.04 tok/s | Maximum Speed (Gold Standard, Fits 16GB+ GPUs) |
Qwen3.8-27B-ROCmFP8.gguf | 8.25 bpw | 26.25 GiB | 7.66 tok/s | 18.96 tok/s | Maximum Precision (<0.003 PPL loss vs FP16) |
Qwen3.8-27B-ROCmFP4-STRIX_LEAN.gguf | 4.34 bpw | 13.82 GiB | 13.90 tok/s | 30.00 – 34.00 tok/s | FP16 embeddings & norm preservation |
Qwen3.8-27B-Q3_K_S.gguf | 3.59 bpw | 11.40 GiB | 16.69 tok/s | 20.44 – 26.11 tok/s | Fastest unassisted decode |
Qwen3.8-27B-Q3_K_M.gguf | 3.95 bpw | 12.56 GiB | 15.15 tok/s | 25.00 – 28.50 tok/s | Balanced 3-bit medium quantization |
Qwen3.8-27B-ROCmFP2.gguf | 2.69 bpw | 8.56 GiB | 12.82 tok/s | 17.50 – 19.00 tok/s | Ultra-compact memory footprint |
In auto-regressive decoding, generation speed is physically bound by memory bandwidth:
⚠️ Scope note: All NPU benchmarks below were only tested on Qwen 3.8 27B (dense, ROCmFP4_FAST).
Strix Halo features a 50 TOPS XDNA 2 NPU (/dev/accel/accel0). Extensive empirical benchmarking demonstrates:
scripts/run_pipeline.py).docs/NPU_INTEGRATION.md for complete setup instructions.Measured on AMD Ryzen AI Max+ 395 (40 CU Radeon 8060S @ 2.9 GHz, 128 GB 256-bit LPDDR5X, Linux 7.0, Mesa 26.0 RADV):
| Optimization Profile | Model Size | Unassisted Decode (Measured) | MTP Speculative Decode (Measured) | Speedup vs Baseline | TTFT (Prompt Eval) (Measured) |
|---|---|---|---|---|---|
Stock Q4_K_M (Baseline) | 15.92 GiB | 12.27 tok/s | N/A | 1.00× | 526.7 ms |
ROCmFP4_FAST (This Model) | 13.55 GiB | 14.02 tok/s | N/A | 1.14× | 468.3 ms |
ROCmFP4_FAST + Strict Greedy MTP | 13.55 GiB | 14.02 tok/s | 34.82 tok/s | 2.84× | 442.8 ms |
ROCmFP4_FAST + Sustained MTP (K=4) | 13.55 GiB | 14.02 tok/s | 33.80 tok/s sustained | 2.40× | 510.0 ms |
ROCmFP4_FAST + MTP (n6/p0.60) | 13.55 GiB | 14.02 tok/s | 30.56 – 34.82 tok/s | 2.50× – 2.84× | 439.4 ms |
ROCmFP4_FAST + Deep Spec (n7/p0.35) | 13.55 GiB | 14.02 tok/s | 🔥 36.04 tok/s (JSON/Code) | 🔥 2.94× | 445.8 ms |
Using Asymmetric TurboQuant KV cache (-ctk q8_0 -ctv turbo4):
| Context Window | Model Weights | TurboQuant KV Cache | Total RAM Footprint |
|---|---|---|---|
| 8K tokens | 13.55 GiB | 0.62 GiB | 14.17 GiB (Fits 16GB VRAM) |
| 16K tokens | 13.55 GiB | 1.23 GiB | 14.78 GiB (Fits 16GB VRAM) |
| 32K tokens | 13.55 GiB | 2.45 GiB | 16.00 GiB (Ideal for 64GB Strix Halo) |
| 64K tokens | 13.55 GiB | 4.90 GiB | 18.45 GiB |
| 128K tokens | 13.55 GiB | 9.80 GiB | 23.35 GiB |
| 262K tokens (Full) | 13.55 GiB | 20.08 GiB | 33.63 GiB |
# Download ROCmFP4_FAST (13.55 GiB)
hf download julianmb/Qwen-3.8-27B-ROCmFP4-FAST-GGUF Qwen3.8-27B-ROCmFP4-FAST.gguf --local-dir .
# Or download ROCmFP8 (Zero-loss 8-bit precision, 26.25 GiB)
hf download julianmb/Qwen-3.8-27B-ROCmFP4-FAST-GGUF Qwen3.8-27B-ROCmFP8.gguf --local-dir .
HaloFPX (Recommended Multi-Model Server)git clone https://github.com/julianmb/halofpx.git
cd halofpx
pip install -e .
halofpx load qwen38-27b
q38rocmgit clone https://github.com/julianmb/q38rocm.git
cd q38rocm
./quickstart.sh
e87d53e (213)).gfx1151) and AMD discrete Radeon GPUs.Independent perplexity checks (llama-perplexity, ROCm0, ctx 512):
| Build | PPL ↓ |
|---|---|
ROCmFP4_FAST (this repo, original build) | 7.205 ± 0.121 |
ROCmFP4_FAST requantized from unsloth Q8_0 | 7.138 ± 0.120 |
Speed is statistically identical between both builds (13.56 vs 13.64 tg128) — decode is bandwidth-bound. Requantizing any high-precision source (Q8_0/BF16, --allow-requantize) into ROCmFP4 presets is a validated recipe; avoid k-quant sources (double quantization).
llama-batched-bench, tg128 per-sequence throughput, Vulkan0:
| Verify batch | tok/s/seq |
|---|---|
| 1 | 13.53 |
| 8 | 55.44 (4.1×) |
Speculative decoding converts memory-bandwidth headroom into tokens: the flat batch-cost curve is what makes MTP's ~2.5× sustained gain possible.