Repository navigation
Lean option: ROCmFP4 (Vulkan) and ROCmI4 (ROCm, W4A4) behind 1bit serve --lean - #37
Merged
Merged
Conversation
…d 1bit serve --lean third_party/llama.cpp-rocmfpx pins charlie12345/ROCmFPX (MIT) at fb08d7c, the commit measured on Strix Halo. cmake/lean.cmake builds its llama-server and llama-quantize on Vulkan (ONEBIT_LEAN) and, with ONEBIT_LEAN_ROCM, a ROCm llama-server with the gfx1151 W4A4 path. `1bit serve --lean` runs a ROCmFP4 file on Vulkan0; `--lean --device rocm` runs a ROCmI4 file on ROCm0. serve_e2e_lean tests it given ONEBIT_SERVE_TEST_LEAN_GGUF. docs/lean.md has the Qwen3.8-27B comparison against the default UD-Q4_K_XL: ROCmFP4 decodes 19% faster on Vulkan at about 7x the KL divergence; ROCmI4 with W4A4 has the fastest prompt processing (465 tok/s) and no Vulkan kernel. bump-rocmfpx.yml moves the pin weekly. NOTICE, README, docs/serve.md and the site's nav name it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…OCm0 with W4A4) Co-Authored-By: Claude Opus 5.5 <[email protected]>
bong-water-water-bong
enabled auto-merge (squash)
September 24, 2026 12:24
This was referenced Sep 24, 2026
This was referenced Oct 7, 2026
bong-water-water-bong
added a commit
that referenced
this pull request
Oct 25, 2026
Private HIP add-on pin 744bd713d968 -> 17a882640fa88: NVFP4 + Q2_0 on every family (#33), 2..16-token verify kernels (#32) and the GEAK WMMA rewrite (#37), DFlash2 selector (#34), ZAYA lm_head + one-token kernels (#35), Bonsai ternary verify + PQ2_0 prefill (#36), IQ2_S expert prefill + decode (#38/#39). hw-gate kat goldens (7 models x 9 cases) and KLD bases re-recorded at llama.cpp e7e5cd08 + this pin; check-back 13/13 PASS on the gate box. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a lean option: ROCmFPX's AMD-focused formats, which upstream llama.cpp cannot read, served by
1bit serve --lean.1bit serve -m x-ROCMFP4.gguf --leanQ4_0_ROCMFP4_STRIX_LEAN)Vulkan01bit serve -m x-ROCMI4.gguf --lean --device rocmQ4_0_ROCMI4)ROCm0, gfx1151 W4A4third_party/llama.cpp-rocmfpxpins ROCmFPX (MIT) atfb08d7c, the measured commit; NOTICE credits it.cmake/lean.cmake:ONEBIT_LEANbuilds its llama-server + llama-quantize on Vulkan;ONEBIT_LEAN_ROCMadds the ROCm build with W4A4 (ONEBIT_LEAN_ROCM_TOOLCHAINpicks TheRock).serve_e2e_leantest (withONEBIT_SERVE_TEST_LEAN_GGUF);bump-rocmfpx.ymlmoves the pin weekly.docs/lean.md,docs/serve.md, README, site nav.Measured on Strix Halo, Qwen3.8-27B from one BF16 (KLD vs BF16; llama-bench pp512 / tg128):
Verified on Strix Halo:
serve_e2e_lean(ROCmFP4, Vulkan0) PASS;serve_e2e.sh ... rocm --lean(ROCmI4, ROCm0) PASS withROCmI4 W4A4: enabledin the server log. The ROCm build needed-DONEBIT_LEAN_ROCM_TOOLCHAIN=$HOME/therock100there.🤖 Generated with Claude Code