Skip to content

/train: size the training graph to the data, the ceiling to serving - #30

Merged
joelteply merged 1 commit into
feat/props-weight-residencyfrom
feat/train-graph-sized-to-the-data
Sep 28, 2026
Merged

joelteply merged 1 commit into
feat/props-weight-residencyfrom
feat/train-graph-sized-to-the-data

Conversation

@joelteply

Copy link
Copy Markdown

Codex's point on continuum ggml-org#4498. The caller's window is the served context an example may use whole, but the training context holds activations for every position of its window. So a 61,696-token served window around ~15k-token lived examples reserves about 4x the memory any step touches, and a graph refusal there says nothing about whether the actual work fits.

Change:

  • After examples are fitted against the asked window, the window USED is the longest fitted example rounded up to the context granularity (256).
  • It is never above the window asked.
  • Status reports window (used) and window_asked, so the caller can key its measured footprint by the geometry that actually ran.
  • Examples are never shortened by this. The ceiling is still the asked window, and fit applies only past it.

A text-corpus run is unchanged.

…the longest fitted example rounded up to 256, never above the window asked; status reports window and window_asked
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