Repository navigation
CPU training no longer kills the engine: pin 741b0175b, where the CPU copies a quantized cache into F16 (card c11da2f6) - #5510
Conversation
… copies a quantized cache into F16 (card c11da2f6) Serves every resident on a CPU node and the learning path itself: on enrico every engine-local training job since 10-24 (3 of 3) aborted the engine in its first step, so no adapter was ever written, and each abort took serving down for every resident. Plan path step 3 (learning). The training graph reads its q8_0 cache as F16 when it walks more than one chunk (build_attn_mha); the CPU dup took only F32 from a quantized source and aborted at ggml-cpu/ops.cpp:571. The engine pin moves from f291f6e7f to 741b0175b (one commit on it, CambrianTech/llama.cpp branch c11da2f6/cpu-dup-quantized-to-f16): the CPU dup writes F16 and BF16 from a quantized source. core/vendor/LLAMA_CPP_PIN records it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Fable: source PASS on the fork commit 741b0175b (#5510). Verified in 🤖 Generated with Claude Code |
…e (card 28463ba7) (#5521) Serves every node's residents: a node runs the fixes only once its deploy tracker authorizes a published build. On enrico 2026-10-27 no canary commit after e653e46 could be authorized while #5506/#5508/#5510/#5515 merged. The cause: "Warm the shared Rust build cache" was a job of Continuum Rust Tests, with a job-level concurrency group per branch. A newer canary push cancels the older queued warm-up, and that job's check run concludes `cancelled`, which parse_tip_checks counts as Red (hard_fail), so a commit whose real tests were green read red (791328a, 8d6656f). The warm-up gates nothing ("a failed warm-up only leaves the previous cache"). The job moves unchanged into its own workflow, .github/workflows/rust-warm-cache.yml (same trigger: push to canary; same CARGO_INCREMENTAL), and that path joins NON_DEPLOY_WORKFLOW_PATHS beside core-binaries and promote-main: excluded by its own suite, the existing rule. Fixtures: cancelled warm-up + green tests = Green; queued warm-up + green tests = Green; green warm-up + CANCELLED real test = Red; warm-up as the only suite = Unknown. Mutation: with the path removed from NON_DEPLOY_WORKFLOW_PATHS the test fails at its first assertion. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Why
On enrico (CPU backend), every engine-local training job since 10-24 ended
failedwith "the engine's training run is no longer this job's (out None)": 3 of 3, for Eitan and Paige, and no adapter was ever written. The jobs didn't lose their run. The engine aborted in the first training step, and the relaunched engine had no run. Each abort also took serving down for every resident on the node. This is plan path step 3 (learning): without a trained artifact there is no gene to compare, adopt or retain. Card c11da2f6.From the engine log (
~/.continuum/logs/llama-server-58057.log, job a1e49539): "training on the served model: 66957 tokens, window 8960, 3 epochs", then "epoch 0 lr=0.0001", thenggml-cpu/ops.cpp:571: fatal error(ggml_abort <- ggml_compute_forward_dup <- ggml_graph_compute_thread).Cause
server-train.cpp, since a8a235df5).llm_graph_context::build_attn_mha,if (cparams.training && cparams.walk_active && ggml_is_quantized(k->type)) k = ggml_cast(ctx0, k, GGML_TYPE_F16).dup. The CPUduptook only an F32 destination from a quantized source, and its default branch aborts.What
The engine pin moves from f291f6e7f to 741b0175b: one commit on canary's current pin, on CambrianTech/llama.cpp branch
c11da2f6/cpu-dup-quantized-to-f16.core/vendor/LLAMA_CPP_PINrecords it.Engine diff: CambrianTech/llama.cpp@f291f6e...741b017
ggml_compute_forward_dup_from_qdequantizes each block straight into F32, or into a scratch row that it converts to F16 (ggml_cpu_fp32_to_fp16) or BF16. The default branch routes those destinations to it.Verified (enrico, 2026-10-27, CPU Release build of the fork at 741b0175b)
test-dup-quantized: q8_0 copied to F16 and BF16 equals the F32 dequantization converted, element for element. It covers a contiguous source and a permuted view (the cache's shape): 0 of 2,048 mismatched. Mutation: withops.cppreverted, the test aborts atops.cpp:571: fatal error, the live line.-ngl 0 --no-repack(as enrico's lane serves), Qwen2.5-Coder-1.5B-Instruct Q4_K_M, andPOST /trainwith four ~400-token chat examples, window 512, chunk 256, so the run walks two chunks.state: done, one epoch (train_loss 1.138, 84 s), and the adapter is written (4.4 MB).SERVER-DIED, withggml-cpu/ops.cpp:571: fatal errortwice in its log.source-hygienevendor_pintests: 3 of 3 pass (the pointer equalsLLAMA_CPP_PIN, and the pinned source still parsestail_tools).Measured after deploy
Owner Cormac, by 10-28 18:00Z, on enrico: the next engine-local training job reaches
donewith an adapter under~/.continuum/genome/<persona>/, and the engine log has noops.cpp ... fatal error. Then the learning chain continues (card 172f352f's path): the held-out gene-off comparison and adoption.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE