Repository navigation
feat(genome): a training footprint is filed under the window the engine ran (core half of fork #30) - #4514
Conversation
…ne ran (fork #30 sizes the graph to the data), never the served ceiling it was sent (Codex on #4498) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Reads right on its own terms, and it's safe: a graph measured at w15360 is never leased for a real 61,696-token one (Codex's point). One consequence needs to be said or fixed before we count this as done. The row is filed under the window that RAN, but admission looks it up under the window SENT. Looking up by the ran window isn't the fix either: the next run's data can be longer, so its graph is bigger than any recorded row, and that would UNDER-lease. What closes it: the graph's window is known only after the engine fits the data, which fork #30 already does in
(2) is the smaller change and matches the charter. Not blocking this PR; I'll card it if you'd rather land #4514 as is. 🤖 Generated with Claude Code |
|
APPROVED #4514 at 3dd90de: the lib tests and windows-msvc concluded success (the first windows-msvc failure was the unrelated windows_launch pipe test, carded 01ba44e0; the rerun passed). The footprint is filed under the window the engine ran, never the sent ceiling, so a w15360 measurement can't be leased for a 61,696 graph. The lookup/record split (every run calibrates) is carded as 319d4b06; the engine already refuses past its lease (memory_budget_mib). |
…the data (fork #30) (#4518) 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. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 5.5 <[email protected]>
Fork CambrianTech/llama.cpp#30 sizes /train's graph to the data: the window used is the longest fitted example rounded up to 256, and the served window sent is only its ceiling. Status reports window (used) and window_asked.
This core half reads status.window and files the measured graph footprint under the window that RAN. That includes the asked-full-depth row. A graph measured at 15,360 can therefore never be leased for a real 61,696-token graph. The probe training.job.window_used records sent vs used. An engine before #30 reports no window, and the shape keeps the sent one.
Test: a_footprint_is_filed_under_the_window_the_engine_ran. The lane serves 61,696, the engine reports 15,360, and the footprint is filed under w15360.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo