Skip to content

train 1122092308: #3665 (CI only) - #4584

Closed
ashhart wants to merge 11 commits into
mainfrom
lead/train-1122092308
Closed

ashhart wants to merge 11 commits into
mainfrom
lead/train-1122092308

Conversation

@ashhart

@ashhart ashhart commented Nov 22, 2026

Copy link
Copy Markdown
Owner

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

AbrahamCete and others added 11 commits November 22, 2026 09:23
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.
… (six blank lines fewer)

Main's 2027e7a ("flashnext hip: one refusal test for --drafter and --mtp-drafts, so hip.zig stays within 600
lines") left hip.zig at 599 lines, and the DFlash2 drafter's group check put it at 606. Six blank lines between
adjacent tests at the end of the file go; no code changes.
…calls, after main's 1a10b0b

Main's 1a10b0b ("hip flashnext: opt-in --mtp-drafts up to 7 on a lone stream (#3053)") gave checkGroup a
comptime family parameter. The merged --drafter test's four calls pass qwen35.native, as main's own refusal
tests do; at --tp 1 that family drafts at most 3, so the test's --mtp-drafts case keeps its message.
…n's 1a10b0b (one blank line fewer)

Main's 1a10b0b ("hip flashnext: opt-in --mtp-drafts up to 7 on a lone stream (#3053)") added the
mtp_drafts_hip_test.zig import, and with the DFlash2 drafter hip.zig came to 601 lines. The blank line between
the group-flags test and the --drafter refusal test goes; no code changes.
…nly test may name its engine

#3665 imports engine.zig as a module-level `engine` (for engine.tap_window); main's ed4e935 (Fixes #4061: price
copies-only HIP plain rounds) added a test whose local `var engine: Engine` shadows it, which Zig refuses
(hip_lanes.zig:537), so hip-host-test failed to compile. The import is renamed engine_mod; no other change.
@ashhart ashhart closed this Nov 22, 2026
@ashhart ashhart reopened this Nov 22, 2026
@ashhart

ashhart commented Nov 22, 2026

Copy link
Copy Markdown
Owner Author

Landed: #3665 as main 7ef2b42. This PR only carried their CI.

@ashhart ashhart closed this Nov 22, 2026
@ashhart
ashhart deleted the lead/train-1122092308 branch November 22, 2026 10:45
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