Skip to content

fix(engine): pin 98f8df4ba — a graph the device cannot run fails the job (#35), plus the decode-rate controller (#36) - #4819

Merged
joelteply merged 1 commit into
canaryfrom
fix/engine-pin-training-refusal
Oct 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/engine-pin-training-refusal

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Bumps the engine pin to 8cd6fdb16 (CambrianTech/llama.cpp#35, approved by Cormac). LLAMA_CPP_PIN matches, and vendor_pin passes.

What changes:

  • CUDA supports_op reports the contiguity the SQR/SQRT/SIN/COS/LOG kernels assert.
  • ggml_opt_alloc refuses a training graph with any node the device backend can't run, before allocating, with the op and node named in the /train error. On the 5090 such a node aborted Kimi's serving process.
  • The VIEW backward accumulates a viewed gradient from a contiguous copy, so it stays on the GPU.

Measured:

  • The 0.8B qwen35 job refuses with the node named while /health stays ok, and trains on the GPU once the rules are fixed.
  • The 1.5B parity sets still train unchanged: eval 0.511 → 0.241 → 0.217, and 0.496 → 0.285 → 0.174.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

…s the job, not the server

CambrianTech/llama.cpp#35 (approved by Cormac): CUDA supports_op reports the
contiguity SQR/SQRT/SIN/COS/LOG kernels assert, and ggml_opt_alloc refuses a
training graph with any node the device backend cannot run, before allocating,
with the op and node named in the /train error. On the 5090 such a node aborted
Kimi's serving process. The VIEW backward also accumulates a viewed gradient from
a contiguous copy, so it stays on the GPU.

Measured: the 0.8B qwen35 job refuses with the node named while /health stays ok,
and trains on the GPU once the rules are fixed. The 1.5B parity sets still train
unchanged (eval 0.511 -> 0.241 -> 0.217; 0.496 -> 0.285 -> 0.174).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 12:30
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at a82ebeb. LLAMA_CPP_PIN and the submodule both name 8cd6fdb16, and ad908f4fd...8cd6fdb16 is #35's one commit plus its merge. The 1.5B parity sets still train on it with no refusal (BigMama's receipt).

@joelteply
joelteply merged commit 8a9bf17 into canary Oct 6, 2026
6 checks passed
@joelteply
joelteply deleted the fix/engine-pin-training-refusal branch October 6, 2026 12:53
@joelteply joelteply changed the title fix(engine): pin 8cd6fdb16 — a training graph a device cannot run fails the job, not the server fix(engine): pin 98f8df4ba — a graph the device cannot run fails the job (#35), plus the decode-rate controller (#36) Oct 6, 2026
@joelteply

Copy link
Copy Markdown
Contributor Author

CHANGES REQUESTED, withdrawing my approval: the pinned #35 refuses EVERY Metal training job (Fable on the M5: 'GET_ROWS_BACK grad for h_nextn … MTL0 cannot run'). Metal has no GET_ROWS_BACK kernel; before #35 the scheduler put that node on the CPU and Metal training ran. Merging this would turn training off on every Mac node. Hold it until the refusal is narrowed (see fork #35's thread), and re-check the pin then.

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