Skip to content

chore(engine): pin llama.cpp 1b7b5a745, Metal ACC/SET copy every row element (fork #44) - #4846

Closed
joelteply wants to merge 1 commit into
canaryfrom
chore/engine-pin-metal-acc
Closed

joelteply wants to merge 1 commit into
canaryfrom
chore/engine-pin-metal-acc

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

5e3961b10 -> 1b7b5a745, a fast-forward carrying one PR: fork #44. Metal's ACC and SET
copied src0 into dst with one threadgroup per row, so a row wider than a threadgroup
kept stale memory past its first nth elements. ACC builds a view's gradient (Qwen3.5's
Q/gate split, 4096-wide rows), so Metal LoRA training read garbage there. Both now copy
through ggml_metal_op_cpy_impl. With #43, recompute OFF = full = partial is
bit-identical on Metal, within 8e-5 of CPU (card 9355b90c). Metal only: the 5090
(CUDA) builds the same engine with no change.

HOLD — do not merge while a /train job is open on any canary-deploying node. #4845's engine is about to rerun Kimi's returned jobs on the 5090, and an engine change mid-run orphans them (the 9/28 rule). Merge after those runs finish.

vendor_pin passes locally (LLAMA_CPP_PIN and the submodule in one commit).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…element (fork #44)

5e3961b10 -> 1b7b5a745, a fast-forward carrying one PR: fork #44. Metal's ACC and SET
copied src0 into dst with one threadgroup per row, so a row wider than a threadgroup
kept stale memory past its first nth elements. ACC builds a view's gradient (Qwen3.5's
Q/gate split, 4096-wide rows), so Metal LoRA training read garbage there. Both now copy
through ggml_metal_op_cpy_impl. With #43, recompute OFF = full = partial is
bit-identical on Metal, within 8e-5 of CPU (card 9355b90c). Metal only: the 5090
(CUDA) builds the same engine with no change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

Superseded by #4849, which pins f45bb191b (#44 + #48) in one bump.

@joelteply joelteply closed this Oct 7, 2026
joelteply added a commit that referenced this pull request Oct 7, 2026
…C/SET copies (fork #48, #44) (#4849)

5e3961b10 -> f45bb191b on feat/props-weight-residency:
- #48 the training context keeps no recurrent rollback slots, and the exact walk refuses them by
  name instead of asserting. Kimi's first exact run on the 5090 (04:09Z) took serving down on
  that assert. A state restore also restores the cell's position.
- #44 Metal ACC/SET copies go through cpy_impl (rows wider than a threadgroup were left stale);
  nothing changes on CUDA.

Replaces #4846 (#44 alone).


Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant