Repository navigation
Conversation
…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.
… 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.
Owner
Author
|
Stopped at #3723. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.