b9690

ggml-org/llama.cppb9690Jun 17, 2026by github-actions[bot]same day as b9689

What changed since b9689

low risk

Adds a Metal backend rope_back operator by reusing existing RoPE kernels with a forward/backward toggle.

New features

  • Metal backend now implements the rope_back (backward rotary embedding) operator.

Improvements

  • Existing RoPE kernels are reused via a function constant that toggles forward/backward rotation, avoiding duplicate kernel code.

Upgrade notes

This is a single-commit delta with no API, config, or build-flag changes; a drop-in replacement for b9689. Only Metal users gain new behavior, and it is exercised automatically when a graph contains a rope_back node. Non-Metal backends are unaffected.

Analyzed Oct 31, 2026

Upgrading?

Release notes summary

Implements the backward RoPE (Rotary Positional Embedding) operator for the Metal backend by reusing existing kernels with a toggle function.

Key Highlights

  • Metal rope_back operator implementation
  • Reuse of existing kernels
  • Avoidance of duplicate kernel code

Release Notes (excerpt)

<details open> 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 </details> **macOS/iOS:** - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED - macOS Intel (x64) - iOS XCFramework **Linux:** - Ubuntu x64 (CPU) - Ubuntu arm64 (CPU) - Ubuntu s390x (CPU) - Ubuntu x64 (Vulkan) - Ubuntu arm64 (Vulkan)…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories