Skip to content

deepseek_v41 on CUDA: --mcdma-produce exports a hand-off request's prompt state, and GET /v1/handoff/<id> serves it - #3565

Open
BlivionIaG wants to merge 95 commits into
ashhart:mainfrom
BlivionIaG:pr/dsv41-handoff-cuda-produce
Open

BlivionIaG wants to merge 95 commits into
ashhart:mainfrom
BlivionIaG:pr/dsv41-handoff-cuda-produce

Conversation

@BlivionIaG

@BlivionIaG BlivionIaG commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Before, a DeepSeek-V4.1 CUDA server cannot export a prompt's state. After, --mcdma-produce LINK (or TF_DSV41_HANDOFF_DUMP) reads the active slot's state back at a hand-off request's cut (the prompt less its last token), builds the library's bf16 parts and holds them under the request's id until the decoder closes them (TF_PRODUCE_HELD_GIB). --mcdma-produce http holds them the same way and serves them on the server's own port: GET /v1/handoff/<id> streams the protocol 2 replies, DELETE releases, behind the key gate and the inference scope. A request cancelled by its cut no longer leaves a held export nobody reads. The export point is armed only for a hand-off request (a stream whose reuse hook has a mark at the cut); every other prefill pays one check. The decoder's side is not in this PR. Slice 3 of the chain in #3553.

Checks on this head

  • Head commit: 03e3394017
  • Lean checker, python3 tools/zig/lean_check.py, on the parent head and on this head: 341 problems on the parent head, 341 on this head, 0 new (tools/zig/lean_new.py). tools/pr_check.py --base upstream/main --pr 3565: 0 errors, 1 advisory warning, inherited from Prefill on a GB10, decode on a Mac: long prompts for Qwen3.8-27B handed over ConnectX (#1594, step 2b)  #2648 (cli_remote.zig:40, a non-loopback IPv4 address).
  • Tests run, with the command and pass, fail and skip counts:
    • All run on 4f9527b410, the same code as this head without the CHANGELOG lines; the host is an arm64 Mac, -Dfixed-cpu.
    • zig build -Dfixed-cpu test-dsv41-handoff --summary all: 78 pass, 0 fail, 0 skip.
    • zig build -Dfixed-cpu test-handoff-routes-host --summary all: 24 pass, 0 fail, 0 skip (new step).
    • zig build -Dfixed-cpu test-dsv41-cuda-host --summary all: 439 pass, 0 fail, 0 skip (the parent: 409).
    • zig build -Dfixed-cpu test-dsv41-draft --summary all: 137 pass, 0 fail, 0 skip (the parent: 137).
    • zig build -Dfixed-cpu test-lane-api-host --summary all: 681 pass, 0 fail, 0 skip (the parent: 680).
    • zig build -Dfixed-cpu test-dsv41-env-host test-environment-host --summary all: 14 and 23 pass, 0 fail, 0 skip (the parent: 14 and 23).
    • compile-dsv41-cuda, compile-dsv41-server, compile-dsv41-tool and check-native-cuda-host (Linux cross-compiles, never executed): exit 0.
    • zig fmt --check build.zig zig and git diff --check: clean.
  • CI: no checks reported on the branch yet; nothing to claim.
  • Not run, and why: zig build test test-golden (full suite), dev-tools, any GPU run: the build machine has no CUDA device, so the export was exercised by host tests and cross-compiled for Linux, never executed on a GPU in this PR. The failing-before check for the new tests was not done.

Receipt

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

Update after review

ThinkOffApp and others added 21 commits November 14, 2026 10:39
…, sent as KV handoff protocol 2

hybrid_state gives Qwen3.8-27B's recurrent and attention state one byte order, header and token sha256 that CUDA and Metal both read. Protocol 2 sends a recurrent layer's state part by part with a CRC-32 a frame (ARMv8 CRC instructions where present); protocol 1 readers refuse it. The producer table holds exports for a hand-off, refuses a reused id, expires them, and caps the bytes held (HeldExportsFull). fabric_handoff and tf-mcdma-pair tests cover the fake link and the frames. (ashhart#1594 step 2b)
…a kept state, and is kept as remote

The lane host fetches a remote prefix on its own thread after the cache's peek, leads the prefix wait for requests on the same prompt, and falls back to a full local prefill on a refusal. With TF_PREFILL_KEEP (default 1) the states a pulled prefix builds are kept in the prompt cache marked remote, never written to disk or learned from, so a chat's follow-ups resume on the Mac. Tests pin provenance (remote_prefix, pulled_prefix), the keep rules and slot 0's let-go. (ashhart#1594 step 2b)
…ls them over an MKVH link

cuda_produce reads a CUDA copy in place and serves hand-off exports as the link's service, at most TF_PRODUCE_HELD_GIB held (default 32). On the Mac, qwen27_remote pulls a prefix into a blank state, checks model, checkpoint, token sha, TP, geometry and protocol, and refuses a checkpoint whose state is not Qwen3.8-27B's (Qwen3.5-9B) at start. remote_trigger asks the GB10 over bounded HTTP, with TF_PREFILL_API_KEY_FILE's key as a Bearer token and a named 401. A detected mismatch turns remote prefill off; a refusal or timeout does not. The TF_PREFILL_* settings join the environment registry. (ashhart#1594 step 2b)
… a GB10, and the hand-off's API fields

A completion's kv_transfer_params.mcdma_handoff becomes its hand-off; a malformed one now returns 400 on every native server. Replies on a remote prefix report exact_mode "remote_prefix" with remote_prefix, pulled_prefix and kept_remote_cache_tokens. docs/api.md and docs/environment.md describe both. Off unless both machines are started with the new options. (ashhart#1594 step 2b)
…ecks on real weights

The GB10 exports a state (export, tail); the Mac restores it from a file or a live pull and checks it: teacher-forced KL and top-1 (close), the backends' own gap (floor), stage times (time, multi), and agree, which lists every position where the restored state's greedy token differs from the Mac alone with both top-1/top-2 margins, plus repeat restores' bytes and tokens. State files are read in 1 GiB pieces, as macOS refuses one read over 2 GiB. (ashhart#1594 step 2b)
…rrow and no promise

A repeat hand-off whose lookup finds a remote copy at the cut resumes below it on the engine's own state and keeps the cut as its own. When a queued chat protects the remote copy and the budget has no room beside it, the guard refuses that keep (CachePromised). The test shows the export and the reply still go on, the borrow from below() is let go, no job is left holding a promise, and the remote copy still serves the next chat.
…umes on the Mac

A stream on a pulled prefix was not plain(), so leave() dropped slot 0's record, rewindPoint returned 0 and every follow-up after a hand-off started at 0 and pulled its whole prompt from the GB10 again. Such a stream now counts as plain for slot 0: its pass makes a rewind point at the history end past the cut, and leave() keeps the record, marked remote (Standing.remote). A pass that resumes on that record, here or back at its point, takes its rows' origin (inherit: reuse.remote set, reuse.pulled cleared), so its reply reports the prefix as kept remote and its keeps are marked remote, never the Mac's own. A refused copy that ran here from 0 leaves an own record. With TF_PREFILL_KEEP=0 slot 0 keeps no record and no rewind point of a hand-off's rows, and Job.kept and Job.keep keep nothing on a remote prefix. The unplanned cache checkpoint still skips remote streams. The decisions move into qwen27_resume.zig (plain, leftRemote, inherit, rewindAt, Standing.left, Standing.point, Standing.keeps), where host tests pin the hand-off chain, a refused import, each case that keeps nothing (TF_PREFILL_KEEP=0, a cancelled or failed reply, images, prompt logprobs, untaught rows) and a pull that reaches the history end, which makes no rewind point. (ashhart#1594 step 2b)
New host tests (qwen27_handoff_test.zig, "qwen27 hand-off:", run by test-qwen27-reply-cache-host) drive the real lane host with a fake backend over a device-less Metal whose slot 0 choices are qwen27_slots' own: resumeAt as the lane host's resume_peek, opening where slot 0 resumes, rewindPoint and leave. A pulled turn leaves a remote record with its rewind point at the history end; its follow-up pulls nothing, resumes in place where the turn left slot 0 and reports the prefix as kept remote. With TF_PREFILL_KEEP=0 the follow-up pulls again. A pass on slot 0's remote rows makes no unplanned checkpoint, on its own rows it does, and either way it clears a pull it overtook. To reach these host-side, takeStanding inherits the origin once after its switch (here or back), attach's TF_PREFILL_KEEP goes through remote.keepRule (lane host and slot 0 alike), and leave and rewindPoint are pub.
The cache plans a fill's marks without slot 0's in-place resume, so a follow-up that resumes slot 0 (its own rows, or a hand-off's since the last commit) can carry marks below where its pass begins. It never stands at them, yet a request arriving during its pass waited for one until the pass ended, then computed the prefix itself. The prefix wait now skips a leader's marks at or below its stream's cached rows. A request picked in the same admission as the leader, before its first chunk, is not covered: the leader's start is not known yet. Host tests: a request arriving during a fill waits for its cut and resumes it; one arriving during a fill that resumed past the cut does not wait.
…DA export needs

compile-qwen35-rounds-host builds zig/tests/qwen35_cuda_main.zig as its own module, with cuda, qwen35, core and lanes only. Since the main imports qwen35_cuda_export.zig, which reads @import("hybrid_state"), that step stopped compiling. It now gets the same hybrid_state module zig/build/cuda.zig gives tf-qwen35-cuda, built for the census target. (ashhart#1594 step 2b)
inherit now takes the plan and leaves a stream's origin alone for .none, so the decision that a pass resumed here or back at the rewind point stands on the record's rows (remote or not) lives in qwen27_resume.zig, not in takeStanding's arms. The .back arm needs rewindSlot, a GPU blit, so no host test reaches it in qwen27_slots.zig; the rule it calls is pinned by the resume tests, whose helper now calls inherit as takeStanding does instead of deciding by itself. (ashhart#1594 step 2b)
…ixture

The hand-off fixture's pass now carries opening's rewind point as chunk's saveRewind would, so the follow-up's rewind_at is the code's (turn 1's point carried; a pass resumed in a reply sent back as generated makes none), and it keeps the s.cached opening set over the fake's own fill instead of setting it again from the resumed position, so qwen27_slots.opening's line is what the reported remote prefix reads. Slot 0's hand-off rules (qwen27_resume_remote_test.zig) also run in zig build test on every OS; the Metal fixture's tests stay in test-qwen27-reply-cache-host, macOS only. (ashhart#1594 step 2b)
Adds the host-only record library for the DeepSeek-V4.1 prefill hand-off: the release geometry,
the codec between CUDA's fp8 cache records and the neutral bf16/f32 parts, the E2M1/E4M3 FP4
mirrors of the Metal packers, the part plan (what travels, cut into frames of at most 2 MiB)
and the CUDA-side export of a snapshot's copies into those parts. Each piece is tested against
independent tables or f64 references; `test-dsv41-handoff` runs them on the host.

Not included: the Metal packers and importer, protocol 2 adapter, landing sink and stream
file, the CUDA export, and any transport.
… landing sink

Adds the Metal side of the host-only hand-off library: the packers that write the neutral
bf16/f32 parts into the release lane's and the served lane's cache layouts, the importer that
accepts exactly the parts a shape implies, the export from a Metal snapshot, the protocol 2
adapter (`p2`: manifest check and a sink for `fabric.decoder.pull`), the landing sink and a
test-only hand-off file (`blob`). Export-to-import round trips cover both layouts, replicated and
split pools, and protocol 2 runs end to end over a fake link.

Not included: the CUDA export, the byte-stream file, any transport, and the tests and checks
that read the served lane's source.
…ompt state, and GET /v1/handoff/<id> serves it

A DeepSeek-V4.1 CUDA server started with --mcdma-produce LINK (or TF_DSV41_HANDOFF_DUMP) reads the active
slot's state back at a hand-off request's cut (the prompt less its last token, armed through the draft
lanes and run by the GPU target), builds the library's bf16 parts and holds them under the request's id
until the decoder closes them (TF_PRODUCE_HELD_GIB). `--mcdma-produce http` holds them the same way and
serves them on the server's own port: GET streams the protocol-2 replies under a Content-Length, DELETE
releases, behind the key gate and the inference scope. `handoff_file` is the stream format the dump and
the HTTP body share.

A request cancelled by its cut captures no export: exportAt returned a snapshot to the exporter even when the request had been cancelled in the pass before the cut, leaving a held export nobody reads until its time to live ends. The prompt pass itself is not cancelled: on the GB10 pair the follower rank runs every pass the leader runs, so abandoning one on the leader alone would leave the follower waiting on a collective.

Not included: the decoder's side (pull, landing, HTTP fetch), replay-mode and piece-wise prefill, a split
KV pool, and the operator guide. The export refuses those configurations at start-up by name.
@BlivionIaG

Copy link
Copy Markdown
Contributor Author

Thank you, @ashhart. You asked for admission and publication to be made safe together, with a concurrent cap-failure
test, for token tracing to forward hand-off serving with a test, and for the inherited ring and identity fixes.

What changed (b844fc6a2b):

  • record checks for a reused id, reserves the held-map slot, admits under TF_PRODUCE_HELD_GIB and publishes, all
    under the producer's lock. A refused export is never in the held map, so no GET can pin it. A reader waits on that
    lock until the export is admitted and published. The lock order is the producer lock, then the table lock, and
    nothing takes them the other way.
  • The TF_DSV41_TRACE_TOKENS recorder now forwards handoff, so GET /v1/handoff/<id> finds its exports while tokens
    are traced.
  • The export names its checkpoint by handoffName, and the hand-off doc says what the name binds. The ring and
    identity fixes come in through the merge (bd08f978f8).

Evidence:

  • The race test refuses 40 exports at the cap. For each one, the recorder and a reader queue on the producer's lock;
    once it opens, the reader asks again and again until the recorder has returned. Red before, on the old order:
    test-dsv41-handoff 80 pass, 1 crash, with a segfault on freed memory (0x5555555555555575). Green: 81, then 84
    after the merge.
  • Token trace: red before, test-draft-dsv41-host 1 pass, 1 fail; green 2/2.
  • Green on this head's tree (64/64 steps, 1222/1222 tests): test-dsv41-cuda-host, test-handoff-routes-host 36,
    test-lane-api-host 837, test-checkpoint-identity 40, test-environment-host 37, test-dsv41-env-host 23,
    test-server-security 54, compile-dsv41-server, check-native-cuda-host.

The current-head receipt (plain, replay and piece-wise exports of one recorded prompt and checkpoint) is not produced yet: it needs the CUDA pair, which is busy; I will add it when the pair is free.

  • New head: bf6072848d

…cap admits it

With TF_DSV41_HANDOFF_DUMP beside a link or http, record wrote <id>.mkvh2 before the cap admission, so an export refused with HeldExportsFull left a published file beside its <id>.error. The export is now admitted and published first, pinned, and its file written after; a file that cannot be written is logged and the held export stays. A producer that only dumps writes as before. A test refuses an export at the cap of an HTTP producer that dumps and finds only its reason in the directory; on the old order the refused export's file was there.
@ashhart

ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you, @BlivionIaG. Capacity admission now precedes reader-visible publication under the producer lock, and the traced engine forwards hand-off serving. The cap-reader and omitted-hook findings are closed in source, with regression fixtures present.

The inherited identity fix remains partial: it hashes file contents separately from loading the model. Please bind the advertised identity to the snapshot actually loaded and cover replacement between the two operations. The current-head plain export still needs exact retained-state replay, equal serial-reference tokens, and no destination publication on refusal.

  • Synthena

@ashhart

ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you, @BlivionIaG.

CHANGES REQUESTED at 96134b72522a333e3db0cbf44f249db679b0b626.

Capacity admission and reader-visible publication now happen under one producer lock, and the traced engine forwards hand-off serving. Two source issues remain.

  1. Checkpoint identity is still separate from the loaded snapshot. zig/src/families/deepseek_v41/serve_engine.zig:109-111 loads the model, while :210-212 later calls checkpoint_identity.handoffName on the directory. That function independently reopens and hashes files at zig/src/core/checkpoint_identity.zig:361-378. The native CUDA and Metal boundaries have the same separation. Replacing a shard between loading and naming can advertise B while exporting state computed with A, and a consumer running B will accept the matching label. Please carry verified loader-snapshot identity into every hand-off, with producer and consumer replacement controls and refusal when binding fails.

  2. Dump I/O refusal leaves destination artifacts. zig/src/families/deepseek_v41/cuda_export_serve.zig:281-306 writes <id>.tokens.json, then creates and writes <id>.mkvh2.part, then renames it. A create, write, flush, or rename failure after the token write reaches failed through :238-240, but failed at :310-320 writes only <id>.error; it does not remove the token JSON or partial state file. A refused export can therefore leave a complete-looking token file and partial destination. Clean up artifacts created by the failed attempt without deleting any earlier completed export, and add injected write/rename failure controls. Capacity refusal does not cover this later-I/O path.

After correction, the current-head CUDA-to-Metal run still needs exact retained-state bytes, equal serial-reference tokens, and no destination publication on refusal.

This was a source-only review. I ran no builds, tests, or device checks.

@BlivionIaG

Copy link
Copy Markdown
Contributor Author

Receipts at head 96134b7252.

Common setup for the hardware receipts:

  • Producer: two GB10s in TP2, driver 580.173.02, CUDA 13.0 (nvcc V13.0.88), NCCL 2.30.7, Ubuntu 24.04.4, zig 0.17.0,
    ReleaseSafe, sm_121. Both ranks ran identical binaries.
  • Checkpoint: Mia-AiLab/DeepSeek-V4.1-Flash-1017-EXL3-EAQ-v1-2.9-bpw @ 45ee5d0fd106c94a3d77f721e09cbb2f50e5a16b.
    Its hand-off name is checkpoint-94a0c80d9a19a582.
  • Recorded prompts. P: 7,838 ids, cut at 7,837 (token sha256 003fe665…c877). Q: 16,095 ids, cut at 16,094
    (token sha256 36da20c1…0771).
  • Exact means bit equality, with only the hand-off id masked.

A fix found while preparing this receipt. With TF_DSV41_HANDOFF_DUMP set beside a link or http, record wrote
<id>.mkvh2 before the cap admission. An export refused with HeldExportsFull therefore left a published file next to
its <id>.error.

What changed (4489d7470c): the export is admitted and published first, then its file is written while the producer
holds a pin on it. A file that cannot be written is logged, and the held export stays. A producer that only dumps
writes as before.

Test of the fix: an HTTP producer that dumps admits one export and refuses the next at the cap.

  • The admitted export's file equals what readers receive.
  • The refused export leaves only <id>.error: no .mkvh2, no .part, no .tokens.json. GET for it is refused.
  • Red before: test-dsv41-handoff 84 pass, 1 fail.
  • Green after: 85, plus test-dsv41-cuda-host, test-handoff-routes-host, test-draft-dsv41-host,
    compile-dsv41-server and check-native-cuda-host. Lean 0 new; pr_check --base 48551242c7 0 errors.

Hardware receipt. Build: #3567 head 2b54a2cf45, which contains 96134b7252. Run with --mcdma-produce http,
TF_DSV41_HANDOFF_DUMP, TF_PRODUCE_HELD_GIB=1 and greedy decoding.

  • Export sizes: P 30,740,258 bytes in 60 frames; Q 57,166,998 bytes in 71 frames.
  • GET /v1/handoff/<id> returned 200, and its body was byte-identical to <id>.mkvh2 for both prompts.
  • <id>.tokens.json equals the covered prompt.
  • The hand-off reply token equals the first greedy token: P 4609, Q 109070.
  • The greedy 32 tokens equal those of the other modes in the deepseek_v41 export: replay-mode and piece-wise prefill are exported at their cut #3566 receipt.
  • Refusal control: 34 exports were admitted under the 1 GiB cap, and the 35th was refused. It left only <id>.error,
    and GET answered 409 with the TF_PRODUCE_HELD_GIB reason. The same control at the previous head left .mkvh2,
    .tokens.json and .error together.

@BlivionIaG

Copy link
Copy Markdown
Contributor Author

Merged upstream/main (a3794242c4) to clear the conflicts; no change to this PR's own code. The .handoff export hook in lane_host.zig is repinned in gradient-serving.tsv. zig fmt --check clean, lean 123 vs 123 on the base, 0 new, pr_check 0 errors. New head da1ffc3ff7.

…and never clobbers an earlier dump

A dump that fails after writing <id>.tokens.json or <id>.mkvh2.part (create, write, flush or rename) now removes both before failed writes <id>.error. A dump under an id an earlier export already holds in the directory is refused (HandoffFileExists) and leaves that export's files byte for byte. Produce.dump_fault injects a failure at each step for the tests.
Bound stamps config.json, the index and every shard (device, inode, size, mtime, ctime) before the load reads a byte; its name hashes after the load under those stamps (each shard's digest descriptor must equal its stamp) and checks every file before and after the hash. A file replaced or rewritten in between refuses the hand-off. The qwen27 CUDA producer stamps before F.open and names in cuda_produce.open; the Metal consumer stamps in qwen27_served.open before the load and names in remote.attach after it; the import tool stamps before host.open. handoffName, its alias and remote_id are gone.
# Conflicts:
#	zig/src/native/cuda_produce.zig
…eader loaded

openExporting stamps the checkpoint (checkpoint_identity.Bound) before Model.open when --mcdma-produce or TF_DSV41_HANDOFF_DUMP asks, and exportOpen names it after the load; a file replaced or rewritten in between refuses the export at start (ExportRefused, with the reason) instead of naming another checkpoint.
…re refused

synth.genIndex now yields what a CUDA export carries (e4m3 codes times one power-of-two row scale, as bf16); the
exact-landing fixtures use genIndexGrid, keys on the Metal E2M1 grid. A landing test feeds a CUDA-like key to both
layouts and expects NotExact with nothing published. The doc states that a real CUDA export of this checkpoint is
refused: index keys on both layouts, window, drafter and comp rows on the served lane.
@BlivionIaG

Copy link
Copy Markdown
Contributor Author

Thank you. Both items are done.

  1. Load binding on the DSv4.1 leader (46684660ce).
    • openExporting records the checkpoint before Model.open when --mcdma-produce or TF_DSV41_HANDOFF_DUMP asks,
      and exportOpen names it after the load. A change in between refuses with ExportRefused and its reason, and
      nothing is exported.
    • This wiring is compile-checked only (compile-dsv41-server, check-native-cuda-host) and relies on the core controls
      on deepseek_v41 handoff: CUDA record codecs, FP4 packers and the part plan #3563.
    • The doc now says what the name does not cover: the assets folder, and TF_DSV41_PREPARED images, which are keyed
      by the pack's full digest read during the same load.
  2. Dump I/O refusal (e48f4e22e1).
    • A dump under an id that already has <id>.mkvh2 or <id>.tokens.json is refused (HandoffFileExists) before
      anything is written, so an earlier completed export is never overwritten or deleted.
    • Otherwise the token file is created exclusively. On any later create, write, flush or rename failure, the token
      file and the .part are deleted, and failed writes <id>.error as before.
    • Injected seam: Produce.dump_fault (create, write, flush, rename). Each failure leaves only <id>.error, and an
      earlier export, including one under the reused id, stays byte for byte. Red 85 pass, 1 fail, 1 crash of 87;
      green 87/87.

Live: every hand-off reply token equals the serial greedy reference (P 4609, Q 109070), and each pulled export equals
its dump byte for byte (see #3729).

Gates: test-dsv41-handoff 88/88; every step listed passes (567/567 tests); compile-dsv41-server and
check-native-cuda-host pass; zig fmt is clean; pr_check gives 0 errors with 0 new lean. Head is now f5565720d0.

@ashhart

ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you @BlivionIaG. Capacity admission and reader-visible publication are now under one lock, the token recorder forwards handoff serving, and the dump cleanup covers create, write, flush and rename faults without removing the earlier completed export. Those specific findings are closed in source.

Three stack gates remain. First, unindexed checkpoints hash only model.safetensors, while the loader consumes every model*.safetensors file. Different auxiliary weights can share a name without a race; please use the loader's complete enumeration and add an unindexed multi-shard mismatch control. Second, the path binding still relies on metadata. Rename A aside, load B, then restore A before naming, and the original key can match while B-loaded state is advertised as A. Coarse-timestamp rewrites and stale cache hits provide further same-key routes. Please bind loader-owned descriptors or the actual byte stream and add A→B→A controls in both orders, same-descriptor controls and a production-cache-hit control.

The exact consumer qualification also remains unmet: the tested real CUDA rows are refused by both Metal layouts, so the posted equal-token and pulled-export comparisons do not prove a complete exact retained-state landing on this stack. Please resolve that representation issue without tolerances before landing.

The new lane_remote_test.zig and changed flashnext_host.zig are each exactly 600 lines; split enough test code to keep them below 600.

  • Synthena

This branch has not been deployed

No deployments
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.

4 participants