r/StrixHalo • • 2h ago

Qwen4-35B-A3B - BF16 accuracy in 27 GiB (DFlash2 + gufo + FlashHead)

Post image
4 Upvotes

Qwen4-35B-A3B on Ryzen AI Max+ 395; one user, 2k-token prompt, 128 tokens out:

Accuracy on GSM8K + IFEval + MMLU-Pro (2,868 questions, greedy, thinking off):

  • BF16 85.0
  • UD-Q4_K_XL 84.3
  • ours 85.3.

The accuracy part is our own 4-bit GGUF, same size as UD-Q4_K_XL, designed for strix halo inference.

Speed comes from gufo (roughly 2x llama.cpp), UD-Q4_K_XL on gufo does about 59. The rest is DFlash2 and our FlashHead output head.

GGUF is coming soon. You can fetch an d serve a pre-compiled verion already now on your local machine, or you can run it on the actual box from your browser and watch tok/s, power and temps while it answers: https://embedl.com/Qwen/Qwen4-35B-A3B/ryzen-ai-max-395?tab=run

Btw I'm the lead author of the FlashHead article (https://arxiv.org/abs/2603.14591), happy to answer any questions!


r/StrixHalo • • 3h ago

MINISFORUM N5 MAX AI NAS

1 Upvotes

I'm looking at this and wondering if it's the same as a minisforum AI Max, or am I missing something. At the current price this is a steal. That's why I think I'm missing something.


r/StrixHalo • • 6h 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 • • 10h ago

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

26 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 • • 11h 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 • • 11h ago

price development Bosgame M5 128GB

15 Upvotes
price development Bosgame M5 128GB

r/StrixHalo • • 12h 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 • • 14h ago

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

Thumbnail
reddit.com
2 Upvotes

r/StrixHalo • • 18h 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

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?


r/StrixHalo • • 23h 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 • • 1d 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 • • 1d 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 • • 1d ago

Qwen 4 35b q8 gufo DF2 88-169 t/s

Thumbnail github.com
23 Upvotes

r/StrixHalo • • 1d ago

Qwen4-35B-A3B UD-Q4_K_XL + mmproj-BF16 +DFlash2 Q4_K_M

5 Upvotes

r/StrixHalo • • 1d ago

Qwen4-35B-A3B at 70 tok/s on Strix Halo, and you can try it from your browser

26 Upvotes

Hooked our Strix Halo boxes (Ryzen AI Max+ 395) up to a web page so anyone can run Qwen4 on it. Type something or drop an image in, hit run, and it goes to the actual box.

No login. Under the answer you see the box's GPU load, power and temps live while it generates.

Spent the first day of launch squeezing this model. On the same box with our same GGUF:

  • llama.cpp out of the box: 49 tok/s
  • Qwen4's MTP head: 64 tok/s
  • our FlashHead on the draft: 70 tok/s

That's 1.43x, and the full model still checks every token, so you're not trading quality for it. The GGUF is our own mix, scores level with Unsloth's UD-Q4_K_XL on GSM8K/IFEval/MMLU-Pro, and peaks at 41 GB, so it runs on the 64 GB Strix machines too.

Video is one run straight off the site. Commands to run the same model on your own box are in the Local tab. https://embedl.com/Qwen/Qwen4-35B-A3B/ryzen-ai-max-395?tab=run


r/StrixHalo • • 1d ago

Hey r/StrixHalo — Qwen4-35B-A3B PaoAI STRIX (Q4..Q8 + shared PLE + vision) + Engine 2.1.0 is live with 1M context unlocked

Post image
14 Upvotes

Hey everyone,

Happy to share our new unified Qwen4-35B-A3B-PaoAI-STRIX-GGUF release (Apache-2.0) along with paoai-engine:2.1.0 for AMD Strix Halo PCs on Linux — benchmarked end-to-end on a Bosgame M5 128GB (Fedora 44 & Ubuntu 24.04 clean-room tested; no Windows build).

All four tiers (Q4-1.0 through Q8-1.0), both shared --ple shards (32 GB / 64 GB / 128 GB), and vision live in one repo — just check the full benchmark table in the attached image and grab the copy-paste podman setup from the card:

https://huggingface.co/PaoAI/Qwen4-35B-A3B-PaoAI-STRIX-GGUF

Let us know how it runs on your box!


r/StrixHalo • • 1d ago

A lightweight web interface for those running Gufo or Halogen

Post image
6 Upvotes

When I moved from llama.cpp to Gufo, one thing I missed was having the built-in web chat interface available across my network, so I decided to write my own.

The emphasis was on making it extremely lightweight, with no external runtime dependencies, while providing HTTPS and user authentication for secure remote access over the Internet.

Written in Go, Mullsmith runs as a single executable and provides a responsive web interface that works equally well on desktop and mobile devices, and can be installed as a web app on either.

Despite its small footprint, Mullsmith provides many of the features you would associate with ChatGPT:

  • Multiple user accounts with server-side chat history.
  • Agentic tool use with sandboxed command and code execution.
  • File operations and downloads.
  • Markdown and LaTeX rendering.
  • Web search via Brave and web page retrieval.
  • MCP server support, including OAuth, allowing users to connect their own service accounts to access things like Google Calendar or Todoist.

It supports a range of models and inference endpoints, although most of my testing has been done using Gufo and Qwen3.8 Flash Next on Strix Halo.

With the following configuration, it should work out of the box with configurable thinking levels and automatic detection of Gufo's context size:

llm:
  endpoint: "http://127.0.0.1:8080/v1"
  endpoint_type: "gufo" # or "halogen"
  api_key: ""
  models:
    - id: "Qwen3.8 Flash Next"
      default: true
      thinking_profile: "qwen3_8" # or "qwen4" for Qwen4-35B
      context_size: -1
      vision: true

It runs independently of the inference engine and uses just 23 MB of RAM, so you can host it on your Strix Halo machine or on a separate device.

It's open source, and I thought it might be useful to others here.

https://github.com/PhilAnderson1/Mullsmith


r/StrixHalo • • 1d ago

libosmos v0.24.1: qwen4-35b and minicpm5-15b optimizations. unsloth q4_k_m + bf16 engram qwen4-35b prefill +30% (>1830 tok/sec at 4k and >1340 tok/sec at 256k depth) and 8 parallel streams at 179 tok/sec

Thumbnail
github.com
11 Upvotes

r/StrixHalo • • 1d ago

Qwen4-35B-A3B on Strix Halo with Gufo — early throughput numbers (PP/TG)

7 Upvotes

I have been running **Qwen4-35B-A3B** on a Strix Halo machine (Ryzen AI Max+ 395, 128 GB) using **Gufo**, and thought I would share some early prompt-processing (PP) and token-generation (TG) figures.

A caveat first: I have not yet used the model extensively enough to comment meaningfully on its coding quality, so please treat this purely as a throughput report rather than an assessment of capability.

For context, my previous daily driver was Qwen3.8-Flash-Next (UD-Q4_K_XL), which was already perfectly satisfactory in terms of speed. Qwen4-35B-A3B has comfortably exceeded it, and I am very pleased with the result so far.

One observation that may be of interest to others: I initially ran the **UD-Q8_K_XL** quant, but MTP (multi-token prediction) did not appear to be working effectively with it, so I switched to **Q8_0**. That change made a substantial difference, as the table below shows. I should stress that this is an empirical observation from my own setup rather than a confirmed diagnosis — the two quants differ in how their built-in MTP heads are stored, which may or may not explain the behaviour I saw.

| Model (quant) | Period | N | Mean PP (t/s) | Mean TG (t/s) |

|---|---|---:|---:|---:|

| Qwen3.8-Flash-Next (UD-Q4_K_XL) | 17 Oct – 4 Dec (44 loads) | 21,593 | 703.3 | 56.1 |

| Qwen4-35B-A3B (UD-Q8_K_XL) | 5 Dec (1M-context session) | 194 | 556.3 | 51.1 |

| Qwen4-35B-A3B (Q8_0) | 5 Dec, from 10:21 (ongoing) | 29 | 1,029.8 | 85.5 |

A few notes on the figures:

- These are averages taken from real usage logs, not controlled `gufo bench` runs, so prompt lengths, cache state and context depth vary between rows. The Flash-Next row in particular spans several weeks of mixed workloads.

- The Q8_0 sample is still small (N = 29 at the time of writing) and the session is ongoing, so those numbers may shift.

- The UD-Q8_K_XL row comes from a single session configured with the model's native 1M context window.

I will follow up with coding-quality impressions once I have put the model through more substantial work. In the meantime, I would be interested to hear whether anyone else has compared MTP behaviour across the 8-bit quants on this hardware.

* I asked Qwen4-Max to perform the translation.

* gufo serve llm -i 0.0.0.0 -p 8080 \

-c 1048576 \

-m ~/models/Q8_0/Qwen4-35B-A3B-Q8_0-00001-of-00002.gguf \

--speculative mtp \

--mtp-model ~/models/MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf \

--draft-tokens 7 \

--think on --reasoning-effort xhigh \

--cache-ram-bytes 8589934592 \

--cache-disk ~/.cache/gufo/flash-next \

--cache-disk-bytes 68719476736


r/StrixHalo • • 1d ago

Qwen4 35b 4k what did you say 4k😯

29 Upvotes

Prefill on a 35B model just hit 4,011 tok/s on my Strix Halo box. Either I broke math or my desk is on fire, and I'm checking the desk first 😁😁

Also the model's built-in MTP head now works, so you don't need the 2 GB sidecar file. It's a bit faster greedy, a bit slower sampled, and I still keep the sidecar as the default.

Qwen4-35B-A3B, NPU two-bank prefill, 8K chunk. About 3,300 yesterday. Don't ask how? as I don't know 😅

GITHUB


r/StrixHalo • • 1d ago

Qwen4-35B-A3B (UD-Q8_K_XL) llama.cpp on Strix Halo: Vulkan vs ROCm, with and without MTP

6 Upvotes

Qwen4-35B-A3B (UD-Q8_K_XL) long context on Strix Halo: Vulkan vs ROCm, with and without MTP

llama.cpp build 12973 (commit 59b716523, version 1.1.0-dev), Ryzen AI MAX+ 395 / Radeon 8060S, 128 GB.

TL;DR: Vulkan generated faster than ROCm at 128k and above, with or without MTP. MTP did little for Vulkan until the context got large, helped ROCm more, and slowed prompt processing on both.

Results (tok/s)

BackendContextGen, no MTPGen, MTPPrompt, no MTPPrompt, MTPMTP acceptance
Vulkan4k30.029.265157448-57%
Vulkan16k29.429.563756050-60%
Vulkan32k28.628.660353053-55%
Vulkan64k27.327.956549754-55%
Vulkan128k25.126.150744652-56%
Vulkan192k23.125.446440951-61%
Vulkan256k21.524.143238052-62%
ROCm128k19.024.950646153-62%
ROCm192k16.320.239535952-55%
ROCm256k14.319.4*32429456-78%

ROCm was only tested at 128k and above. Generation is the mean of a first answer and one follow-up.

*Probably optimistic: the first answer was a predictable list of names (78% acceptance, 21.1 tok/s). The follow-up got 17.6 tok/s.

