Repository navigation
Engine pin to 6606d1aad: MUL_MAT_ID has a backward pass (CPU and Metal), so a gene can train on the M5's MoE base (card 8a4fc5ea) - #5679
Merged
Conversation
…l), so a gene can train on the M5's MoE base (card 8a4fc5ea) core/vendor/llama.cpp 08d6d354b -> 6606d1aad on the fork's live line (889580fc/seq-state-across-stream-counts). The range is exactly two commits: - fork #82 (7640a2631): GGML_OP_MUL_MAT_ID_BACK, the activations' gradient through frozen, quantized experts; MUL_MAT_ID's backward; batched GET_ROWS_BACK for the router weights. - fork #83 (6606d1aad): the Metal kernel for MUL_MAT_ID_BACK. Why: the resident base on the M5 (Qwen3.6-35B-A3B) could not be trained at all. Every MoE block routes experts through MUL_MAT_ID, which had no backward, so /train aborted building the gradient graph inside the serving engine (card 14b64aa9). On the M5, 12 h on 2026-10-31: genome jobs 0. Proven on their own PRs: - CPU (enrico): grad checks with weighted losses, mutation-proven. - Metal (the M5, Fable): test-backend-ops MUL_MAT_ID_BACK 12/12 and grad 19838/19838 on MTL0. No continuum code reads ggml op numbers: git grep finds no GGML_OP_ outside core/vendor, so the new enum value moves nothing here. Receipts (enrico, 2026-10-31T23:42Z): cargo check -p continuum-engine --features metal at the new pin, exit 0 (llama.cpp rebuilt from source). Live check after deploy (card 14b64aa9's acceptance): /train/measure on the 35B-A3B builds its gradient graph with no "no backward through" abort. Any other op that turns up is the next slice. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
PASS at 6bb3a5e (Fable). Verified: the submodule moves 08d6d354b -> 6606d1aad, and |
…_pin ratchet) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
core/vendor/llama.cpp 08d6d354b -> 6606d1aad on the fork's live line
(889580fc/seq-state-across-stream-counts). The range is exactly two commits:
quantized experts; MUL_MAT_ID's backward; batched GET_ROWS_BACK for the router weights.
Why: the resident base on the M5 (Qwen3.6-35B-A3B) could not be trained at all. Every MoE block
routes experts through MUL_MAT_ID, which had no backward, so /train aborted building the gradient
graph inside the serving engine (card 14b64aa9). On the M5, 12 h on 2026-10-31: genome jobs 0.
Proven on their own PRs:
No continuum code reads ggml op numbers: git grep finds no GGML_OP_ outside core/vendor, so the
new enum value moves nothing here.
Receipts (enrico, 2026-10-31T23:42Z): cargo check -p continuum-engine --features metal at the new
pin, exit 0 (llama.cpp rebuilt from source).
Live check after deploy (card 14b64aa9's acceptance): /train/measure on the 35B-A3B builds its
gradient graph with no "no backward through" abort. Any other op that turns up is the next slice.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE