Skip to content

chore(engine): pin llama.cpp 49210a62 — training leases from serving; Metal+BLAS gate fixed (fork #32) - #4804

Merged
joelteply merged 2 commits into
canaryfrom
chore/llama-cpp-pin-train-lease
Oct 5, 2026
Merged

joelteply merged 2 commits into
canaryfrom
chore/llama-cpp-pin-train-lease

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The engine for the 5090 retry of cc4f33b7 and for in-engine training on the Macs. Fork #32, reviewed at its exact head by BigMama (CUDA) and Cormac:

  • /train takes a share of the lane's time (share_ppm, default 25%; continuum feat(genome): the engine adapter sends training's share of the lane's time (share_ppm) #4798 sends it) instead of yielding while any slot is busy (starvation on a lane with residents).
  • Outputs only at the labelled positions: logits, one-hot labels and logit grads are sized by her assistant tokens, not the window (~9 GB ×3 at a 15k-token turn → the 5090's "could not create the training context"). The server no longer rescales the reported loss; gradients no longer scale with each example's label density.
  • The memory gate budgets host-backed backends from host RAM (BLAS reports 0 memory, which refused every graph on a Metal+Accelerate build).

Receipts on fork #32. core/vendor/LLAMA_CPP_PIN and the submodule move together (vendor_pin test green).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…(share + labelled-only outputs), Metal+BLAS gate fixed (fork #32)

The engine for cc4f33b7's retry on the 5090 and the first in-engine runs on
the Macs: a share of the lane's time instead of wait-for-idle (share_ppm,
sent by #4798), outputs only at the labelled positions (the training
context's memory is her assistant tokens, not the window; the server no
longer rescales the loss and gradients no longer scale with label density),
and host-backed backends budgeted from host RAM (the BLAS device reports 0,
which refused every training graph on a Metal+Accelerate build).

Reviewed at the exact head by BigMama (CUDA) and Cormac.

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

Copy link
Copy Markdown
Contributor Author

APPROVED at 6323f1b. LLAMA_CPP_PIN and the submodule both name 49210a62, the merge of fork #32. f00a2227...49210a62 is exactly #32's three reviewed commits plus its merge, nothing unreviewed rides along.

@joelteply

Copy link
Copy Markdown
Contributor Author

Verified at 6323f1b93.

Correct:

  • LLAMA_CPP_PIN and the submodule pointer both name 49210a62c, the merge commit of fork Add project roadmap with development milestones #32. The previous value f00a2227a matches the build running on the 5090 (b10778-f00a2227a).
  • The new pin is on the same line as the old one (feat/props-weight-residency, of which f00a2227a is an ancestor 4 back), so this is a forward step on the fork's working branch.

Separate, older risk, not this PR's: that working branch isn't protected (GET …/branches/feat%2Fprops-weight-residency/protection → 404), and it's 1,649 commits off the fork's default master. A force-push there could orphan the commit every node's engine is pinned to. Worth protecting it (no force-push, no deletion), or folding it into master.

Good to merge.

🤖 Generated with Claude Code

@joelteply
joelteply enabled auto-merge (squash) October 5, 2026 20:44
@joelteply
joelteply disabled auto-merge October 5, 2026 21:14
@joelteply

Copy link
Copy Markdown
Contributor Author

Re-verified at 1b4b4f774: LLAMA_CPP_PIN and the submodule both = c67f8866 (the #33 merge), exactly 2 commits ahead of the 49210a62 I approved with 0 behind, so #32 + #33 on the same protected branch. Good to merge.

🤖 Generated with Claude Code

@joelteply
joelteply enabled auto-merge (squash) October 5, 2026 21:16
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at 1b4b4f7. Pin and submodule both name c67f8866, the merge of fork #33; 49210a62...c67f8866 is #33's one commit (window-duration distribution, approved by BigMama) plus its merge. Nothing unreviewed rides along.

@joelteply
joelteply merged commit 660286f into canary Oct 5, 2026
7 checks passed
@joelteply
joelteply deleted the chore/llama-cpp-pin-train-lease branch October 5, 2026 21:43
joelteply added a commit that referenced this pull request Oct 5, 2026
joelteply added a commit that referenced this pull request Oct 5, 2026
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