Skip to content

pr-set : repin #378 so GGML_RPC=ON builds count the banded attention op - #426

Merged
danielhanchen merged 1 commit into
masterfrom
pinset-rpc-opcount
Nov 23, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset-rpc-opcount

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Repins #378 from 68df508 to 2c38e50 so GGML_RPC=ON builds of the pin set compile again.

What broke

  • Upstream b12635 added a ggml op and moved ggml/include/ggml-rpc.h to GGML_OP_COUNT == 101 with RPC_PROTO_PATCH_VERSION 2.
  • model : Inkling 1 (ggml-org#25731) on b12533 for the prebuilt #378 adds GGML_OP_FLASH_ATTN_EXT_BANDED (Inkling banded attention) on top, so the merged tree has 102 ops while the check still says 101.
  • The publish run 45175728438 (master 9d3085b, base b12648) failed on every job that builds ggml-rpc: CPU linux/arm64 + Vulkan, CPU windows/x64, CPU windows/arm64 and Vulkan windows/x64, all with static assertion failed: GGML_OP_COUNT has changed - update RPC_PROTO_PATCH_VERSION. The assemble step then refused to publish.
  • Local llama_pinset.py verify did not catch it because its CPU gate and CUDA builds leave GGML_RPC at its default (OFF). The preflight CPU build does not build ggml-rpc either.

Fix

One commit on #378 (fast-forward, same base): GGML_OP_COUNT == 102 and RPC_PROTO_PATCH_VERSION 3, the same rule upstream follows when it adds an op. #385 and #386 carry #378's history and merge on top unchanged.

Evidence

  • audit: 43/43 pins clean, feature-checks coverage ok.
  • sim --tags window (b12648, b12649, b12650, b12651): clean merge, pin_contract 43/43 intact, merge_checks clean; the merged ggml-rpc.h reads 102 / 3 on every tag.
  • Before the fix, model : Inkling 1 (ggml-org#25731) on b12533 for the prebuilt #378 alone with -DGGML_RPC=ON reproduces the static_assert; after it, ggml-rpc builds.
  • Full CPU build of the merged pin set with -DGGML_RPC=ON (all targets: llama, tests, examples, llama-server, ggml-rpc-server) on b12648 and b12651: builds.
  • verify --tag b12651 --cuda with the new pin: CPU gate, feature_matrix CPU 31/31, full CUDA build, test-chat, test-backend-ops MUL_MAT 2897/2897, MUL_MAT_ID 1183/1183, PAD 37/37, GET_ROWS 361/361 pass.

Not covered

  • Windows, Vulkan, ROCm, macOS and ARM jobs run only in the nightly.
  • The verify CPU gate should build with -DGGML_RPC=ON and the ggml-rpc target so this cannot recur unseen; that is a separate change.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T13:03:29.314604Z 219caac Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 219caacb24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit a5aa5ba into master Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant