]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-cpu: templateify ggml_compute_forward_rope_f32 and _f16 (llama/16805)
authorduduta <redacted>
Tue, 11 Nov 2025 11:33:24 +0000 (13:33 +0200)
committerGeorgi Gerganov <redacted>
Mon, 17 Nov 2025 13:34:43 +0000 (15:34 +0200)
commite7909e13f462d0a76e10fcb5d94cf63e7582553e
treee459395cbcb75f0228391761c9681e9503618e3b
parentd166b10c5b223c78722712598485d6a61f5a6414
ggml-cpu: templateify ggml_compute_forward_rope_f32 and _f16 (llama/16805)

* extract rotate_pairs logic from ggml_compute_forward_rope_f32

* templateify ggml_compute_forward_rope_f32 and _f16

* abort when rope type not supported, remove GLM from test-rope

* add imrope branch to switch

* add rope tests for perf

* Update ggml/src/ggml-cpu/ops.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Update ggml/src/ggml-cpu/ops.cpp

Co-authored-by: Georgi Gerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
src/ggml-cpu/ops.cpp
tests/test-backend-ops.cpp