Repository navigation
Native-stack campaign: ROCm decode parity + unified quant + Metal fixes - #8
Merged
Merged
Conversation
…nt core + native MoE + Metal fixes Decode 8.5->24.5 t/s (0.98x llama, at the BW wall via lane-strided unified qmatvec_core<WTYPE>); unified quant compute core (6 native + IQ/ternary/FP4 bit-exact, one core); native MoE ~2x; ROCm decode-graph machinery; Metal build fixes (offset kernels, exhaustive match, borrow, dep). Co-Authored-By: Claude Opus 4.8 <[email protected]>
hanzo-dev
force-pushed
the
perf/native-stack-campaign-2026-06
branch
from
June 8, 2026 20:57
21177b5 to
353f00b
Compare
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.
Brings the native-stack campaign into the ml tree.
ROCm / quant compute (gfx1151 / Radeon 8060S)
qmatvec_coreinhanzo-rocm-kernels/src/kernels/quant.hip: decode 8.5 -> 24.5 t/s = ~0.98x llama.cpp parity at the memory-bandwidth wall.quant_format!macro decomplects quant support (iq_grids.rs,iq_quants.rs,quant_format.rs);proof.rs+qmmq_numeric.rsassert 6 formats bit-exact vs the hand-written impls.rocm_backenddevice / wrappers / miopen plumbing; broad quant-type coverage.Metal (Apple Silicon,
--features metalbuilds + runs)hanzo-metal-kernels: addcall_quantized_matmul_mv_t_offset/_mm_t_offset(offset-aware variants for the resident[E,n,k]MoE bank path) + re-export.hanzo-ml/src/quantized/metal.rs: wire the offset kernels inmoe_expert_matmul; non-exhaustiveGgmlDTypematch -> honest catch-allbail!indequantize();drop(encoder)borrow (E0505) fix.1358 files; no file deletions; same-lineage update.
🤖 Generated with Claude Code