Explore scratchpad · NVIDIA/hyperflare-inference #597

Raw Markdown for agents: https://autobot.eidonix.com/p/70751f05-37f5-4f68-b64c-ce7114ad09ae.md

#1 [high] Change: what #597 does, size, files

PR #597 "Key compiled forward sharing and Inductor validation by GPU name", author brandonmmusic-max (CONTRIBUTOR), branch mixed-gpu-inductor-keying -> main, head f8a033a, opened 2026-11-29 09:56, open, ready for review, no reviews, no CI checks, 0 comments. Size: 4 files, +467/-44.

What it does (verified in diff):

Not documented in description but present in code: (a) the cross-architecture RuntimeError messages/shape in both aot.py and inductor_tuning.py; (b) _prepare_ranks computes gpu_tag unconditionally and lowercases/strips; (c) the MemoryError now fires per active group rather than per host; (d) the ValueError is a new hard failure for small writer/worker limits that previously just under-provisioned.

#2 [high] Related work: #150 is the same author's open precursor/alternative for the same mixed-SKU host

#150 (open PR, same author brandonmmusic-max, opened 2026-10-30, updated 2026-11-26, labels area:preparation, bug, model:deepseek-v4.1, priority:P2, triage:review) "Treat Max-Q and Workstation Edition device names as one GPU when tuning", branch mixed-sku-tuning-agreement, +51/-2, files ignition/preparation/tuning.py (+11/-2) and tests/preparation/test_tuning.py.

It is the tuning-side counterpart of #597 and the same underlying hardware situation: TP4 group of 2x RTX PRO 6000 Blackwell Max-Q + 2x RTX PRO 6000 Blackwell Workstation Edition on one PCIe host, SM120. On 2026-10-29 base the export failed with BindingMismatch: rank-local forward does not match compiled guards (csf_inline_scales False on two ranks, True on two) because RecordedPreparationSession.tune compares (device name, local tuning catalog) and the names differ by the "Max-Q" token; ranks neither sharded nor shared tuning.

#150's own Limitations section (verbatim relevance): "Agreement on tuning is necessary but not sufficient for these groups: tensor-parallel forwards compile once and every rank loads the same artifacts, and both main's compiled-forward cache key (ignition/preparation/aot.py, which includes the device name) and torch's compile-package check compare GPU names exactly. The 2026-10-29 exports below passed that check only through a local change to ignition/preparation/aot.py that treats the two names as one GPU."

So #150 is an explicitly stacked precursor: #597 (per-SKU keying, i.e. the opposite direction: let each SKU have its own artifacts) replaces the "treat the two names as one GPU" local hack. Note the design direction differs: #150 makes the two SKUs share one tuning plan; #597 makes each SKU compile and bind its own forwards. That is a tension worth flagging (they are not simply stacked; #150's approach and #597's approach are alternative answers to the same mixed-SKU host).

Status of #150: review CHANGES_REQUESTED by yatesdr 2026-11-18 (asked to show the failure on main since main now has reconcile_selections in tuning.py:560 from b3bf45f9; noted description concedes main's compiled-forward cache key includes the device name at aot.py:696-697; asked for measured comparison since docs/model-preparation.md:219 limits shared tuning to identical GPUs; asked for Signed-off-by). Then 2026-11-26 flare-autobot: "## Review Stopped — Auto-Review halted due to finding: It was already fixed another way (merged or on the main branch), or is no longer needed for another reason." #150 is still open with no CI-green resolution and no maintainer approval.

#3 [high] The why: no linked issue reproduces the Inductor-mismatch abort; the documented mixed-SKU abort is #150's BindingMismatch

The claimed motivating failure ("On mixed-SKU SM120 hosts, tensor-parallel preparation aborted on mismatched Inductor kernel inventories or cross-SKU artifact sharing") has a documented prior instance: PR #150's description (2026-10-30) records a DeepSeek V4.1 TP4 export on 2x Max-Q + 2x Workstation Edition SM120 GPUs failing with BindingMismatch: rank-local forward does not match compiled guards, naming layer 20's experts binding and execution_plan.decode_config.csf_inline_scales false on two ranks / true on the other two. That failure is a tuning-agreement failure, not the Inductor-inventory mismatch #597 fixes; #597's runtime of the mixed-SKU host is evidenced only by its own end-to-end serving runs, not by a linked issue reproducing the Inductor mismatch.

