Skip to content

integ: GB10 train 2026-11-01 (#159, #303, ports of #255 and #256) - #305

Closed
AzeezIsh wants to merge 35 commits into
mainfrom
integ/train-2026-11-01
Closed

AzeezIsh wants to merge 35 commits into
mainfrom
integ/train-2026-11-01

Conversation

@AzeezIsh

@AzeezIsh AzeezIsh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Single-Spark (GB10, sparky) integration train on main 8c2b67218. Its gate compares against main at that same base (the knob-attribution A0 arm). It contains:

Resolution notes (reviewed)

Port of #255:

Port of #256:

  • GLM-only code (is_glm5_next early return into video_preprocess/glm.rs).
  • ensure_decoder is now the single source for the ffmpeg enabled/available check (used by decode_with_plan and the GLM frame reader).
  • Main's GLM-only single-frame refusal test is replaced by the reference behaviour, a_glm_single_sample_is_padded_to_a_temporal_group. Qwen behaviour is unchanged.
  • Follow-up, not in this PR: the generic path's is_glm5_next branches are now unreachable.

Split for the 500-line cap: impl_b3_dflash_glm.rs, free_state_support.rs, and ensure_decoder moved into video_decode_ffmpeg/probe.rs. These are pure moves.

Gate (job 68b on sparky, building this exact commit from a clean tree)

Not covered on sparky: there is no DFlash2 or GLM checkpoint there. The DFlash warm-ctx and GLM video paths are covered by unit/GPU tests and default-off neutrality only.

Local checks at 5ffcd4169: fmt clean, clippy clean, file-size cap loop exit 0, spark-model video_ 73/0.

Draft until the gate reports. Campaign log: #211.

Generated with Devin

AzeezIsh and others added 30 commits October 2, 2026 14:21
The HIP-only gate rested on a wrong premise: the gb10/strix (NVIDIA)
dense_gemv_bf16 also walks 64 lanes per row with the same smem pair-sum
as its batch2 sibling (the '// 32' comment in dense_gemv_bf16.cu is
stale), so the pair is bit-identical there too. Flash-Next's BF16 LM
head was read twice per MTP verify step on GB10 as well.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…restore

Ported from stack/dflash-warm-ctx 5c15afb onto main (its stack base
qsa-aux-kv-budget already landed via #282). Conflicts:
- dflash_head.rs: union — main's own_row init plus the pick's warm_ctx fields
- free_state_tests.rs: theirs — the pick's fresh_state helpers (absent on main)
…ne (Enntity/atlas f3f3876)

Ported from stack/glm-video 5497364 onto main. Conflict:
- video_preprocess/tests.rs: union — kept main's gif aggregate-budget test
  and appended the pick's GLM sampler/processor tests
Ported from stack/glm-video 8a8a959 onto main. Conflicts:
- video_decode_ffmpeg_tests.rs: union x2 — kept main's moov-at-end and
  faststart probe/decode tests, added the pick's timing() helper and
  declared_frames tests
…finalize_last/prefix_lookup union: main's vision path + warm_ctx hooks)
…h/dflash_ctx_window come from stack layers not ported)
…g path wins); restore ctx_prefill_origin/base + ctx_acc_rows fields
@AzeezIsh

AzeezIsh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Gate 68b, interim (sparky, #305 head 5ffcd41, clean tree):

@AzeezIsh

AzeezIsh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Gate result: #159 landed on its own; this train won't merge as-is.
Same base (main 8c2b672), sparky, FP4-Local r1short unless noted:

leg result
controls (68f, control.py 4 req) IDENTICAL: FP4-Local, Flash-Next NVFP4, Qwen3.8-27B NVFP4 at K=2 verify
BFCL ST-995 87.54 / 85.94 (run-1793547282491478714), all 15 subsets identical to main (run-1793521232941271578)
agentic-webserver 50 47/50, 10.66 s/turn. Same failing iterations 0/18/27 as main; that's 565aa68, see #271
spark-server tests 3002 / 0
spark-model tests 2037 / 1. video_decode_ffmpeg::hour_tests::probe_timeout_covers_a_blocked_stdout_read hit Text file busy (os error 26); it passes alone on main. A flake check is running
#255 GPU tests (--include-ignored) warm_ctx_gpu_tests::a_warm_turn_window_matches_its_cold_prefill_on_the_device FAILS; the_store_round_trips_glm_windows_on_the_device passes
#303 vision probe cache engages, but two-image cold ≠ warm and cold outputs change with the gate on. Details on #303
errors / panics 0

What happens to each part:

I'll close this PR once that replacement is open.

AzeezIsh added a commit that referenced this pull request Nov 1, 2026
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@AzeezIsh

AzeezIsh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

@AzeezIsh AzeezIsh closed this Nov 1, 2026
AzeezIsh added a commit that referenced this pull request Nov 1, 2026
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
vcruz305 pushed a commit to vcruz305/atlas that referenced this pull request Nov 11, 2026
…-Inf#256)

Port of Atlas-Inf#256 (Enntity/atlas f3f3876 via 5497364, plus 8a8a959 from
Atlas-Inf#295) onto main's Atlas-Inf#286 video path. Atlas-Inf#256's stack base already landed
through Atlas-Inf#282, and the DFlash warm-ctx port from the same stack (Atlas-Inf#255) is
not included. Every video file here is byte-identical to the version
gated in train Atlas-Inf#305.

- ensure_decoder is the single source for the ffmpeg enabled/available
  check, in video_decode_ffmpeg/probe.rs (pub(super)); decode_with_plan
  and frames.rs call it.
- The moov/faststart decode tests use the enabled() policy; on a host
  with ffmpeg they fail on main under FfmpegPolicy::default().
- The GLM reference path pads a single sampled frame into a temporal
  pair. Qwen's generic path is unchanged.
- The generic-path GLM single-frame refusal test is dropped, superseded
  by the reference pad test (the generic GLM branches are now unreachable
  behind the is_glm5_next early return; follow-up).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.

1 participant