Skip to content

cuda : fuse RMS_NORM + MUL + MROPE/IMROPE and tune block size (#32500) - #469

Draft
bri-prism wants to merge 1 commit into
prismfrom
codex/upstream-perf-cuda
Draft

bri-prism wants to merge 1 commit into
prismfrom
codex/upstream-perf-cuda

Conversation

@bri-prism

Copy link
Copy Markdown
Collaborator

Ports ggml-org#32500.

Adapt the backend test fixture to the RoPE API in prism. Validate fused output and measure Bonsai 2.5 PTQ1_0 on CUDA.

Patch whitespace checks passed. Backend performance validation is pending.

…rg#32500)

* cuda : support MROPE/IMROPE and tune block size in rms_norm_mul_rope

* cuda : use 64 threads for multi-token ncols <= 256 in rms_norm_mul_rope

Assisted-by: Antigravity
(cherry picked from commit 922cff9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants