]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
metal : implement rope_back operator (llama/24725)
authorGeorgi Gerganov <redacted>
Wed, 17 Jun 2026 17:36:05 +0000 (20:36 +0300)
committerGeorgi Gerganov <redacted>
Fri, 19 Jun 2026 09:53:43 +0000 (12:53 +0300)
commitd9115692308a0e006df94ff578c6f2b9c6fcd9ef
treebac9035687eaa517238523a55cc71b5a674f50b8
parentad19c98240527975b5aeb0245522c18e07030c1d
metal : implement rope_back operator (llama/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