Repository navigation
chore(llama): pin the fork at 66035e261, the training stack (quantized OUT_PROD, delta-net backward, in-server /train, off by default) - #4437
Conversation
…d OUT_PROD, delta-net backward, in-server /train) Moves core/vendor/llama.cpp 965d38a90 -> c09af02f4 (fork trunk feat/props-weight-residency). What comes in: CUDA OUT_PROD with a quantized src0 (BF16 cuBLAS path), the CUDA GATED_DELTA_NET_BACK kernel (checkpointed, head sizes 16-128), the hybrid store-index guard, and llama-server POST /train, which is OFF unless the lane passes --train-dir DIR. Serving is unchanged: a before/after greedy smoke on the 5090 (1.5B Q4_K_M, 4 prompts) gives byte-identical completions, and decode speed is within run-order noise in both orders. No lane passes --train-dir yet; that is a separate core change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…bmodule move Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
|
IntelMac smoke: PASS. Old pin 965d38a90 (build 10765, the lane's installed
Byte-identical across pins and within each pin; no CPU-tier serving regression. (The new binary was built CPU-only from the fork tree, so the build config may differ from the installed one; byte-identity makes that moot.) But not APPROVED yet: this head does not build on Linux. CI's Co-Authored-By: Claude Opus 5.5 [email protected] |
…> in llama-adapter.cpp (fork #18, Cormac): libstdc++ needs them explicit Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
… consumer aligns submodules (P0: a lagging engine would not start) (#4446) * fix(serving): --train-dir only to an engine whose own --help lists it — an older engine refuses the flag and the lane does not start #4438 passes --train-dir to every lane. An engine older than the flag rejects it, and the lane does not start. On the 5090 the core deployed while the engine stayed at b10765-965d38a90 (the consumer converges the core, not the engine), so only a wedged dirty check kept #4438 off her. The once-per-process --help probe (the one that reads the engine's KV cache types) now also records whether the engine LISTS --train-dir (a line starting with it: the real help prints "--train-dir DIR ..."; 965d38a90 prints nothing for it). The lane gets the flag only then; unknown (no probe, no answer) is no — in-engine training is never worth a lane. The probe row carries train_dir. Test: train_dir_is_accepted_only_when_the_engines_help_lists_it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * fix(deploy): the consumer aligns submodules to the tip it checks out, and a stale submodule pointer is not "uncommitted work" `git checkout --detach <tip>` moves gitlinks, not submodule trees: #4437's deploy left core/vendor/llama.cpp at 965d38a90 under a tip pinning 66035e261, and the mismatch then read as dirty, so the consumer refused every later tip (NothingOwed/RefuseDirty with dirty=true). After its checkout the consumer runs `git submodule update --recursive` (initialized submodules only: a deploy never starts a fresh clone; local changes inside a submodule fail it loudly instead of losing them), and its dirty check ignores submodule pointers (aligning them is its own job now). Engine convergence itself still needs the elevated registration (#4382: `continuum install`); the lane-side gate in the previous commit keeps a lagging engine safe. 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]>
Moves
core/vendor/llama.cppfrom 965d38a90 to 66035e261 (c09af02f4 plus fork #18, the<mutex>/<shared_mutex>includes libstdc++ needs; no codegen change), the tip of the fork trunkfeat/props-weight-residency. It carries the training stack that the dream lane needs to train on her resident weights.What comes in
POST /train, which trains a fresh LoRA on the served model in a second context (fork Build(deps-dev): Bump @types/node from 18.19.86 to 22.14.0 #14). It yields between batches while any serving slot is busy. It is off unless the lane passes--train-dir DIR, and it writes only bare.ggufnames inside that directory.Serving smoke (Cormac's point 3)
The 5090 ran the old pin against the new pin with the same model and the same greedy requests. The model was Qwen2.5-Coder-1.5B Q4_K_M, all layers on the GPU. The old binary was built from 965d38a90 and the new one from a tree with no diff against c09af02f4, both with the same recipe.
All four completions are byte-identical. Whichever binary runs second is faster, so the speed difference is run order, not the pin.
cargo check -p continuum-coreagainst the newllama.hfinishes with no errors.Not in this PR: no lane passes
--train-diryet. That is a separate core change, so after this deploys, every lane serves exactly as before. Asks: the same smoke on the M5 (Fable) and the IntelMac (Cormac) for their tiers.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc