]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-cpu: templateify ggml_compute_forward_rope_f32 and _f16 (#16805)
authorduduta <redacted>
Tue, 11 Nov 2025 11:33:24 +0000 (13:33 +0200)
committerGitHub <redacted>
Tue, 11 Nov 2025 11:33:24 +0000 (13:33 +0200)
commit73460f62789a3ed02109d601a2653c3842f2074e
treeb4b6b8544da1b04636f468ef9fcf0230351a7678
parent8c583242adfe09cbf35e41353aa01fb96da301a0
ggml-cpu: templateify ggml_compute_forward_rope_f32 and _f16 (#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>
ggml/src/ggml-cpu/ops.cpp
tests/test-backend-ops.cpp
tests/test-rope.cpp