Skip to content

train 1118154633: #1631 #3755 #3203 #3761 #3773 (CI only) - #3844

Closed
ashhart wants to merge 19 commits into
mainfrom
lead/train-1118154633
Closed

ashhart wants to merge 19 commits into
mainfrom
lead/train-1118154633

Conversation

@ashhart

@ashhart ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #1631 #3755 #3203 #3761 #3773 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.

BobClawblaw and others added 19 commits November 18, 2026 15:46
…m) from its bf16 weights, audio rows spliced after the embeds

The checkpoint's llm.* tensors load as published: NeMo's layer names, fp32 A_log/D/dt_bias, the stacked [E, in, out]
experts on the bf16 grouped format with the shared expert as experts E and E + 1, TE's empty _extra_state skipped.
The audio encoder and CTC aligner tensors are left for the audio path. A prompt pass's audio rows replace the
<|audio|> positions' embeddings, as image rows do.
The Bolt load-recovery tests build an Engine by hand and null each optional kernel set; bf16x was left
undefined, so deinit unloaded a garbage module (seven tests crashed on Linux and Windows CI).
The perception encoder as a family of its own (zig/src/families/nemo_audio): WAV decoding, log-mel features and
their per-feature normalisation, the ASR and streaming speaker transformers window by window (speaker cache and queue
with AOSC compression, arXiv 2507.18446), the sinusoidal speaker fusion and the projection to the language model's
width. Weights read as stored (bf16), perception.* only.

nemotron/cuda_audio.zig holds the encoder, prepares clips (samples, rows, hash) and encodes each span at a prompt
pass, up to an hour of audio. tf-cuda-test audio-check writes every stage under the reference dumps' names;
audio-contract runs nemo_audio.cu's kernels through gates 1-4, each with a control built from nemo_audio.cuh.
…ore_threshold as the release does, with brief-speaker tests

A speaker's frame score is log max(p, pred_score_threshold) plus the other speakers' log(1 - p); frames under 0.5
never score. A score above log 0.5 is positive, and a speaker with floor(share x min_pos_scores_rate) positive scores
keeps only those (share = (188 - 8 x silence rows) / 8, rounded down: 22 shipped, so 11). The latest boost and the
strong and weak boost counts follow, from the same share. When fewer than 188 frames can score, the rest of the
cache is silence rows, after the scored rows.

Fitted to black-box NeMo dumps at several values of both keys and of spkcache_sil_frames_per_spk; the tests use
window 0 of a brief-speaker clip and of a clip with 37 s of silence, against the release's own caches.
… engines

The two hand-built engines in cuda_subset_batch_test.zig start from undefined; they now null the
Transcribe fields as cuda_load_gpu.zig's do, so no test reads or unloads a garbage pointer.
… main

Engine.record and its body move to cuda_seq_graphs.zig, Forward's lesson adapter call to
cuda_lesson_trace.zig, and tf-cuda-test imports chunk_costs and nemotron_draw_tests where they run,
as window-profile and tree-accept do. No behaviour changes.
… re-pin kernels.zig for the nemo_audio image
…rerank route

Each shape builds the existing rerank request and reads its results back: the same prompts, the same
sigmoid(yes - no) scores and the same order, with TEI's raw_scores the label logit difference the score is
the sigmoid of. A server whose model has no reranker labels, or whose engine has neither a score nor a
decision hook, refuses them with HTTP 400 before any work. The routes join the inference key scope and only
the two old aliases take PUT; a documents body at /rerank and /v1/rerank is unchanged. Host tests compare
every shape with the existing response.

Fixes #3174
@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Landed: #1631 #3755 #3203 #3761 #3773 as main 098198d. This PR only carried their CI.

@ashhart ashhart closed this Nov 18, 2026
@ashhart
ashhart deleted the lead/train-1118154633 branch November 18, 2026 16:33
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.

3 participants