Repository navigation
ROCm: native HIP rotary kernel + quant architecture + WSL fixes - #9
Merged
Merged
Conversation
Decomplected onto main from perf/native-stack-campaign-2026-06 (drops campaign QuantKernel context main lacks): - hanzo-rocm-kernels: native HIP rope kernel (neox+gpt-j, f16/bf16/f32, GQA), RopeKernel source; per-token cache row computed in-kernel (no host round-trip) - rocm_backend: rope_positions dispatch; lazy rocRAND generator + leaked rocBLAS/MIOpen handles to dodge WSL destructor SIGSEGVs at teardown - quantized/cuda.rs: IQ1/IQ2/IQ3/TQ dequant arms Co-Authored-By: Claude Opus 4.8 <[email protected]>
hanzo-dev
added a commit
that referenced
this pull request
Jun 15, 2026
ROCm: native HIP rotary kernel + quant architecture + WSL fixes
hanzo-dev
added a commit
that referenced
this pull request
Jul 27, 2026
ROCm: native HIP rotary kernel + quant architecture + WSL fixes
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.
Decomplects the ROCm ML stack onto
mainfromperf/native-stack-campaign-2026-06.main had
rocm_backend+hanzo-rocm-kernelsbut no rope kernel and an incomplete quant path. This brings the complete, self-consistent ROCm ml stack:rope_positionsdispatch,RocmQuantTypenative quant path, lazy rocRAND generator + leaked rocBLAS/MIOpen handles to dodge WSL destructor SIGSEGVs at teardown.QStoragepath (host-dequant -> f16 upload so matmul hits RDNA3.5 WMMA).Verified on gfx1151 (Radeon 8060S): GGUF Q8_0 ~115 tok/s decode, correct output, clean exit.
🤖 Generated with Claude Code