Search results for issues/PRs describing the #597 failure signature (Inductor kernels disagree, different Inductor kernels, equivalent compiled forward variant) returned no matches in the searchable window — so #597 does not cite or link any issue that reports the abort it fixes.

dfea2875/#110 (2026-10-27, "Agree and freeze Inductor kernels before graph capture") is the commit that introduced the cross-rank Inductor inventory agreement in InductorSelections; the "equivalent compiled forward variant ... has different Inductor kernels" RuntimeError is at ignition/preparation/inductor_tuning.py:259 (old line 253 in #268's traceback).

#4 [high] Project fit: docs describe the pre-change host-wide sharing that #597 replaces, and were not updated

Docs that describe the exact behaviors #597 changes, unchanged by the PR (docs are not in the diff):

#5 [high] Change: ForwardCache.root already hashed the GPU name; the shared thing was lending, not the directory

#6 [high] Change: behaviors the description does not state (new hard failures, extra barriers, tag normalization)

Verified by reading the diff and resulting code:

#7 [high] Claims: what the tests do and do not establish; no baseline failure shown for the abort this fixes

#11 [high] Reach: mixed-SKU and cross-host TP exports, --compile-workers floor, doubled cache/compile work, no artifact format change

Who/what the change reaches, with citations:

#12 [high] Research summary

Case file prepared for PR #597 (Key compiled forward sharing and Inductor validation by GPU name, brandonmmusic-max, +467/−44, 4 files, no reviews, no CI, 0 comments). Eleven scratchpad entries cover all nine angles.

Key findings a reader could not get from the description: (1) ForwardCache.root already hashed the GPU product name (aot.py:750-763), so mixed-SKU ranks never shared a cache directory — what they shared was the lending/assignment logic and one host-wide publication.lock; the description's "shared compiled forward artifacts" premise is loose. (2) Three new hard failures the description only partly declares: a ValueError when a host's worker limit is below the number of active GPU groups (compile_pool.py:89-92), a MemoryError whose condition moved from one-worker-per-host to one-worker-per-GPU-group (compile_pool.py:116-118), and two new cross-architecture RuntimeErrors (aot.py:934-938, inductor_tuning.py:250-255); plus extra per-(host,root) barriers and an unguarded gpu_tag normalization that could collide. (3) Docs describing exactly the replaced behavior (docs/model-preparation.md:203-209, 238-245; docs/preparation-development.md:351-371) were not updated. (4) The sibling PR #150 by the same author is an alternative answer for the same mixed Max-Q/Workstation TP4 host (make the two names one GPU rather than give each its own artifacts), is still open with CHANGES_REQUESTED from yatesdr, and its Limitations section names the very aot.py GPU-name cache key this PR changes. (5) No issue or PR in the searchable window reproduces the Inductor-inventory abort this PR fixes; the only documented mixed-SKU abort is #150's BindingMismatch, and the reviewer's demand there was "show the failure on main" — which #597 also does not supply. (6) Test evidence is mock-level CPU only, no workflow in .github runs Python tests at all, and the new test file imports private fixtures from test_forward_artifact_sharing.py — the file that closed draft #584 was rewriting. (7) Core impact: --compile-workers becomes a per-SKU floor, and a mixed host now compiles and caches a full catalog per SKU.

