r/StrixHalo • • 5h ago

35B MoE on a single Strix Halo APU: 250K context at 3000+ tok/s prefill, 8 streams scale to 169 tok/s total

19 Upvotes

I build MBufo(https://github.com/dardeaw/MBufo) for AMD Strix Halo (gfx1151, 128GB unified memory). It started as a fork of gufo at begin, but the unreasonable parts have been rewritten — the mixed-batch path that falls back to serial under Q4/Q8/K8V4 KV, the per-model fallback matrix, the scheduler that can't tell prefill from decode. What's left of upstream is the lineage, not the architecture. The design bet: one server, one port, every model family, every quantization, real concurrency — not a benchmark demo. Qwen4-35B-A3B is just the newest proof. Numbers first.

Setup: Unsloth UD-Q4_K_M, F16 KV, thinking off, context 262144, all through HTTP, greedy, cold KV. v0.45.5 (Q4_0 MoE prefill corruption fixed, Q6_K WMMA routed MoE, dense WMMA wired in).

Prefill barely moves from 2K to 250K

Contexttok/s
2K3074
8K~3000
32K2937
128K2732
250K~2600

125x the prompt, ~15% drop.

Decode (DFlash2 speculative decoding)

Scenariotok/s
Prose (temp 0.4)81.0
Fibonacci (temp 0.4)105.0
JSON constraints (temp 0)110.0
Greedy code /128103.8
Repetitive /256218.5 (0.989 acceptance)

vs llama.cpp 4066b9d40 (qwen4exp + draft-mtp), same weights, speculative off: prefill 3090 vs 1088 (+184%), decode 62.0 vs 40.6 (+53%).

Concurrency, matched prose chat, F16 KV

Same /v1/chat/completions prose scenario on every stream, 128 tokens each:

StreamsARMTP (accept)DFlash2 (accept)
163.185.5 (73%)79.4 (63%)
290.7116.1 (79%)90.6 (plain decode)
3112.6138.4 (83%)112.7 (plain decode)
4129.5152.6 (81%)130.0 (plain decode)
6151.0153.1 (84%)152.2 (plain decode)
8165.0167.7 (81%)165.8 (plain decode)

MTP holds ~80%+ acceptance all the way to C8 and tracks AR within a few tok/s at every level — speculative decoding that actually survives concurrency. DFlash2 matches on total but falls back to plain decode past C1 on this workload (its verify path is per-session). Pick your drafter by concurrency, not by single-stream numbers.

Prefill chunks and decode rows share one forward pass with anti-starvation scheduling — a 250K prefill never blocks short requests (TTFT 0.7s guaranteed).

Caveats, stated upfront

  • Speculative decode tracks text predictability (prose ~80, repetitive 218). AR stable ~1%.
  • Functional correctness only so far (tool ladder 15/15 over 0-32K after the Q4_0 fix). No logit/KL parity yet.
  • AMD-only by design. One APU, done right, beats four cards done generically.

Also running on the NPU side (XDNA2): D3 family + Whisper-V3-Turbo served in Q4NX, embeddings/reranker/ASR/TTS verified in Q8. Happy to go deep on any of this.

Appendix: what else this engine runs (same binary, same port)

GPU models — Qwen3.8 Flash-Next 125B, Qwen4-35B-A3B, Qwen3.8 27B, Gemma 4 (26B-A4B / E4B / E2B / 12B), Qwen3.5/3.6-35B-A3B, Ornith-1.5, Tiel-Coder, GPT-OSS 20B/120B, Muse Glimmer 30B, Llama-3.1-8B, DeepSeek V4 Flash, Inkling-2-Mini, Laguna 2.1, Qwen3-Embedding / bge-m3 / EmbeddingGemma 2, bge-reranker / Qwen3-Reranker, Qwen3-ASR/TTS, Qwen-Image-2.1, MiniMax H3. Zero-downtime hot swapping, no restart.

Weight formats per engine (GGUF in, refused by tensor name if unsupported — never silently mis-decoded): K-quants through Q6_K, IQ4_NL/XS, IQ2_XXS/IQ3_S, MXFP4, ROCmFP4/FAST, F16/BF16/F32. Routed experts add Q4_0/Q4_1/Q5_0/Q5_1/Q8_0, Q2_K–Q6_K. Every model above reads at least 3 weight formats; Flash-Next and GPT-OSS add native MXFP4 GEMM.

KV is independent of weights, on every model: F16, blocked-Q8 (~half memory, exact-continuity Split-K), or 4-bit compact blocks (value/key axes independently 8/4-bit, down to 1.81 GB for a full 262K session vs 6.44 GB F16). Pick per launch, per model — e.g. Qwen4 above runs F16 for the latency tables and Q8 in production.

NPU models (XDNA2, same box) — served: D3 family + Whisper-V3-Turbo (Q4NX); verified: EmbeddingGemma 2, bge-m3, rerankers, Qwen3-ASR/TTS, FLUX.2-klein, Z-Image-Turbo (Q8, E2E cos 0.95–0.999; Q4 banned where it fails precision). GPU runs the big MoEs, NPU runs everything small.

If you find this useful, a star on MBufo is the cheapest way to keep it going. Happy to answer questions.


r/StrixHalo • • 6h ago

price development Bosgame M5 128GB

13 Upvotes
price development Bosgame M5 128GB

r/StrixHalo • • 13h ago

FEVM FAEX1 BIOS 1.11 (GorgonHaloPI) + EC 1.31 — flash guide, what changed, and the download (FEVM pulled it)

10 Upvotes

(Prepared with Qwen4 35B on strix halo with human in the loop)
Hey everyone — I flashed my FAEX1 to BIOS 1.11 / EC 1.31 yesterday and wanted to share the process, what actually changed in the firmware, and the download link (since FEVM pulled it from their site — see below).

⚠️ DISCLAIMER: Download and flash at your own risk. I've tested this on my own FAEX1 (Ryzen AI Max+ 395, 128 GB) and the NPU fix is validated in halogen, but BIOS flashing can brick your machine. Follow the instructions carefully, make sure you're on stable power, and don't flash if you're unsure.


What's in 1.11 / EC 1.31

I diffed the old and new firmware images (using agesa_scan.py from kanlas-net/fevm-faex1-bios-flash):

  • AGESA/PI train migration: StrixHaloPI-FP11 1.0.0.2b → GorgonHaloPI-FP11 1.0.0.0b (full platform train move, not just a version bump)
  • EC firmware: V9.4.0.1.29 → V9.4.0.1.31
  • New VBIOS blob: ATOMBIOSBK-AMD VER023.011.000.039.000001 (file STXHL.bin, target STRIX_HALO_GENERIC)
  • Flash tooling: the package now ships the UEFI Shell (1.06's archive was missing it)

This is AMD's Zen 5 Transient Scheduler Attack (TSA) mitigation rollout. Cross-referencing against AMD-SB-7073 (published Nov 10, 2026):

  • CVE-2024-36350 (TSA-SQ): fixed in GorgonHaloPI-FP11_1.0.0.0a (released 2026-07-08 for Ryzen AI Max 400 series)
  • CVE-2024-36357 (TSA-L1): fixed in GorgonHaloPI-FP11_1.0.0.0b — the exact build in this FEVM 1.11 package

Framework shipped the same AGESA (GorgonHaloPI-FP11 1.0.0.0b) in its Nov 4 BIOS 3.00 for the Ryzen AI Max+ PRO 400 desktop, so this is AMD's platform-wide rollout to OEMs, not a FEVM oddball.

Does it fix the GPU+NPU sync-flood lockups? The GorgonHalo train carries the platform fixes (GMK's sibling Strix Halo BIOS 1.13 shipped PMFW 10.100.16.0 two weeks earlier with the GPU+NPU Data Fabric stability improvements), but I couldn't extract a PMFW version string from the image (it's stored as binary tables, not text). The direction is consistent with the fix being present, but verify empirically: after flashing, check aie2/amdxdna init in dmesg, run a sustained GPU+NPU load, and watch for MC28/sync-flood / Data Fabric errors in kernel logs.

FEVM doesn't publish a changelog for the FAEX1, so that's what I could verify from the images and AMD's own bulletins. Note the train naming: GorgonHalo is the Ryzen AI Max+ PRO 495 platform (the FAEX2's silicon), but AMD consolidated the PI train — FEVM ships the same GorgonHaloPI-FP11 1.0.0.0b core to both boxes. The FAEX1 and FAEX2 BINs are bit-identical except for the SKU memory tables (8000 vs 8533 MT/s). That's why the FAEX1 image carries a "Gorgon" PI name despite being a Strix Halo SKU.


Download

FEVM pulled the 1.11 package from their site (it was listed at https://www.fevmpc.com/#/package-list until ~2 days ago, now gone). I still have it from my download history:

https://s28.fnnas.net/s/f9089cea4714417fa2

File: FAEX1:FAEX2_1.11_BIOS.zip (contains BIOS 1.11 + EC 1.31 for both the FAEX1 and FAEX2)

⚠️ IMPORTANT: Flash the correct BIN for your machine. The zip contains firmware for two different boxes: FAEX1 (Ryzen AI Max+ 395, Strix Halo, 8000 MT/s) and FAEX2 (Ryzen AI Max+ PRO 495, Gorgon Halo, 8533 MT/s). The PI train is the same (GorgonHaloPI-FP11 1.0.0.0b) — AMD consolidated it — but the SKU memory tables differ, so flashing the wrong BIN can brick your machine. I only have and tested the FAEX1 image — I have not tested the FAEX2 variant. If you have a FAEX2, verify you're flashing the right BIN before proceeding.

Note: This is a public share link I found — it may disappear at any time.


How to flash

Method 1: From Windows (easiest)

  1. Extract the zip to a folder
  2. Right-click Flash.cmd → Run as administrator
  3. A UAC prompt will appear — accept it
  4. The flasher runs, confirms with y, machine reboots into the BIOS flash screen, reboots again
  5. Done — BIOS is now 1.11

Method 2: From UEFI Shell (no Windows needed)

The package now includes the UEFI Shell, so you can flash from a USB stick:

  1. Format a USB stick as FAT32
  2. Copy the contents of the extracted zip to the stick (you should see efi/ and 0_Afu_Flash/ folders at the root)
  3. Disable Secure Boot in BIOS (the shell isn't signed)
  4. Boot from the USB stick (F7 or your boot menu)
  5. startup.nsh runs automatically → flashes the BIOS → reboots twice
  6. Done

If startup.nsh doesn't run automatically, you can boot into the UEFI Shell manually and run:

efi\Boot\startup.nsh

Firmware inspection tooling

If you want to verify what's in the BIOS image yourself (or diff old vs new), use the tools from kanlas-net/fevm-faex1-bios-flash:

  • agesa_scan.py — reads the AGESA/PI version from a BIOS image or vendor update package. Plain grep won't work (the AGESA core lives in zlib-compressed UEFI firmware volumes); this tool inflates every stream and extracts the version string.
  • usb_pack.py — turns a vendor update package into a bootable FAT32 USB stick for UEFI Shell flashing (no Windows needed).

Both are stdlib-only Python (3.8+), no third-party dependencies. The repo also includes an AGENTS.md runbook for AI agents doing firmware analysis.

Example:

python3 agesa_scan.py FAEX1_1.11_BIOS.bin
# Output: AGESA!V9 GorgonHaloPI-FP11 1.0.0.0b

Important: BIOS settings reset

The flash resets all BIOS settings to defaults. Before you flash:

  • Note your current settings (fan curves, power limits, boot order, virtualization, etc.)
  • Take photos of the BIOS menus if you have custom configurations

After the flash, you'll need to re-enter your settings. The 1.11 BIOS has the same options as before (no new features advertised), so everything you had configured should still be there — just reset.


My results

  • Box: FEVM FAEX1, Ryzen AI Max+ 395 (gfx1151), 128 GB LPDDR5X
  • Status: Flashed 2026-12-05, working normally
  • NPU: Validated in halogen — GPU+NPU co-run stable, no sync-flood lockups observed (the GorgonHalo train's PMFW/SMU updates likely help, though I can't confirm the exact PMFW version from the image)
  • Fabric clock: I removed the hold (it was disabled + inactive before the flash anyway), and the system is running the soak test to verify fclk self-shifts safely under load

TL;DR: BIOS 1.11 / EC 1.31 available (FEVM pulled it, link above). This is AMD's Zen 5 TSA mitigation rollout (CVE-2024-36350/36357 fixed in GorgonHaloPI-FP11 1.0.0.0b). Flash from Windows (Flash.cmd as admin) or UEFI Shell (bootable USB). Settings reset to defaults — note yours first. The zip contains both FAEX1 (Strix Halo 395) and FAEX2 (Gorgon Halo PRO 495) firmware — same PI train, different SKU memory tables. Flash the correct BIN for your machine. Tested and working on my FAEX1 with NPU validated in halogen (GPU+NPU co-run stable, no sync-flood lockups). FAEX2 variant not tested. Flash at your own risk.


r/StrixHalo • • 21h ago

No Qwen4_Flash_Next?

7 Upvotes

Much attention for the new Qwen4_35B_A3B which is awesome, but are there any rumours about a Qwen4 FN or will it not happen? I love Q3.8 FN and working with it every day as a Maker-Checker-Framework on my 128 GB Strix-Halo for my Homelab and of course would love to enjoy the next evolution!


r/StrixHalo • • 6h ago

libosmos v0.25.1: new lossless fp8 qwen4-35b pack at 1m ctx. up to >1870 tok/sec prefill, 45 tok/sec single stream, and 175 tok/sec at 8 lanes. ud-q4_k_m now runs up to 75 tok/sec single stream and 235 tok/sec at 8 lanes.

Thumbnail
github.com
6 Upvotes

r/StrixHalo • • 23h ago

Qwen 4 35B a3B First impressions

4 Upvotes

First day today with this model. Bosgame M5 128GB, LM Studio, Hermes Agent.

Vram 96GB for GPU, iommu=pt

Firstly I needed an LM Studio update, without which there were lots of wierd errors. (Now on 0.4.29 - oh, just noticed another update 0.4.30, must try that later). LM Studio set appropriate defaults without which tools eg didnt work.

Been active in Hermes for a few hours in 3 concurrent lines of thought/analysis and code changes. It feels fast (50-70tps as before with qwen3.6 35B a3B), and it "seems" more active. Faultless so far, no loops (they could still be there of course), its sweet.

Had a complete system crash (suspect memory problems that I sometimes get when I push too far), but then again, I had a FastFlowLM running on the NPU at the same time, and qwen4 now has a 1M context instead of the 262k context I had before!

Anyway, give it a go (I'm sure you dont need me to prompt you) and perhaps you'll find, like me that like the Beatles sing "Its getting better, its getting better all the time..."


r/StrixHalo • • 9h ago

Running Qwen4-35B-A3B on an AMD Strix Halo with llama.cpp

Thumbnail
reddit.com
2 Upvotes

r/StrixHalo • • 1h ago

LLC: lightweight Open WebUI alt now with Video Generation Support and Free Web Search

1 Upvotes

Quick context: LocalLightChat (LLC) is a chat frontend for local LLMs. Download it, run it, that's it. No installation (unless you want to), no dependencies, and it runs on pretty much anything, including ancient hardware.

I have listened to your critics and implemented two major missing features: Free Web Search Providers (no API-Key needed) and Video Generation.

Supported is Text2Video and Image2Video with ComfyUI/sd.cpp/OpenRouter/OpenAI.

Let me know what you think and what i could improve further.

Download:
https://www.locallightai.com/llc

GitHub:
https://github.com/srware-net/LocalLightChat


r/StrixHalo • • 17h ago

Qwen4-35b-a3b metrics

1 Upvotes

My initial results on speed with Strix-halo, minisforum 128GB Model Qwen4-35B-A3B (UD-Q6_K_XL), engine: Gufo 0.40.0

64k-token fresh prefill + 5000 generated tokens per round, cached_tokens: 0 on every round.

Steady state (rounds 2–5, n=8)

x1 stream2 streamsdelta
prefill tok/s20992038−2.9%
decode tok/s each68.742.4−38.3%
decode tok/s total68.784.7+23.4%
time-to-first-token30.5 s35.8 s+17.3%
5k decode72.8 s118.0 s+62.0%
round wall time103.7 s186.5 s+79.9%

Two streams cost 38% of per-stream decode speed but buy 23% more total throughput. Pre>

Round 1 is a trap

xround 1rounds 2–5
prefill (2 streams)594–602 tok/s2038 tok/s
TTFT (2 streams)218–328 s35.8 s
decode (2 streams)17–21 tok/s42.4 tok/s
prefill (1 stream)2119 tok/s2099 tok/s

The lane was already loaded and had served requests minutes earlier. Solo round 1 paid nothing; the first round under two concurrent 64k contexts paid 3.4x on prefill and up to 9.7x on TTFT.

Same shape independently: a one-shot 64k prefill measured 196 tok/s against 2037 tok/s for the identical request re-run on an idle box (load 0.07) — not CPU contention, server-side state.

I verified the steady-state figure rather than trusting one run: three fresh-seed 64k prefills landed at 2036.1 / 2038.3 / 2036.2 tok/s.


r/StrixHalo • • 7h ago

Bosgame M5, how to configure the LED strip

0 Upvotes

I tried a few things, but i can't access any controls for the LED strip from within the operating system (Linux). I got mine used, so maybe there was some app preinstalled on windows and it was removed by the previous owner.

Does anyone have any app or found a way?


r/StrixHalo • • 15h ago

Strix Halo (gfx1151) settings + 34 GB that amdgpu never gives back

0 Upvotes

Been running VIctory-xmem on a ZBook Ultra G1a for a few weeks now. 395 / 8060S,

128 GB, kernel 7.0.0-44, Mesa 26.3.1 RADV, GE-Proton 11-16. Every post with real

numbers is NVIDIA, so here's what this thing actually does on gfx1151.

Numbers at 1080p output, standing in the same two spots so they're at least

comparable, not a benchmark:

- no FSR, native 1080p: 17 to 19 fps

- FSR quality (1280x720 internal): 21 to 23

- FSR performance (960x540): 25 to 30, sits on the 30 cap in lighter areas

- frame gen on top of quality: renders 21 to 23, about 45 on screen

The panel shows the render rate, not the presented rate, so don't panic when it

says 22 with FG enabled.

What actually mattered in my config:

- VICTORY_UI_PLANE=3840x2160. Without it the HUD is twice too big at 1080p.

- RT off. The traced indirect light comes back with nonsense here. Blown white

cloth, rooms flipping black to white. The ambient stand-in covers the lighting.

- VICTORY_AMBIENT=1.0 with SETTLE=250,0, BLUE_FILTER=0, REFLECT=0.5. The settle

is what stops the instant black flip, the blue filter is what made neutral

cloth look like cold metal.

- TEXTURE_ROOM_CAP_PERCENT=96 and ROOM_PERCENT=92. The defaults turned away

400+ texture uploads in one session.

- PARTS_ONE_CALL=1 and LATE_FENCE=1. Queue calls per frame went from 40 to 16,

no visual change.

- KEEP_SHOWN=1. 0 flashes grey on everything, 2 breaks the foliage.

The shadow smearing behind the car is PR #588. Applied it locally, about 95%

gone for me. It swaps AMD's FSR3 interpolation pass for a patched one, you need

to rebuild the shaders with ./setup.sh fsr4 first.

Now the part I'd like someone to confirm. After quitting, the RAM never comes

back. free -w says 38 GiB used with 2.1 GiB in all processes combined, and around

34 GiB sit in no /proc/meminfo bucket at all (free 76, cached 1.15, slab 9.7,

total 122.8). sync + drop_caches frees 62 GiB of page cache and doesn't move the

number by a single MiB. mem_info_gtt_used reads 0.5 GiB, vram 0.3, and nothing

holds a DRM fd. Reboot puts it back to 7.9 GiB used.

Kernel log at the end of every session:

amdgpu 0000:c3:00.0: VM memory stats for proc explorer.exe(<pid>) task

explorer.e:cs0(<tid>) is non-zero when fini

The runtime reported around 35.5 GB of shared memory during the session, so the

numbers line up a little too well. Same thing on other APUs or is it just my

machine?