Repository navigation
Conversation
|
@ashhart T2 step 1 of #2560 is up as a draft: |
|
@laudney, the standalone header and 44 fixtures fit main cleanly, and there is no inference caller yet. We will handle the portable fixture writer, central environment read, two long inline comments and numbered changelog entry, then check Linux and Windows CI. The unguarded POSIX writer is a concrete portability issue; the failing CI log is still needed to confirm the complete failure. We will keep the T1 landing order as agreed.
|
|
@ashhart thanks, the branch is yours; I will not push to
Linux and macOS checks pass on this head. |
|
Hi @laudney, thank you — the full zig-windows log is exactly what we needed. It confirms the failure is only the std.c fixture writer on Windows (one compile error, everything else green), and that resolves our ask. We appreciate you handing the branch over. The head is unchanged, so the cleanups we said we would take on are still in front of us: making the fixture writer portable and moving the TF_STEP_FIXTURES_OUT read to one place (both in zig/src/fabric/step/fixtures_test.zig), trimming the long inline comments, and adding the numbered changelog entry. We will finish those and get Windows CI green before landing, and we will keep the agreed T1 landing order. There is nothing further we need from you on this branch.
|
Every TP family and the pipeline ring speak their own step protocol today, so T2 of ashhart#2560 gives them one 64-byte header with optional sections. This adds it as a std-only module with no user yet: the header and section layouts, a writer with checked sizes, a decoder that bounds every count before it reads and refuses by name, golden fixtures in the ring's form, and test-fabric-step with aarch64 compile checks. The ring adopts it in a later step, the families in T6.
7dbf581 to
d310ee7
Compare
T2 step 1 of #2560:
fabric/step, one leader step header that the pipeline ring and each tensor group's leader can share, as agreed with @jschmied on #2560 (draft, review reply). It lands alone first, as agreed: nothing calls it yet, so no served path changes. The ring adopts it in steps 2 to 5 (jschmied's PR, after #2579 and #2785); the TP families adopt it in T6.fabric/stage); each TP family's leader its ownTFSH, version 1) and 9 optional sections, for any of themWhat this changes
header.zig: the 64-byte little-endian header. Decode refuses a wrong magic, version, kind or mode (a mode other than window off a round) and any non-zero reserved byte;expectrefuses another round, then another group.section.zig: the 8-byte section prefix (id, version 1, count), each section's entries and their readers; every section pads to 8 bytes.message.zig:size(checked arithmetic),write/encode, anddecodeagainst the receiver'sLimits(bytes, streams, rows, context). Decode takes sections in ascending id, known ids only, a mask equal to the sections present and one row map (streams or compact rows) whose rows sum to the header's. It also checks each stream op (open at 0, close with no rows, a resume point at or before the first row, rows inside the context), rows and sections on rounds only, one token per row, cuts inside the rows, samplinghasbits, page patches' kept count and snapshot ops.fixtures.zigandfixtures/: 44 golden files with a README of every layout, andjudge, the receiver each user of the header tests against;TF_STEP_FIXTURES_OUTrewrites them after a deliberate format change.zig/build/step.zig:test-fabric-step(part ofzig build test) andtest-fabric-step-compile(aarch64 Linux and macOS).Each user keeps its own rules (listed in the README): ascending stream ids (the ring's), a resume paired with a restore, a sampler's rows inside the header's rows, and anything about page or snapshot ids.
Issue: Refs Roadmap: one N-rank layer for TP, PP and EP, shared by every family #2560 (T2 step 1; steps 2 to 5 are the ring's, T6 the families').
Stacked on: main
5c82ef28a; one commit. It shares no file with the T1 PRs (fabric/mesh: one launch description, --tp up to 64 and the rank aliases (T1a of #2560) #2917, cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) #2919).atc overlap --json: baseupstream/main5c82ef28a, 2026-11-15 15:29 UTC: a text conflict with Implement GLP control vectors with a fused Metal kernel for Qwen3.8-27B #1835 inbuild.zig(one adjacentstepsline; whichever lands second rebases), clean with Native Vulkan backend for Qwen3.5-2B (opt-in): engine and kernel-contract registration (stacked on #1526) #1544, unknown for qwen27: serve the 27B pair, refuse what a pair cannot keep, and die with the peer #1434 and qwen3-asr: host slice, the shared tower and Qwen3 schedules over a backend binding (#2105) #2239 (one shared file each). Coverage incomplete (timeLimit,pullFilesUnavailable).Checks on this head
7dbf5817fon main5c82ef28a.zig build test test-golden test-fabric-step test-fabric-step-compilepass;zig fmt --check build.zig zigandgit diff --checkpass. 14 tests in the module: every header field round-trips at its offset; each refusal by name; every good fixture truncated at every length and each byte flipped three ways is taken or refused, never a panic; maximum counts refuse without overflow; the golden bytes equal what the writer writes. Planted control: with decode'sBadSnapshotcheck removed,bad_snapshot.binfails the fixture test.Receipt
n/a: nothing calls
fabric/stepyet, so it cannot reach inference; the served bytes are main's. Platforms: host tests on x86_64 Linux; aarch64 Linux and macOS compile only.Checklist