Skip to content

train 1123203440: #4565 #3723 (CI only) - #4793

Closed
ashhart wants to merge 17 commits into
mainfrom
lead/train-1123203440
Closed

ashhart wants to merge 17 commits into
mainfrom
lead/train-1123203440

Conversation

@ashhart

@ashhart ashhart commented Nov 23, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #4565 #3723 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

ashhart and others added 17 commits November 23, 2026 20:34
…nsenova_loop

Physical layers keep one weight copy; each execution owns its delta-net or KV slot (42 + 14 for SenseNova-Loop-9B).
Plain Qwen checkpoints get the identity schedule. Drafting, learning, pockets and stages are refused for loop models.

Refs #3717
… leave) with host reference and contract cases

Refs #3717
Route, plain norm, mixer, merge around both halves of layers 4..27; streams enter at each pass's first layer and leave at
its last. FP32 dt_bias rounds to BF16 at load, as the reference holds it. Execution counts are cached in the geometry.

Refs #3717
…the reviewed launch sequence

qwen35_learn and the qwen35 GPU test mains pass null loops. kernels.zig registers the qwen35_mhc image.
The launch sequence's three norm add flags come from the schedule's decision, main's values on the plain schedule.
Other backends decide their own drafting for this model type.
…iterations and pre_scale

Accept loop_settings.use_gate absent or false, ignore unknown loop_settings keys, and no longer require layer_types.
Streams 4 parses but is refused at admission, as are fixed_identity and more than 1000 iterations. The route kernel
takes the Sinkhorn iteration count and pre_scale (defaults 20 and 1.0, the default path unchanged). A shared case
table, zig/tests/fixtures/sensenova_loop_config.json, runs through the CUDA reader and admission.
…al does

The route kernel takes pre_scale as an f32. A positive f64 such as 1e-50
passed the reader and the finite check, then ran as 0. Admission now
refuses it with UnsupportedSenseNovaMhc, matching #3859's reader. Two
fixture cases: 1e-30 (a normal f32) accepts, 1e-50 is refused at admission.
Follows main's 0ac3062, which moved deltaScan into cuda_forward.zig to keep the engine under 600 lines: the engine
keeps that one, and cuda_delta_scan.zig, the same helper moved for the same reason, goes.
…e (ten blank lines fewer)

Main's 0ac3062 moved deltaScan out of the engine to keep it under 600 lines, the room #3723 had made the same way,
so the loop schedule's fields and set-up put cuda_engine.zig at 610. Ten blank lines between adjacent Engine members
go; no code changes.
… schedule

Follows main's f16f9a5 (a launch trace for unread prompt chunks), whose test builds an Engine by hand and runs
forward.body: with #3723 the forward walks e.steps, so the test sets them from its geometry's schedule, one step for
its one layer, as Engine.init does.
… blank lines fewer)

Main's fceb497 (keep the main scan owner and both prompt fixture lifetimes) left cuda_engine.zig at 600 lines; with
the loop schedule and the earlier ten blank lines out, it stood at 604. Four more blank lines between adjacent Engine
members go; no code changes.
…main

Main re-pinned the reviewed launch sequence for its moved delta scan and MTP's retained-row tap argument
(2099ef3b), and #3723 re-pinned it for its schedule-driven norm add flags (d3b1945b). The merged sequence hashes to
29de8240; the two comments become one line.
@ashhart

ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Stopped at #3723.

@ashhart ashhart closed this Nov 24, 2026
@ashhart
ashhart deleted the lead/train-1123203440 branch November 24, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants