Skip to content

train 1121060145: #3862 #3918 (CI only) - #4317

Closed
ashhart wants to merge 12 commits into
mainfrom
lead/train-1121060145
Closed

ashhart wants to merge 12 commits into
mainfrom
lead/train-1121060145

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #3862 #3918 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.

millaguie and others added 12 commits November 21, 2026 06:01
tiles/wmma12_step.hpp holds W12Geo, the bf16x8 type, w12_at, W12Step, W12Exact,
the K loop's barrier and the LDS operand store and load, so a second gfx12 tile
can stage BF16 operands the same way. The barrier and the load take the fault
type, so a tile that uses them gets both contract controls without its own checks.
wmma12_gemm.hpp includes it; the geometries, the launch band and the epilogues
stay there. tiles/wmma12_gemm_k32_ref.hpp stays self-contained.
The native HIP server wraps the qwen3_5 dense target with the lane core's
Drafted over the HIP DFlash2 drafter: taps are set from the drafter's
config before streams are sized, the drafter's weights and per-stream
state count in the memory plan, and window costs go to the drafter.

- refuse --drafter under --tp > 1, at other --drafter-bits, and for
  HIP families without a DFlash2 drafter; benchmark --drafter on rocm
- an absorb refuses kept rows past its features; features serve only
  rows the ring holds for the drafter's window
- docs: the 27B recipe and community benchmarks

A test pins that --no-drafts with --drafter loads no drafter and is not
refused.
tf-qwen35-test check takes --drafter <dir>: the lanes session opens the
HIP DFlash2 drafter as the native server does and wraps the target with
Drafted, so drafted == serial, solo == together and graph == eager run
for Qwen3.8-27B instead of skipping. The taps invariant restores the
taps it found instead of switching them off.

The lanes session likewise restores the taps it found when it ends or
its drafter fails to open.
A stream resumed from a kept prompt state taps no rows below the resume
point, so its ring holds zeros there while features() counted them as
written. features() now refuses them with RowsNotHeld, as Nemotron and
Gemma4 do. Drafted already absorbs from s.cached, so no served path asks
for those rows.
…a fresh one

The resumed invariant compares a resumed drafted run with a serial one.
This adds the drafted run of the same prompts with every kept prompt
evicted first: it must resume nothing and give the resumed run's tokens,
and the check prints each run's drafts kept, drafted and rounds, so a
resume's effect on acceptance is visible.
main now serves some BF16 qwen3_5 checkpoints (image towers the engine
reads, and joint-head decisions), but the engine times no BF16 windows,
so the DFlash2 drafter would run its rounds unpriced. A BF16 checkpoint
with --drafter is refused by name before any load, as the drafter's
stated limit says; quantized checkpoints and serves without --drafter
are unchanged.

A host test pins the refusal on a BF16 chat config and its absence on
the same config quantized, or without --drafter.
A frame now runs min(block, deepest depth + 1) rows a stream, so a hold
costs what the lane core's step_ms x drafts price assumes, and step_ms
is measured as the marginal cost of a draft past a one-draft hold. The
core's existing depth rule then drafts shallower in shared rounds.

Tests pin that truncated frames keep acceptance within 0.05 of the full
block at depths 1 and 3, that a frame refuses blocks outside 2 to the
config's before it takes any scratch, and that the measured draft step
falls back to the full block's cost a draft when noise makes it
non-finite or below a 0.01 ms floor.
The recipe's plain and drafted decode figures on gfx1151 came from the
proposal branch's base. They are now the medians of this branch's served
runs on main f0a54bd (bench_concurrent, 256 tokens, 3 reps, two fresh
servers an arm), with two streams added; four chat streams decode below
plain, and the recipe says so.
@ashhart ashhart closed this Nov 21, 2026
@ashhart ashhart reopened this Nov 21, 2026
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

Closing: this CI-only train PR belongs to a train that was split or restarted; its riders are on newer trains. - Synthena

@ashhart ashhart closed this Nov 21, 2026
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