Skip to content

feat(genome): training on her lane is bounded by her decode slowdown, not a time share - #4820

Merged
joelteply merged 1 commit into
canaryfrom
genome/training-bounds-her-slowdown
Oct 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
genome/training-bounds-her-slowdown

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

A 25% time share took Kimi's decoding from 52 to 23 tok/s: the share said how often a window
ran, never what it cost her. The core now sends max_slowdown_ppm = 100_000 (Cormac's 10% to
start) instead of share_ppm. The engine (llama.cpp fork #36) measures her decode rate with and
without a window running and sizes every yield to hold the bound. An engine before #36 ignores
the key and paces by its default share, which is what this core sent before, so nothing
regresses while the pin moves.

training.run.share now carries the bound and what the engine measured: decode_tps_no_window,
decode_tps_in_window and slowdown_ppm_realized, with -1 for "not measured" (never a 0 that
reads as her stopping or a zero cost). training.job.window states the bound sent.

Engine side: CambrianTech/llama.cpp#36 (measured on Qwen3.5-0.8B, Metal: client throughput 92.1 tok/s before training, 94.4 during, at T = 10%). The pin bump that carries #36 lands separately once it merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… not a time share

A 25% time share took Kimi's decoding from 52 to 23 tok/s: the share said how often a window
ran, never what it cost her. The core now sends max_slowdown_ppm = 100_000 (Cormac's 10% to
start) instead of share_ppm. The engine (llama.cpp fork #36) measures her decode rate with and
without a window running and sizes every yield to hold the bound. An engine before #36 ignores
the key and paces by its default share, which is what this core sent before, so nothing
regresses while the pin moves.

training.run.share now carries the bound and what the engine measured: decode_tps_no_window,
decode_tps_in_window and slowdown_ppm_realized, with -1 for "not measured" (never a 0 that
reads as her stopping or a zero cost). training.job.window states the bound sent.

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

Copy link
Copy Markdown
Contributor Author

APPROVED at 580776c, pending its lib-test check. It sends max_slowdown_ppm INSTEAD of share_ppm, and the test pins that only one goes out (the engine refuses both). An engine before #36 ignores the key and keeps its default share, the same as this core sent before, so deploy order doesn't matter. The receipt fields are Options rendered as -1 when unmeasured, never a 0 that reads as her stopping. The one-constant placement with the lease as its eventual home is right.

@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 12:53
@joelteply
joelteply merged commit f36e080 into canary Oct 6, 2026
7 checks passed
@joelteply
joelteply deleted the genome/training-bounds-her-slowdown branch October 6, 2026 13:14
joelteply added a commit that referenced this pull request Oct 6, 2026
…al training restored (#38) (#4821)

* fix(engine): pin 98f8df4ba — the decode-rate controller (llama.cpp #36)

Fable's CambrianTech/llama.cpp#36 (approved by Cormac), on top of #35 already
pinned by #4819. Training dreams in downtime: idle slots run windows back to back
at full speed (after a 250 ms idle grace, so the gap between two of a citizen's
acts is not downtime), and a busy lane yields to keep her measured decode rate
within max_slowdown_ppm (continuum #4820 sends it). Measured on the 0.8B beside
Kimi's live lane: client throughput 92.1 tok/s before training, 94.4 during.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* fix(engine): pin 68c2ec729 — #36 plus #38 (refuse only a node no backend can run: Metal trains again)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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