Skip to content

chore(vendor): pin llama.cpp to 7ec585374, /train sizes its graph to the data (fork #30) - #4518

Merged
joelteply merged 1 commit into
canaryfrom
feat/pin-train-graph-sized-to-the-data
Sep 28, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/pin-train-graph-sized-to-the-data

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Pins the engine to CambrianTech/llama.cpp#30 (merged 7ec585374, approved by Codex at 6680a77f).

/train now sizes n_ctx and n_batch to the longest fitted example, rounded up to 256 and capped at the asked (served) window. Status reports window and window_asked. The core side, #4514, already files the footprint under the reported window.

Effect on the 5090: Kimi's 14,519-token example trains on a 14,592 graph instead of allocating the full 61,696 (Codex, e=5c849838). An engine before this pin reports no window, and the core keeps the sent shape.

Follow-up: card 319d4b06 (look the footprint up by the window the run will use, before dispatch).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…the data (fork #30)

The engine sizes n_ctx and n_batch for a training run to the longest fitted example,
rounded up to 256 and capped at the served window it is asked for. It reports window
and window_asked, which #4514 already files the footprint under. Kimi's 14,519-token
example trains on a 14,592 graph, not the full 61,696.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit a0a25f0 into canary Sep 28, 2026
8 checks passed
@joelteply
joelteply deleted the feat/pin-train-graph-sized-to-the-data branch September 28, 2026 10:11
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