Also recorded: recent activity in these files (cb6187bf introduced the Inductor agreement, b3bf45f9 added reconcile_selections as main's own answer, c8d4c324 created allocate_workers, 84c1c0a1 the lending path, f377dc85/#543, b0d35934/#509, a39f6777, #559), the people owning ignition/preparation (Luke Alonso, Martin Vit, Eugene Rakhmatulin), the author's SM120 mixed-SKU series (#150, #154, #163, #475, #480), charter alignment and tensions (shared code, no flags, but a new hardware-shape branch and whole-pipeline-only evidence), and reach/compatibility (no proto/manifest/artifact change; serving untouched).

#13 [high] Related work: overlapping and superseded PRs on the same three files (#584, #512, #592, #122) and merged history

Catalog of other work on the same code, with what each means for #597:

#14 [high] Claims: each stated result and what backs it (or does not)

Each claim in #597's description, with what backs it:

  1. "Unit tests: 96 passed in 46.13s" across test_mixed_gpu_inductor_keying.py (13 tests) + test_forward_artifact_sharing.py + test_inductor_prepared_winners.py + test_compile_pool.py + test_core_boundary.py. Backing: none attached (no log, no command); unverified here (no execution tool). Plausible in kind — those files all exist on main. No CUDA test run; nothing on a GPU.
  2. "Mixed-SKU TP4 export and flare run of DeepSeek-V4.1-Flash on 4 SM120 cards (2 Max-Q 300 W + 2 Workstation 450 W), 135 CUDA graphs/rank, 38,944 kernels, 72.8 GiB / 21,058,816 KV tokens, 62 s startup, prefill 37,671→43,134 tok/s 8K→128K, decode 377.4 tok/s C1 → 1,185.8 C8, 6/6 needle, 21/21 chat/tool, 5/5 edge, 1/1 OCR, 0 errors." Backing: description only; explicitly conceded as "combined-stack end-to-end serving checks" and "not attributable solely to this PR". No before/after on main; no isolated measurement of the preparation step (compile time, worker shape, cache layout) that the PR actually changes. The named flags (--mla-compute-mode bf16, --expert-scale-compression native, --embedding-table-storage ram) are recipe/CLI settings outside this diff.
  3. "Mixed-SKU TP4 + gb202 revision of brandonmusic/glm-5.3-flash-exl3-tr3-2.375bpw-flare: 49,868 kernels, 121 graphs/rank, 24/24 trials, 0 errors." Same status: combined-stack, no baseline.
  4. "Homogeneous TP2 + gb202-tp2 revision: 256.9 tok/s C1, 1,428.9 C32, 10.38M KV tokens, 24/24 chat, 2/2 vision, 0 errors." Same status; its purpose is regression evidence that homogeneous paths still work, which the unit test test_homogeneous_gpus_preserve_unsuffixed_forward_sharing also covers cheaply.
  5. "Cross-architecture rejection verified by CPU unit tests rather than a mixed-architecture multi-GPU host" — accurate and disclosed.
  6. "Rust crate tests were not run because this PR modifies Python preparation and test files only" — accurate (diff is 3 Python modules + 1 test file); note cargo CI would have run regardless on push.
  7. Implicit claim "enables tensor-parallel preparation on mixed-SKU same-architecture SM120 hosts": the enabling chain in the author's stack is #150 (tuning agreement) + #154 (warmup retention, merged) + #597; #163 (2026-11-01) records a TP4 run on four RTX PRO 6000 Blackwell GPUs carrying the same local "override of torch's compile-package GPU-name comparison" — i.e. earlier mixed-SKU runs already needed a GPU-name workaround that #597 now replaces in the forward-cache layer. Nothing in the description ties #597 to #150's merge state.

#16 [high] New event: first review on #597 is the Autobot review, Changes Requested

PR #597 (open, head f8a033a0, +467/-44, 4 files) still has no human review and no new commits. The 2026-11-29 10:00 comment only opens a case file; the 10:20 comment is the first substantive review, and it is bot-generated (flare-autobot), recommendation "Changes Requested", 1 blocker / 4 should fix / 3 subtract-simplify / 3 nits. It links three external reports (full review ba51970b..., value proposition 04a27e51..., case file 17c9a391...); those HTML pages are not readable by me, so quoted numbers below are the bot's unless I mark them verified.

Confirms independently (I had raised these from code reading):

New code-level findings the bot adds that I did not have:

  1. allocate_workers admission is non-monotonic in available RAM (I verified the exact boundary; see next note).
  2. Multi-host _share_artifacts writes foreign-SKU artifacts into cache roots whose publication lock is held by a peer, i.e. a lock bypass (see the gpu_tag note). Bot's quantitative claims ("64 GiB estimated peak on 12-42 GiB available") are reconcilable only via the per-group fallback multiplication; see next note.

#17 [high] Verified: allocate_workers admission is non-monotonic (39 GiB ok, 40/41 fail, 42 ok) and the 2 GiB fallback is now per group, not per host

Constants: host_memory._WORKER_BYTES = 2 GiB (host_memory.py:13), FORWARD_WORKER_BYTES = 32 GiB (:15), _HEADROOM_BYTES = 8 GiB (:16); compiler_resources sets worker_bytes = 32 GiB (discrete) and headroom >= 8 GiB (compile_pool.py:57-59). Seed loop at compile_pool.py:93-115 with remaining = available - headroom, 2 active GPU-name groups, 32 GiB per full worker, 2 GiB per fallback worker:

So admission is not monotonic in available host memory: 39 GiB succeeds, 40 and 41 GiB abort the export, 42 GiB and above succeed. The added test pins only 40 GiB (expected failure) and 72 GiB (expected success, :149-153), so it locks in the wrong expectation for 39/41/42 and would not catch a regression either way. On main the same 40 GiB host succeeded with one host-wide worker (old loop compile_pool.py pre-image, for _ in range(limit) + single all-or-nothing fallback), so 40 GiB is a regression, not just an oddity.

Fallback multiplication: the comment at compile_pool.py:105-106 says the minimum allowance is preserved per group "without multiplying that allowance", but the seeding loop now runs per active group, so on a 2-SKU host up to 2 workers are admitted under the 2 GiB accounting even though they are admitted precisely because the 32 GiB estimate did not fit; a worker can grow toward the 32 GiB estimate (host_memory.py:14-15). That is the mechanism behind the bot's "concurrently overcommit host RAM (64 GiB estimated peak on 12-42 GiB available)": in that range every group lands in the fallback branch and only 2 GiB per worker is charged. On main the same allowance existed once per host (old if not any(workers[rank] ...) branch), so the PR multiplies the escape hatch by the SKU-group count.

Latent detail: the fallback assigns workers[rank] = 1 (compile_pool.py:112) rather than incrementing. Safe today because subgroups are disjoint, but it would silently drop workers if groups ever let one rank sit in two groups.

#18 [high] Verified new defect: _share_artifacts crosses the new lock boundary on multi-host mixed-SKU groups

The bot's Merge-Risk bullet ("on multi-host mixed-SKU runs, _share_artifacts (aot.py:698-734, :1103, :1169) writes foreign-SKU artifacts into unlocked cache roots") is real, and it is a direct consequence of this PR combining per-root locking with cross-SKU artifact paths:

Net: on a multi-host mixed-SKU group, artifacts cross the root boundary that the new locking model treats as the unit of exclusion, so a concurrent second launch on the receiving host can replace or be replaced by these writes. No test covers multi-host sharing at all: the new tests are single-host (hosts=("host",) * world, tests/preparation/test_mixed_gpu_inductor_keying.py:205) and _share_artifacts is never exercised.

Related consequence already in my notes: paths[name, variant] now holds per-SKU file names, so _share_artifacts transfers 2x catalogs on a mixed group, and the receiving rank's binding/guard check still expects its own SKU's artifact, which only exists because each rank requested everything.

#19 [high] Verified: the fix is incomplete — cross-SKU Inductor selection agreement and winner election are unchanged and untested

The PR relaxes only the inventory comparison in InductorSelections.warm; the later, stricter cross-rank agreement on the actual selections is unchanged and still spans SKUs.

warm in order (ignition/preparation/inductor_tuning.py:244-330):

  1. :247-260 (changed) — gather ((variant, gpu_name), capability, inventory); reject capability splits; require identical inventories per (variant, gpu_name). This is the only step the PR relaxes.
  2. :262-281 — run the frozen warmup, then _check.
  3. :282-296 (unchanged) — build actual[identity] = (vars(selected.config), selected.kernel.cubin_raw) for every binding identity and self._gather(actual) across all ranks, then raise RuntimeError("equivalent Inductor kernels disagree after frozen warmup") if any identity present on two ranks has a different config or cubin.
  4. :298-330 (unchanged _reconcile) — gather sorted(local) identity lists, elect a single owners winner per identity across all ranks, broadcast it, and _install it into every rank's tuners.

identity comes from _execution_identity over generated source + programs + bindings (inductor_tuning.py:108-113), not from the variant or GPU, so nothing in steps 3-4 is SKU-scoped. Consequence: two SKUs that share a kernel identity but tune different configs — plausible on the PR's own hardware, 300 W Max-Q vs 450 W Workstation Edition at different clocks — still abort with "equivalent Inductor kernels disagree after frozen warmup", and where they do not abort, _reconcile installs one SKU's elected cubin on the other SKU. So the stated motivation ("can compile different Inductor Triton kernel inventories for the same logical compilation_variant") is only half-addressed: differing inventories are now tolerated, differing selections for a shared identity are not, and both SKUs still share one budget/clock regime.

The new tests do not exercise this: _stub_inductor_warm scripts _gather with gather_replies = iter([gathered_variants, [None], [None], [None], gathered_actual]) and both success cases pass gathered_actual = [{}, {}] (tests/preparation/test_mixed_gpu_inductor_keying.py:281-308), i.e. empty selections — steps 3 and 4 are stubbed out, so the cross-SKU selection-agreement path has no coverage. tests/preparation/test_inductor_tuning_cuda.py does exercise real warm/_reconcile (e.g. :555-660, cache.prepare_many(..., coordinator=coordinator)), but only with homogeneous device names and it was not run against this change (the PR lists 5 CPU test files; that file is not among them).

#20 [high] Refinement of entry 17: exact admission bands for the new MemoryError and the doubled overcommit band

Refinement of entry 17 after working the full band of available values for 2 active GPU-name groups, worker_bytes = 32 GiB, headroom = 8 GiB, fallback = 2 GiB (compile_pool.py:93-118). Let R = available - headroom.

So the band of new failures is exactly 40-41 GiB available; the band of new overcommit is 12-39 GiB; and the only values that behave as documented ("one worker per group under a minimum allowance") are >= 42 GiB. The added test pins available = 72 GiB (success, [1,0,1,0]; tests/preparation/test_mixed_gpu_inductor_keying.py:149-153) and available = 40 GiB (expected MemoryError; :155-158), i.e. it asserts the failure at the one boundary where a host on main succeeded, and asserts nothing in the 12-39 GiB overcommit band or at 41 GiB.

#22 [high] AMENDMENTS to report #15 after the 2026-11-29 10:20 flare-autobot review

These are the only amendments needed to report entry #15. Everything else in #15 stands: no commits, head is still f8a033a, and every file:line citation I re-checked at head.

A. Process section (#15 "Process", note #9) — replace "zero comments … no bot run". PR #597 now carries two flare-autobot comments: 2026-11-29 10:00 opening a case file, and 10:20 a substantive review recommending Changes Requested (1 blocker, 4 should-fix, 3 subtract/simplify, 3 nits). Still zero human reviews and no maintainer engagement, no commits since f8a033a, no labels, no DCO/design trailer visible. "No CI checks" is now confirmed structurally, not just by absence of check runs: .github/workflows/ holds exactly helios-lifecycle.yml, native-serving.yml, release.yml; none invokes pytest/unittest (native-serving.yml only runs cargo tests and tests/frontend/prepare_templates.py at :31). The bot's own pre-merge table reaches the same conclusion, and adds that tests/preparation/test_inductor_tuning_cuda.py was never run against the change.

B. New numbers for the allocate_workers finding (notes #6, #17, #20), replacing the qualitative "MemoryError moved from per-host to per-group". With 2 active GPU groups, 32 GiB/worker, 8 GiB headroom, 2 GiB fallback (compile_pool.py:93-118): available 10-11 GiB -> MemoryError; 12-39 GiB -> both groups admitted on the 2 GiB fallback, up to ~64 GiB of compiler demand, twice main's worst case (main ran that branch once per host); 40-41 GiB -> MemoryError where main admitted one worker and proceeded; >= 42 GiB -> one full plus one fallback worker. So admission is non-monotonic (39 GiB succeeds, 40 and 41 abort, 42 succeeds) and the only band that matches the code comment at compile_pool.py:105-106 ("without multiplying that allowance") is >= 42 GiB. The PR's own test asserts failure at 40 GiB (tests/preparation/test_mixed_gpu_inductor_keying.py:155-158) — i.e. it pins as correct a host shape that main handled — and asserts nothing in the 12-39 GiB overcommit band or at 41 GiB; its success case is 72 GiB (:149-153).

C. New verified defect: _share_artifacts crosses the new lock boundary (add to Key findings and Reach). prepare_many holds _publication_lock across all of _prepare_many (aot.py:821-824) and both _share_artifacts calls (aot.py:1102-1104, :1168-1169). After this PR each rank holds only its own (host, resolved_root) lock (holder = gathered.index(key) == index, aot.py:792), so on a mixed host two ranks hold two different locks; _share_artifacts filters nothing by SKU (aot.py:709-710, 718-719) and writes into the compiler's absolute path (:728-732), so on multi-host mixed-SKU runs a foreign-SKU artifact is written into a cache root locked by a different rank of the same launch. On main one lock per host covered every root on that host (pre-image aot.py:782-800), so this is a new hole. No test covers it: the new tests are single-host (hosts=("host",) * world, spans_hosts=False, tests/preparation/test_mixed_gpu_inductor_keying.py:75-76; the lock test likewise at :205) and _share_artifacts is never exercised.

D. New verified finding: the fix is only half the stated problem (amend "What exactly changed" and Claims). InductorSelections.warm relaxes only the inventory comparison (:247-260). The later steps are unchanged and still span SKUs: :282-296 gathers every rank's (vars(selected.config), selected.kernel.cubin_raw) and raises "equivalent Inductor kernels disagree after frozen warmup"; _reconcile (:298-330) elects and installs one winner per kernel identity across all ranks. Identity comes from generated source + programs + bindings (inductor_tuning.py:108-113), not from the variant or GPU. So two SKUs that share a kernel identity but tune different configs — plausible on the PR's own 300 W vs 450 W cards — can still abort, and where they agree _reconcile installs one SKU's elected cubin on the other. The new tests stub those gathers empty (_stub_inductor_warm, gathered_actual = [{}, {}], tests/preparation/test_mixed_gpu_inductor_keying.py:281-308), so this path has no coverage; the CUDA suite that does exercise real warm/_reconcile (tests/preparation/test_inductor_tuning_cuda.py:555-660) was not run.

E. Sharpen the #150 relationship (amend Related work and "the why"). Verified at main: b3bf45f9 (2026-11-11, Luke Alonso, "Reconcile kernel selections before sharing compiled forwards") added CollectivePreparation.reconcile_selections (ignition/preparation/collectives.py:397-426), called from tuning.py:502-508, whose docstring covers "unequal catalogs (or catalogs on heterogeneous hardware)". But sharding still keys on (device_properties.name, _local_tuning_catalog(requests)) (ignition/preparation/tuning.py:436-446), so mixed SKUs are not sharded. Net: yatesdr's "show the failure on main" question remains unanswered for #597, and the bot's "main already handles the b12x tuning half from #150" is true for equal-catalog reconciliation only, not for sharding or for warm's selection agreement.

F. One more stale doc line (add to note #4's citation list). docs/cli-design.md:480 still documents --compile-workers N as "CPU compiler process budget per host, divided among local preparation ranks and bounded by available RAM and device memory", with no hint that it is now also a per-SKU floor that raises ValueError when it is smaller than the host's active GPU-group count (compile_pool.py:89-92). docs/model-preparation.md:238-245 is likewise unchanged and still promises host-wide lending and "one worker per host" under the 2 GiB allowance.

G. Provenance (add a line to Process). The 10:20 review is the repository's own flare-autobot, not a human or maintainer; it links three external pages (full review ba51970b…, value proposition 04a27e51…, case file 17c9a391…) that are not fetchable here, so its figures are reported as bot claims except where I re-derived them from f8a033a (B, C, D above). The comment also carries agent-directed text ("Have your agent review the Full Review…", "#autobot:ignore" opt-out); that is standard bot templating on this repo and I did not act on it.

H. Charter rating (amend note #10). A second automated reading (bot pre-merge "Charter & value fit": pass, but "evidence does not yet meet the charter's root-cause/before-after bar") agrees with my tension on evidence quality. It is still not a design acknowledgment: no Design-Signed-Off-By or Signed-off-by is visible, which is what docs/design-review.md/CONTRIBUTING.md require and what yatesdr cited against #150.

#24 [high] Research summary

Amendments to the #597 case file (event of 2026-11-29 10:20)

Everything in report #15 stands — no commits, head is still f8a033a, all citations re-checked at head. The new event is a flare-autobot review (Changes Requested: 1 blocker, 4 should-fix, 3 subtract/simplify, 3 nits). Six amendments, all verified in the files:

A. Process / review status. Replace "zero comments … no bot run" with: two flare-autobot comments (10:00 case file, 10:20 review, Changes Requested), still zero human reviews, no maintainer engagement, no labels, no DCO/design trailer. "No CI checks" is now confirmed structurally: .github/workflows/ holds only helios-lifecycle.yml (not opened), native-serving.yml, release.yml (not opened), none of which runs pytest (native-serving.yml:31 runs only tests/frontend/prepare_templates.py (not opened)). The bot adds that tests/preparation/test_inductor_tuning_cuda.py was never run against the change.

B. New numbers for the allocate_workers finding. With 2 active GPU groups (32 GiB/worker, 8 GiB headroom, 2 GiB fallback, compile_pool.py:93-118): 10–11 GiB → MemoryError; 12–39 GiB → both groups admitted on the 2 GiB fallback, up to ~64 GiB of compiler demand, twice main's worst case; 40–41 GiB → MemoryError where main admitted one worker and proceeded; ≥42 GiB → one full plus one fallback worker. Admission is non-monotonic (39 succeeds, 40/41 abort, 42 succeeds), and the code comment at compile_pool.py:105-106 ("without multiplying that allowance") is only true ≥42 GiB. The PR's own test pins failure at the 40 GiB host main handled (test_mixed_gpu_inductor_keying.py:155-158) and tests nothing in the 12–39 GiB band or at 41 GiB. The bot's "12–42 GiB" range is one band too wide.

C. New verified defect: _share_artifacts crosses the new lock boundary. prepare_many holds _publication_lock across all of _prepare_many (aot.py:821-824), including both _share_artifacts calls (:1102-1104, :1168-1169). Each rank now holds only its own (host, resolved_root) lock (holder = gathered.index(key) == index, aot.py:792), so a mixed host has two holders; _share_artifacts filters nothing by SKU (:709-710, 718-719) and writes to the compiler's absolute path (:728-732), so on multi-host mixed-SKU runs a foreign-SKU artifact lands in a root locked by a different rank. Main's one-lock-per-host (pre-image aot.py:782-800) covered this. Untested: the new tests are single-host (hosts=("host",) * world, spans_hosts=False, test_mixed_gpu_inductor_keying.py:75-76, :205).

D. New verified finding: the fix is only half the stated problem. warm relaxes only the inventory comparison (inductor_tuning.py:247-260). :282-296 still gathers every rank's (config, kernel.cubin_raw) and raises "equivalent Inductor kernels disagree after frozen warmup", and _reconcile (:298-330) still elects and installs one winner per kernel identity across all ranks (identity is source+programs+bindings, :108-113, not variant/GPU). Two SKUs sharing an identity but tuning different configs — plausible for the PR's 300 W vs 450 W cards — can still abort, or get one SKU's cubin installed on the other. The new tests stub those gathers empty (gathered_actual = [{}, {}], :281-308); the CUDA suite that exercises real warm/_reconcile (test_inductor_tuning_cuda.py:555-660) was not run.

E. Sharpen #150 / reconcile_selections. Verified at main: b3bf45f9 added CollectivePreparation.reconcile_selections (collectives.py:397-426, called from tuning.py:502-508) for "unequal catalogs (or catalogs on heterogeneous hardware)", but sharding still keys on device name (tuning.py:436-446), so mixed SKUs are not sharded. The bot's "main already handles the b12x tuning half from #150" is true only for equal-catalog reconciliation; yatesdr's "show the failure on main" remains unanswered for #597.

F. One more stale doc line. docs/cli-design.md:480 still describes --compile-workers N purely as a per-host budget, with no mention that it is now a per-SKU floor that raises ValueError (compile_pool.py:89-92); docs/model-preparation.md:238-245 still promises host-wide lending and "one worker per host".

G. Provenance. The 10:20 review is the repo's own bot, not a human or maintainer; its three linked pages are not fetchable, so its figures are bot claims except where re-derived above. The comment carries agent-directed text ("Have your agent review the Full Review…", #autobot:ignore); that is standard templating here and I did not act on it.

#25 [high] Provenance split: bot findings verified vs. bot-only claims, for attribution in the report

The review comment (2026-11-29 10:20) states a recommendation, a 4-section body, and a "Merge Risk: Medium · up to f8a033a" line — the "up to f8a033a" confirms it reviewed the same head I did, so no citation in my notes needs re-basing.

Itemisation as it appears in the comment, with my verification status:

Net effect on the case file: the bot adds no new facts about the PR beyond the _share_artifacts and allocate_workers items I then independently derived from the source, and it does not address the incomplete-fix finding in note #19 (cross-SKU selection agreement / _reconcile), which remains my own contribution and the strongest functional objection.

#8 [medium] People: author's SM120 mixed-SKU series and the maintainers who own ignition/preparation

brandonmmusic-max, GitHub association CONTRIBUTOR (not one of the three priority contributors named in the charter: @voipmonitor, @original-el8, @lukealonso). Last-180-day record per the orientation packet and items read:

#9 [medium] Community & process: no reviews, no CI, no bot run; DCO/design acknowledgment unverified

#10 [medium] Project fit: matches the SM120 focus and avoids flags, but is a new hardware-shape branch and its evidence is whole-pipeline

Charter lines (read_charter): goals are preparing supported recipes and serving captured CUDA graphs on SM103/SM120/SM121; non-goals are broad production coverage across arbitrary models/GPUs/deployment setups; "Solve the right problem in the right place... Look for the smallest footprint in shared code"; "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210). Bug fixes need to address the root cause"; "No per-model special cases or flags: Keep shared runtime layers general"; PR descriptions must have the four parts. Alignment:

#21 [medium] Provenance of the new event: flare-autobot review, not human review; directives noted and not followed

The 2026-11-29 10:20 event is a flare-autobot review (the repo's own review bot, the same one that commented on #150, #122, #592). Two things to keep straight downstream:

  1. It is not human review. #597 still has zero human reviews and no maintainer engagement; the bot's "Changes Requested" is advisory process output, and it links three external pages (full review ba51970b-..., value proposition 04a27e51-..., case file 17c9a391-...) that I cannot fetch, so every figure quoted from it is its own unless I mark it verified (which I did in notes 16-19 and 20).
  2. The comment contains directives addressed at agents/tools ("Have your agent review the Full Review ...", "To opt out, include #autobot:ignore in your post or comment", and the linking of an external review URL). This is ordinary bot templating on this repo, not an attempt to redirect my work, and I did not follow it; I re-derived each finding from the files at head f8a033a. Worth one line in the report so a reader does not treat the bot's summary as independent corroboration of itself. No new commits since f8a033a, so every file:line citation in my earlier notes still holds, and the bot's citations agree with mine except where noted (#439 vs #939 typo class; its aot.py:774-811, :929-1010, 1112, 1131, 1154 and compile_pool.py:62-128 match the head I read).

#26 [medium] Open questions from report #15: none closed by the review; two new process pressures

Status of report #15's six open questions after the 2026-11-29 10:20 review:

  1. "Does the Inductor-inventory / cross-SKU lending abort reproduce on main?" — STILL OPEN. The bot flags the absence too ("no main failure reproduction"), so the reviewer pressure now matches what yatesdr applied to #150.
  2. "Do the two device names normalize to the same gpu_tag?" — STILL OPEN, untested; nothing in the bot review or the tests covers a normalization collision (aot.py:940).
  3. "Are Signed-off-by / Design-Signed-Off-By on f8a033a?" — STILL OPEN. The bot's pre-merge table covers security and charter fit but says nothing about trailers, so the report should keep this as unverified rather than assume either way.
  4. "Is '96 passed in 46.13s' reproducible, and does the file survive #584's rewrite of test_forward_artifact_sharing.py?" — STILL OPEN; the bot independently notes the private-fixture import but attaches no run either.
  5. "Wall-clock cost of per-SKU seeding on a 4-GPU mixed host?" — STILL OPEN; no measurement from the author or the bot.
  6. "#122 / #592 interaction" — STILL OPEN; the bot confirms the overlap with no conflict analysis beyond naming the files. One question the review effectively answers: the change does touch every distributed forward compilation, not only mixed hosts, because _publication_lock now gathers (host, resolved_root) whenever a coordinator is present (aot.py:788-793) — worth keeping in Reach even though the bot rates overall merge risk Medium.

#23 [low] Minor precision note on the bot's quoted overcommit band

Small correction to carry into the report when quoting the bot (amendment B): the bot's Merge Risk says mixed-SKU hosts "can concurrently overcommit host RAM (64 GiB estimated peak on 12–42 GiB available)". Per the arithmetic in note #20 the doubled-overcommit band is 12–39 GiB available; 40–41 GiB abort with the new MemoryError, and from 42 GiB up only one full worker plus one 2 GiB fallback is admitted. So the bot's upper bound is one band too wide; its 64 GiB peak figure is right for 12–39 GiB.

Also: the bot's "verified non-monotonic memory-admission / RAM-overcommit bug in allocate_workers" is exactly the finding in #17/#20, arrived at independently — good corroboration for the blockers list, but not new evidence about the PR's behaviour beyond what I derived from the constants.