Repository navigation
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes - #18
Merged
Merged
Conversation
hanzo-dev
force-pushed
the
perf/native-stack-campaign-2026-06
branch
from
June 8, 2026 20:57
7f5f623 to
dcd7bfe
Compare
…used kernels + Metal fixes ROCm PagedAttention backend (paged_attention.hip.cpp/reshape_and_cache, device-side seqlen); rocm_graph.rs decode-graph machinery; fused rmsnorm/rope/softmax/silu_mul (decode 8.5->24.5); numeric+perf gates. Metal build fixes (engine Cargo.toml hanzo-metal-kernels dep, chat_template EOS). Co-Authored-By: Claude Opus 4.8 <[email protected]>
hanzo-dev
added a commit
that referenced
this pull request
Jul 16, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
zeekay
pushed a commit
that referenced
this pull request
Jul 26, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
zeekay
pushed a commit
that referenced
this pull request
Jul 26, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
hanzo-dev
added a commit
that referenced
this pull request
Jul 27, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
zeekay
added a commit
that referenced
this pull request
Sep 15, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
zeekay
added a commit
that referenced
this pull request
Sep 15, 2026
Native-stack campaign: ROCm PagedAttention + decode graphs + Metal fixes
breezesamuel
added a commit
to breezesamuel/engine
that referenced
this pull request
Nov 18, 2026
…w-up) Completes the four remaining contract items from review: - Matched baselines: unpinned-LRU (phase A) vs tenant-pinned (phase B) on the identical storm fixture - committed as hanzo-kv-fabric/results/lora-paging-results.json - Raw measurements: 0/2048 (0.0%) unpinned vs 248/256 (96.9%) pinned; evictions 2038 vs 1800; policy cost ~302 ns hit / ~709 ns admission; 8/8 pinned pages survive - HIP-1345 update: results/HIP-1345-update.md proposes the §2.4 status addendum (§2.4 = Bounties hanzoai#14-hanzoai#15; the §2.3 label in the first cycle was a mislabel - §2.3 is Bounties hanzoai#13/hanzoai#18) - section refs corrected in module docs and the bench - Out-of-scope statement: explicit 7-item list (training lifecycle, attention-path hot-swap, device I/O, cross-worker replication, multi-GPU placement, pin-quota arbiter, Bounty hanzoai#14)
This was referenced Nov 18, 2026
zeekay
pushed a commit
to breezesamuel/engine
that referenced
this pull request
Nov 21, 2026
…w-up) Completes the four remaining contract items from review: - Matched baselines: unpinned-LRU (phase A) vs tenant-pinned (phase B) on the identical storm fixture - committed as hanzo-kv-fabric/results/lora-paging-results.json - Raw measurements: 0/2048 (0.0%) unpinned vs 248/256 (96.9%) pinned; evictions 2038 vs 1800; policy cost ~302 ns hit / ~709 ns admission; 8/8 pinned pages survive - HIP-1345 update: results/HIP-1345-update.md proposes the §2.4 status addendum (§2.4 = Bounties hanzoai#14-hanzoai#15; the §2.3 label in the first cycle was a mislabel - §2.3 is Bounties hanzoai#13/hanzoai#18) - section refs corrected in module docs and the bench - Out-of-scope statement: explicit 7-item list (training lifecycle, attention-path hot-swap, device I/O, cross-worker replication, multi-GPU placement, pin-quota arbiter, Bounty hanzoai#14)
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 serving campaign into the engine tree. Companion to hanzoai/ml#8.
ROCm serving (gfx1151 / Radeon 8060S)
hanzo-paged-attn/src/rocm/*): HIPpaged_attention+reshape_and_cachekernels, FFI, and the Rust backend.hanzo-engine/src/pipeline/rocm_graph.rs, plusmetal_graph.rs) for low-overhead captured decode steps.hanzo-engine/hanzo-quant.Pairs with the ml-side decode parity work: lane-strided unified
qmatvec_core(decode 8.5 -> 24.5 t/s = ~0.98x llama.cpp at the BW wall); unified 1-bit -> full quant core, 6 formats bit-exact; native MoE ~2x.Metal (Apple Silicon,
--features metalbuilds + runs)hanzo-engine/Cargo.toml: deadcandle-metal-kernels->hanzo-metal-kernels.hanzo-engine/src/pipeline/chat_template.rs: unresolved-EOS panic -> skip-with-warning (some MoE GGUFs carry an EOS string absent from the tokenizer vocab, which otherwise blocks model load).1378 files; no file deletions; same-lineage update.
🤖 Generated with Claude Code