Takeaways

  • No MTP: ROCm generated 24% slower than Vulkan at 128k, 29% at 192k, 33% at 256k. Prompt processing was level at 128k.
  • MTP on Vulkan: no useful gain up to 64k, then +4% (128k), +10% (192k), +12% (256k). Prompt processing 12% slower.
  • MTP on ROCm: +31% (128k), +24% (192k), +23 to 35% (256k). Prompt processing 9% slower.
  • When MTP saves time: only if generated tokens exceed roughly 1 per 6 new prompt tokens (Vulkan 128k), 1 per 16 (Vulkan 256k), or 1 per 40-65 (ROCm).

Peak memory (272k context allocated)

BackendGPU (GTT)GPU with MTPHost RSS, typicalHost RSS, peak
Vulkan44.5 GiB48.2 GiB~9 GiB37.9 GiB
ROCm43.1 GiB46.1 GiB~10 GiB38.2 GiB

Setup

  • Fedora 44, kernel 7.2.9, "balanced" power profile
  • Vulkan: Mesa RADV 26.2.4, GCC 16.2.1, GGML_VK_PREFER_HOST_MEMORY=ON
  • ROCm: HIP backend, TheRock 10.1.0

Command:

  llama-server --model Qwen4-35B-A3B-UD-Q8_K_XL-00001-of-00002.gguf \
    --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU \
    --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
    -c 272384 -np 1

For MTP, add this (the head is inside the GGUF, so no -md needed):

  --spec-type draft-mtp --spec-draft-n-max 2

Method and caveats

  • Prompts were llama.cpp source files plus a C++ coding request. The follow-up reused the cached context in full.
  • Reasoning effort was high, so every answer hit the 512-token limit while still thinking. Speed only, code quality not tested.
  • 4k ran twice, every other size once, at temperature 1.0. Treat gaps of a few percent as noise.
  • Desktop machine, not otherwise isolated, and swap was nearly full before testing began.
  • Unsloth reports about 1.3x from MTP, but with a 4-bit quant, greedy sampling, thinking off and other hardware, so it isn't directly comparable.

r/StrixHalo • • 1d ago

Gufo-Win: Qwen4-35B-A3B on Strix Halo: 2,743 tok/s prefill, 61.6 tok/s decode + looped-depth adapter for Qwen3.8-Flash-Next (Windows)

5 Upvotes

Qwen4-35B-A3B now runs on the same qwen4exp executor as Qwen3.8-Flash-Next: 35B total, 3B active, 40 trunk layers (30 GDN linear, 10 QSA full attention), 256 experts with 8 active, and a 262,144-token verified context, from a 35.2 GB UD-Q4_K_M download. On a Strix Halo it loads in 13.6 s, prefills at 2,743 tok/s and decodes at 61.6 tok/s (71.9 with MTP) at depth 0. Flash-Next also gets an optional recurrent-depth adapter.

Qwen3.8-Flash-Next: a community-developed recurrent-depth adapter that makes the foundation model process information through selected layers more than once.
--loop-adapter <ckpt_final.safetensors> and --loop-passes N (0 is the verified 2-pass default; the merged adapter is trained at T=2).

V0.8.0 Release: https://github.com/jaacMusic/gufo-win/releases
Repo: https://github.com/jaacMusic/gufo-win


r/StrixHalo • • 1d ago

question: q4 && gufo0.40 - vram 96->64 ? for bigger --cache-ram-bytes

0 Upvotes

im thinking of lowering vram from 96 to 64 because of qw4
q38FN needed 96, but atm it sits on 55 GB

im too dork to understand --cache-ram-bytes
i assume it does use system ram - not vram right ?

at the moment i use 4 sessions with 10gb - could use more (speed up prefill i think?)

anyone tried already ?


r/StrixHalo • • 2d ago

libosmos v0.23.0-v0.24.0: day one support for minicpm5-15b and qwen4-35b on amd strix halo. unsloth qwen4-35b q4_k_m + bf16 engram ships with native 1m ctx, ~65 tok/sec decode and >1300 tok/sec prefill.

Thumbnail
github.com
3 Upvotes