]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
metal : implement rope_back operator (#24725)
authorGeorgi Gerganov <redacted>
Wed, 17 Jun 2026 17:36:05 +0000 (20:36 +0300)
committerGitHub <redacted>
Wed, 17 Jun 2026 17:36:05 +0000 (20:36 +0300)
commit0843245cb1ed0129c81c0ae58c633329c496a3d7
treea110d6934368b2cea93f1e9e62ee2975b8113e04
parent8d2e5806322d5207c164717eda617de58a1729c1
metal : implement rope_back operator (#24725)

Reuse existing rope kernels with a function constant to toggle forward/backward
rotation, avoiding duplicate kernel code.

Assisted-by: pi:llama.cpp/Qwen3.6-27B
ggml/src/ggml-metal/ggml-metal-device.cpp
ggml/src/ggml-metal/ggml-metal-device.m
ggml/src/ggml-metal/ggml-metal-ops.cpp
ggml/src/ggml-metal/ggml-metal.metal