Skip to content

fix(engine): pin dc1a37922 — per-layer recompute (llama.cpp #37), opt-in on /train - #4823

Merged
joelteply merged 1 commit into
canaryfrom
fix/engine-pin-recompute
Oct 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/engine-pin-recompute

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Pins CambrianTech/llama.cpp#37 (approved by Cormac; Metal receipt by Fable). LLAMA_CPP_PIN matches, and vendor_pin passes.

What it is: gradient checkpointing for training graphs, opt-in through /train "recompute": true. The default path is unchanged.

Measured:

Model Training-graph memory Losses
Qwen2.5-Coder-1.5B, one-ubatch 5,579 → 523 MiB identical
Qwen3.5-0.8B on Metal 5,639 → 3,026 MiB eval within ~7e-4 (open card 9355b90c)

Also carries #37's test-chat fix for #36's serving_view.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

…-in on /train

CambrianTech/llama.cpp#37 (approved by Cormac; Metal receipt by Fable):
gradient checkpointing for training graphs, opt-in through /train "recompute": true,
so the default path is unchanged. Measured: Qwen2.5-Coder-1.5B one-ubatch training
graph 5579 -> 523 MiB with identical losses; Qwen3.5-0.8B on Metal 5639 -> 3026 MiB
(eval within ~7e-4, the open card 9355b90c). Also carries #37's test-chat fix for
#36's serving_view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 14:11
@joelteply
joelteply merged commit 5dbfadb into canary Oct 6, 2026
6 checks passed
@joelteply
joelteply deleted the fix/engine-pin-recompute branch October 6, 2026 14:35
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