#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):
- ignition/preparation/inductor_tuning.py (+18/-1): new
_cuda_device_identity(device)returning(torch.cuda.get_device_name(dev), tuple(get_device_capability(dev))), or("", None)when device is not cuda or CUDA unavailable.InductorSelections.warmnow buildsvariant_key = (compilation_variant, gpu_name), gathers(variant_key, capability, inventory)viaself._gather, raises RuntimeError "Inductor warmup spans incompatible CUDA architectures" when >1 distinct capability (sorted withcap is Nonelast), and enforces identical inventories per(compilation_variant, gpu_name)instead of per compilation_variant. - ignition/preparation/aot.py (+59/-28):
ForwardCache._publication_locknow gathers(host, str(root.resolve()))per rank,holder = gathered.index(key)==index, locks once per distinct sorted(host, root)pair (previously per host only).ForwardCache._prepare_ranksgathers(gpu_name, capability)for all ranks; raises RuntimeError "tensor-parallel ranks span incompatible CUDA architectures: [...]" when capabilities differ;heterogeneous = len(set(gpu_names)) > 1;gpu_tag= non-alnum -> "_", stripped, lowercased; local_variant(forward)appends.{gpu_tag}tocompilation_variantONLY when heterogeneous; passesgroups=gpu_namesto allocate_workers; the compile-lending/assignment loop now keys on distinct(host, gpu_name)pairs instead of host only; allocation sizes/loading/freeze/save all use_variant(). - ignition/preparation/compile_pool.py (+50/-15):
allocate_workers(resources, counts, hosts, groups=None); when groups given, computesactive_groups= distinct (host, group) subgroups of the host with any pending job; raises ValueError whenlimit < len(active_groups); seeds >=1 worker per active group first (with a fallback path usinghost_memory.FORWARD_WORKER_BYTES/_WORKER_BYTESallowance), raises MemoryError if any active group still has zero workers, then distributes surplus among active members only (idle/cached groups get none). - tests/preparation/test_mixed_gpu_inductor_keying.py (new, +340): CPU tests monkeypatching
inductor_tuning._cuda_device_identity,compile_pool.CompilerResources,aot.ForwardCache._path/_load/_allocation_sizes, gloo process groups; imports helpers from tests/preparation/test_forward_artifact_sharing.py.
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):
- docs/model-preparation.md:238-245: "Forward compilation allocates workers across each host after checking cached forwards. Ranks without a worker lend missing forwards to other ranks on that host; every serving rank binds and captures its full catalog... When that estimate admits no worker, one worker per host may start under the 2 GiB minimum host allowance plus integrated device storage." Now admission seeds one worker per (host, GPU-name) group and lending is same-SKU only; the memory floor's per-group multiplication and the new ValueError/MemoryError conditions are undocumented.
- docs/model-preparation.md:203-209: "Without extra tuning replicas, tensor-parallel ranks on identical GPUs divide the candidates of a shared local kernel race and adopt its measured winner" — presupposes identical GPUs, which #597 now tolerates at the forward-cache/Inductor layer while tuning still reconciles (tuning.py:436-447 keys sharding on device name, so mixed SKUs are not sharded).
- docs/preparation-development.md:351-371 ("Compile tensor-parallel forwards once, sharded across ranks"): "Ranks on one host share its cache directory; ranks on other hosts receive the artifacts they lack... For distinct rank behavior, select a variant key through
compilation_variant". Now a host may have several cache roots keyed by GPU name and the variant key is rewritten to{compilation_variant}.{gpu_tag}when a group is mixed; not documented. - No TODO.txt entry added for the mixed-SKU limitation.
- docs/multi-host.md:286 and docs/orbit.md:214-217 refuse "ambiguous mixed hardware" when Orbit infers a revision — unrelated to this change (Orbit placement, not preparation), noted so it is not mistaken for an existing mixed-SKU guarantee.
#5 [high] Change: ForwardCache.root already hashed the GPU name; the shared thing was lending, not the directory
- The ForwardCache root already hashed the GPU product name before this PR: aot.py:750-753 builds the cache key from
properties.name, properties.major, properties.minor, properties.multi_processor_count(plus namespace, compile options, torch_key, runtime_patches). So on a mixed-SKU host, ranks already wrote to different cache roots; #597's variant-name suffix ({compilation_variant}.{gpu_tag}) changes the file names inside those roots, and the descriptions' premise that ranks "shared compiled forward artifacts" within one directory on a mixed host is loose — they shared the lending/assignment logic (_balance_compilationsper host) and the_publication_lock, not the directory. - Second per-device-name cache key: ignition/preparation/compilation.py:293-296 includes
torch.cuda.get_device_capability(), torch.cuda.get_device_name()in the key forDEFAULT_CACHE_ROOT/compiled/<key>.bin(per-process compiled-forward cache). #597 does not touch it, so the two card names still map to two entries there. - Inductor inventory agreement origin: cb6187bf (2026-10-27, "Agree and freeze Inductor kernels before graph capture") introduced the cross-rank agreement; the check #597 relaxes was previously on
compilation_variantalone at inductor_tuning.py (pre-change code:for variant, identities in self._gather((getattr(bound.owner,'compilation_variant','shared'), inventory))). - Main's own answer to ranks disagreeing: b3bf45f9 (2026-11-11, "Reconcile kernel selections before sharing compiled forwards") added
reconcile_selections, called at ignition/preparation/tuning.py:500-508 and implemented at ignition/preparation/collectives.py:397. This is what the #150 review cited as possibly making mixed-SKU tuning work moot. - Worker-budget history: c8d4c324 (2026-11-09, "Budget forward compiler workers across each host") created
allocate_workers; 84c1c0a1 (2026-10-17, "Lend missing forward compilations to idle ranks on one host") created the lending path; f9aec99c + #122 change the headroom these admission rules use.
#6 [high] Change: behaviors the description does not state (new hard failures, extra barriers, tag normalization)
Verified by reading the diff and resulting code:
- New hard failures (not in the description):
allocate_workersraisesValueError(f"host {host!r} has {len(active_groups)} active compiler groups but worker limit {limit}")(compile_pool.py:89-92) whenever the host's worker limit (min(jobs, min(run limit) over ranks) — i.e.--compile-workers/CPU affinity, capped at compile_threads) is below the number of active GPU groups. Previously that host just got fewer workers (possibly one). This turns a slow-but-possible export into an error for anyone running a mixed host with a small--compile-workers(e.g. 2 ranks of 2 SKUs with--compile-workers 1).MemoryErrormessage text is unchanged but the condition is: now it fires if any active group has no worker (compile_pool.py:116-118), so the 32 GiB (or 2 GiB minimum allowance) budget must cover one worker per SKU, not one per host._prepare_ranksraisesRuntimeError(f"tensor-parallel ranks span incompatible CUDA architectures: {ordered}")(aot.py:934-938) andInductorSelections.warmraisesRuntimeError(f"Inductor warmup spans incompatible CUDA architectures: {ordered}")(inductor_tuning.py:250-255). A mixed-architecture group that previously might have worked (e.g. if all artifacts happened to agree) now fails by construction._cuda_device_identityreturns ("", None) for non-CUDA, so CPU-only/no-CUDA ranks fall in one bucket with each other.
_publication_locknow takes a(host, str(self.root.resolve()))key and callsdist.all_gather_objectevery time it is entered (aot.py:788-793), including the non-distributed path guarded bycoordinator is not None. It acquires only its own root's lock but iterates all keys with adist.barrierper key (aot.py:798-804), so the number of barriers per lock scope equals the number of distinct (host, root) pairs — on a big multi-host group with per-host cache roots that is more barriers than before (one per host before).gpu_tagnormalization (aot.py:940) collapses any non-alphanumeric to_, strips, lowercases: "NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition" -> "nvidia_rtx_pro_6000_blackwell_max_q_workstation_edition" (the test only asserts substring "max_q"). Two distinct names could in principle normalize to the same tag, which would silently re-share artifacts; no test covers collision.- The suffix is applied only when
heterogeneous(len(set(gpu_names)) > 1), so homogeneous ranks keep the exact old names/paths (test_homogeneous_gpus_preserve_unsuffixed_forward_sharing asserts 4 artifacts namedname.shared). This preserves cache compatibility for homogeneous hosts — but a host that is mixed on one run and homogeneous on another writes different names for the same GPU (two caches), i.e. mixed-host runs do not reuse a homogeneous run's cache. - The lending/isolation restriction reuses the same
memberslist keyed on(host, gpu_name)(aot.py:1000-1010) for_balance_compilations, so a zero-worker rank can now only borrow from same-SKU peers; if every same-SKU peer also has zero workers,_balance_compilationsraisesMemoryError("no rank on this host has room for a forward compiler")(aot.py:681-682). InductorSelections.warmrenames the gathered tuple's first element from the plain variant string to a(variant, gpu_name)tuple; the error text "equivalent compiled forward variant {variant!r} has different Inductor kernels" now prints a tuple.- No new CLI flag, no config setting, no proto/manifest change, no default changed for homogeneous hosts; the PR adds no environment variable (charter forbids them).
- Behavior is effectively keyed off hardware detection only — no setting to disable the new per-SKU split or the new failures.
#7 [high] Claims: what the tests do and do not establish; no baseline failure shown for the abort this fixes
- Tests are CPU-only,
multiprocessing.get_context("fork")gloo groups, monkeypatchinginductor_tuning._cuda_device_identity,compile_pool.compiler_resources,aot.ForwardCache._load/_path/_allocation_sizes, andcompile_pool.CompilePool = RecordingPool(tests/preparation/test_mixed_gpu_inductor_keying.py:17-56). Nothing exercises real CUDA, real Inductor kernels, or a real per-SKU cache root with real artifacts. - The test file imports private helpers from another test module (
_Artifact, _Forward, _Pool, _replace_gpu_preparationfrom tests/preparation/test_forward_artifact_sharing.py:11), so it is coupled to that file's internals — and #584 (closed draft, FujitsuPolycom, opened 2026-11-28) rewrote huge parts of test_forward_artifact_sharing.py (+1463/-4) and aot.py; #584 was closed 2026-11-29 04:33 and is being split. Anyone re-landing #584's parts would have to re-base this new test file. - The test suite's use of "fork" start method under an already-CUDA-initialized process is exactly the pattern voipmonitor flagged in #584 (51 DeprecationWarnings about fork+threads), so the same criticism is likely to land here.
- Claimed CPU test evidence ("96 passed in 46.13s" across 5 files) is plausible against the merged tests: tests/preparation/test_compile_pool.py, test_forward_artifact_sharing.py, test_inductor_prepared_winners.py, test_core_boundary.py exist on main. I could not run tests (no execution tool here), so the count is unverified.
- The description's hardware evidence is whole-pipeline: it explicitly concedes "Whole-pipeline serving metrics verify integration compatibility and are not attributable solely to this PR." No isolated A/B measurement (mixed-SKU export before vs after on the same host) is presented, and no baseline failure log from main for the Inductor-inventory or artifact-sharing abort is pasted. AGENTS.md:95-112 requires each material claim connected to baseline/reference/config/result; #150's reviewer (yatesdr) demanded exactly that "show the failure on main" evidence for the sibling PR and rejected it without it.
- Cross-architecture rejection is tested only on CPU (
("", None)and("NVIDIA GB10", (12,1))cases), which the description states as a limitation. - Rust tests not run — justified since the diff touches no Rust; note the CI workflows (
.github/workflows/native-serving.yml) only run cargo tests, and no workflow runs the Python test suites (search of .github for tests/preparation returned nothing), so no CI would have exercised this change at all.
#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:
- Operators of multi-GPU single-host TP exports:
ignition export --gpus ...on one host with mixed GPU models. Homogeneous hosts keep identical cache file names and the old one-worker-per-host admission when only one GPU group is active (compile_pool.py:75-85:groupsis passed from aot.py:995-997 but a homogeneous host yields one active group, soactive_groups=[members]). - Cross-host TP (
ignition export --ranks+ignition join):_prepare_ranksand_publication_lockrun there too._publication_locknow barriers once per distinct (host, root); a cross-host group of different GPU models — previously tolerated for artifacts since each host already had its own root — now hard-fails on the architecture check only if capabilities differ (same capability, different names is fine, and then the suffix applies). - Memory budgets:
--compile-workers N(documented per host, docs/model-preparation.md:231-236) is now also a floor requirement: N must be >= number of active GPU groups on a host or the export raises ValueError. On a 4-GPU mixed host that is >= 2. A user who set compile_workers=1 to survive a low-RAM host would now fail, where before they got one worker for the host. - Cache directories: mixed-SKU runs write
{name}.{compilation_variant}.{gpu_tag}.binunder a per-GPU-name root (aot.py:763 + 940-944), so a mixed-SKU export and a homogeneous export of the same model on the same card do not share cached forwards; disk usage per mixed host roughly doubles (each SKU compiles its own full catalog) — the test asserts 8 artifacts for a 4-forward 2-SKU catalog vs 4 for homogeneous. - Compile time: each SKU now compiles its whole catalog (previously one catalog per host was compiled once and lent), so a mixed host's "Compile model forwards" phase does 2x the work when RAM only allows one worker per SKU — the PR's own test expects [1,0,1,0] worker shape; no wall-clock comparison is given.
- Compatibility: no proto, manifest, core-format, or artifact-format change; previously exported cores are unaffected (cache-only). Serving is untouched. No new dependency.
- Documentation: not updated (see entry 4).
- Failure modes now reachable: RuntimeError on cross-architecture TP groups (new), ValueError on worker limit below group count (new), MemoryError on per-group admission (condition changed). These surface as
preparation failed:at export time.
#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:
- #584 (DRAFT, closed 2026-11-29 04:33 by author FujitsuPolycom) "Accelerate Ignition forward compilation, kernel tuning, and warmup", +4283/-264, touching the same three files (aot.py +868/-124, compile_pool.py +245/-22, inductor_tuning.py +267/-58) plus test_compile_pool.py (+451), test_forward_artifact_sharing.py (+1463/-4). Closed to be split into "smaller, single-concern PRs". Its reviewed version changed adaptive worker admission (
allocate_workers/pool_bounds), cross-host_share_artifactsbatching and Inductor sharded tuning — i.e. the same subsystems. voipmonitor's review also flagged themultiprocessing.get_context("fork")test pattern #597's new test file uses. Consequence: whichever of these lands first forces the other to rebase; #597's new tests import private helpers from test_forward_artifact_sharing.py, the file #584 rewrites wholesale. - #512 (closed, FujitsuPolycom) same three files: forward compilation/warmup progress + pre-GPU export metadata validation. Historical overlap only.
- #592 (open, kbenkhaled, SM110/Jetson Thor + Breeze, +1121/-145) touches aot.py (+12) and compile_pool.py (+4) — an architecture-admission change that would interact with #597's cross-architecture rejection; flare-autobot halted its review as "low value or does not align with the project charter".
- #122 (open, javieratomic) makes the compiler memory headroom a preparation setting and edits
compiler_resources/CompilePooladmission in compile_pool.py plus aot.py (+7/-4). #597's new per-group seeding readsresources[rank].worker_bytes/headroom; if #122 lands, the 8 GiB headroom in the per-group MemoryError becomes configurable and the two PRs will conflict textually in compile_pool.py. - Merged history in the touched files: f377dc85 #543 (removed grouped AOT forward compilation /
ForwardCache.bind_group— removed the last alternative sharing path), b0d35934 #509 + #474 (storage lowering, guard pickling, compiler worker startup, i.e. thecompile_poolworker path), ea756eef #425 (warmup ordering by largest CUDA allocation — theallocation_ordercall still used in_prepare_ranks), cb4b55ca #367/#242 (compile-phase failure surfacing), 3e2fcd27 #559 (GC at phase boundaries), b4196955 #185 (Inductor bundle entries), e60bb3bc #110/#248 (inductor_tuning tuning paths), c8d4c324 (createdallocate_workers), 84c1c0a1 (created lending), cb6187bf (created the Inductor cross-rank agreement #597 relaxes), b3bf45f9 (addedreconcile_selections, main's own answer to disagreeing ranks). - Adjacent issues that shaped the same code and are worth knowing when reading the new error paths: #183/#185 (unbound static Inductor kernels), #268/#412 (paged TMA arg-count warmup failure surfaced through
InductorSelections.warm→_check), #187/#154 (warmup OOM), #242/#270/#73 (forward-compiler MemoryError conditions, which #122 and this PR both change), #150 (mixed Max-Q tuning, the direct precursor).
#14 [high] Claims: each stated result and what backs it (or does not)
Each claim in #597's description, with what backs it:
- "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.
- "Mixed-SKU TP4 export and
flare runof 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. - "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.
- "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.
- "Cross-architecture rejection verified by CPU unit tests rather than a mixed-architecture multi-GPU host" — accurate and disclosed.
- "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.
- 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):
- Stale docs + no
mainfailure reproduction (my notes #4, #7, #14). - No Python CI runs tests/preparation; tests/preparation/test_inductor_tuning_cuda.py not run against the change (my #7, #9). Verified:
.github/workflows/*contains no pytest invocation (only native-serving.yml:30 pip install). - gpu_tag suffix "breaks cache reuse" (my #6, #11).
- MemoryError moved from per-host to per-group (my #6).
- Related check: additive to main; overlaps #122 and #592; imports private helpers from another test module (verified
tests/preparation/test_mixed_gpu_inductor_keying.py:17imports_Artifact, _Forward, _Pool, _replace_gpu_preparationfrom tests/preparation/test_forward_artifact_sharing.py). - Also states main already handles the b12x tuning half of #150 through
CollectivePreparation.reconcile_selections(verified: ignition/preparation/collectives.py:397-426, docstring "unequal catalogs (or catalogs on heterogeneous hardware) ... before compiled forwards are shared"; called from tuning.py:502).
New code-level findings the bot adds that I did not have:
allocate_workersadmission is non-monotonic in available RAM (I verified the exact boundary; see next note).- Multi-host
_share_artifactswrites 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:
- 39 GiB available -> remaining 31: neither group fits a full worker (32 > 31), both take the fallback branch (:107-115) -> succeeds, 2 workers, 4 GiB charged.
- 40 GiB -> remaining 32: first group fits a full worker, remaining 0, second group has neither a full worker nor the 2 GiB fallback -> MemoryError at :116-118. (This is exactly the case the PR's own test asserts: tests/preparation/test_mixed_gpu_inductor_keying.py:155-158.)
- 41 GiB -> remaining 33: same failure (one full worker, 1 GiB left, fallback needs 2).
- 42 GiB -> remaining 34: one full worker (32) + one fallback (2) -> succeeds.
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:
prepare_manyholds_publication_lock(coordinator)around the whole of_prepare_many(aot.py:821-824), so both_share_artifactscalls (aot.py:1102-1104 after compilation, :1168-1169 after publication) run while locks are held.- After this PR each rank holds only the lock for its own
(host, resolved_root)pair:holder = gathered.index(key) == index(aot.py:792) — one rank per distinct root, and on a mixed host the two SKUs hold two different locks. _share_artifactscomputesmissingfrom every other rank's digests with no GPU/SKU filter (aot.py:709-710, 718-719) and writes each received artifact at the compiler's absolute path (path.parent.mkdir(parents=True, exist_ok=True), :728-732). On a receiving host, a foreign-SKU artifact therefore lands in that SKU's own cache root, whose publication lock is held by a different rank of the same launch (the same-SKU rank on that host), not by the writer.- On main this could not happen: one lock per host (pre-image aot.py:782-800,
hosts = sorted(set(coordinator.hosts))) covered every cache directory on that host, so all intra-host writes — including shared artifacts from other hosts — were under the one lock.
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):
: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.:262-281— run the frozen warmup, then_check.:282-296(unchanged) — buildactual[identity] = (vars(selected.config), selected.kernel.cubin_raw)for every binding identity andself._gather(actual)across all ranks, then raiseRuntimeError("equivalent Inductor kernels disagree after frozen warmup")if any identity present on two ranks has a different config or cubin.:298-330(unchanged_reconcile) — gathersorted(local)identity lists, elect a singleownerswinner per identity across all ranks, broadcast it, and_installit 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.
- R < 2 (available < 10 GiB): neither group fits even the fallback -> MemoryError.
- 2 <= R < 4 (available 10-11): first group charges the 2 GiB fallback, second group cannot -> MemoryError. (Main: one worker admitted, no error.)
- 4 <= R < 32 (available 12-39 GiB): both groups take the fallback, 4 GiB charged in total, no error. Each of those two workers may then grow toward the 32 GiB estimate (host_memory.py:14-15), so a host with 12-39 GiB available can admit up to ~64 GiB of compiler demand. Main admitted exactly one such worker per host (old branch ran once,
if not any(workers[rank] for rank in members)), so this PR doubles the worst-case overcommit on a mixed host. - R = 32-33 (available 40-41 GiB): first group takes one full 32 GiB worker, leaving 0-1 GiB, so the second group gets neither a full worker nor the fallback -> MemoryError. Main admitted one worker and proceeded.
- R >= 34 (available >= 42 GiB): one full worker plus one fallback worker -> success.
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:
- "verified non-monotonic memory-admission / RAM-overcommit bug in
allocate_workers" (blocker-class) — VERIFIED, and sharpened in notes #17/#20/#23 (bands: 12-39 GiB overcommit, 40-41 GiB new MemoryError, >=42 GiB documented behaviour). - "unnecessary on-disk
gpu_tagsuffix that breaks cache reuse" — VERIFIED in my #5/#15 Key findings 4 (group-wideheterogeneousgate, so the same card writes two different names in mixed vs homogeneous runs; tests expect 8 artifacts vs 4). - "multi-host
_share_artifactslock bypass" — VERIFIED, note #18 (new hole created by per-(host,root) locking). - "stale docs" — VERIFIED, my #4 plus the extra
docs/cli-design.md:480line in #22/F. - "no
mainfailure reproduction" — VERIFIED as an absence, my #3/#14; the bot restates it, it supplies no log either. - "Additive to main; main's
reconcile_selectionsalready handles the b12x tuning half from #150" — PARTLY true; note #22/E. - "overlaps open PRs #122 (
compile_pool.py,aot.py) and #592 (aot.py,compile_pool.py)" — consistent with my #13. - "imports private helpers from
tests/preparation/test_forward_artifact_sharing.py" — VERIFIED,test_mixed_gpu_inductor_keying.py:17. - "
tests/preparation/test_inductor_tuning_cuda.pywas not run" — plausible and consistent with the PR's own list of five CPU test files (#14 claim 1); not independently confirmable. - "new tight-budget test only checks 40 GiB, missing the 12-39 GiB and 42 GiB overcommit bug" — VERIFIED, same conclusion as #20.
- "Security / malicious screen: pass", "Charter & value fit: pass with evidence caveat", the "3 subtract/simplify" and "3 nits" items, and the three linked external pages (full review / value proposition / case file) — NOT VERIFIABLE here: the pages are not fetchable and the comment does not enumerate the nits. Report these as bot claims only, not as findings of mine.
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:
- Merged: #154 (Reuse retained warmup mappings across compiled warmup, merged 2026-11-03, heliopause allocator + package_storage), #162 (reasoning close-delimiter output fix, merged 2026-11-01; there is also a spark-local-inference#162 equivalent referenced from #163).
- Closed: #163 (GLM-5.3 Flash TrellisMX, closed 2026-11-23 by the author, split into #475 + hyperflare-recipes#6), #468 (SM120 qualification for Inkling 2 Mini), #215 (FlashInfer main tracking).
- Open: #480 (chunked DMA all-reduce sizing), #475 (Checkpoint.tensor_parallel/CheckpointOverlay), #458 (Responses SSE sequence_number), #457 (TML headers/grammars), #150 (mixed Max-Q/Workstation tuning).
- Pattern: an SM120 workstation owner (RTX PRO 6000 Blackwell Max-Q + Workstation Edition, 4-card TP4 host) who repeatedly contributes both allocator/kernel-level fixes and serving surfaces, and who has been carrying the mixed-SKU thread since 2026-10-30.
- Areas merged PRs touched: heliopause/src, helios, helios/src, helios/tests, ignition/preparation.
- #154's evidence shows the same 4-GPU mixed-SKU host and records that its export also carried #150, "an override of torch's compile-package GPU-name check for the two card names", plus a local CSF checkpoint layout change — i.e. the author has had a local uncommitted workaround for exactly the GPU-name comparison this PR now handles in-tree.
- #150's own review (yatesdr, 2026-11-18, CHANGES_REQUESTED) and #163's closure show the author gets substantive review on this topic; the same reviewer questions #150's premise and asked for on-main failure evidence. Who usually works in these areas (last 180 days): ignition/preparation — Luke Alonso (156 commits), Martin Vit (52), Eugene Rakhmatulin (36); tests/preparation — Luke Alonso (204), Martin Vit (34), jasonc (23). Relevant commits: cb6187bf, b3bf45f9, c8d4c324, f377dc85 (#543), b0d35934 (#509 #474), a39f6777, 3e2fcd27 (#559), 84c1c0a1, f9aec99c. No maintainer has engaged on #597 itself.
#9 [medium] Community & process: no reviews, no CI, no bot run; DCO/design acknowledgment unverified
- PR #597 has zero comments, zero reviews, zero reactions, no labels (orientation packet: "no checks", "no reviews yet", "Discussion (0)"). Opened and last updated 2026-11-29 09:56 — no edits since opening.
- Contrast: the author's other open work in these areas has drawn review (e.g. #122 has 12 comments and an Autobot review; #584 has a voipmonitor review; #150 has a CHANGES_REQUESTED review and two flare-autobot runs).
- The flare-autobot review bot exists in this repo and posts on PRs (#150 2026-11-26, #122 2026-11-26, #592 2026-11-29) but has not posted on #597, so the "auto-review runs 90 minutes after push" mechanism had not fired at the time of the snapshot.
- The Discord contact line is present ("Discord: Brandonmusic"), satisfying AGENTS.md:142-153.
- No Design-Signed-Off-By / Signed-off-by trailer evidence available from the snapshot; #150's review explicitly required Signed-off-by per CONTRIBUTING.md:7-20. Whether #597's commit f8a033a carries the trailers is not visible in the material available here — worth checking before merging.
#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:
- The change is in shared preparation code (ignition/preparation), not a recipe, and adds no flag, model branch, or environment variable — consistent with "no per-model special cases/flags" and with the config rules in AGENTS.md:447-469.
- The target hardware (SM120 RTX PRO 6000 Blackwell workstation) is exactly the charter's stated focus, and multi-GPU single-host TP preparation is in scope (AGENTS.md:155-175 "Single-host execution and cross-node tensor parallelism are both in scope").
- Bug-fix framing with root cause (per-SKU artifacts and per-SKU validation) matches "Bug fixes need to address the root cause". Tensions:
- Non-goal "broad production coverage across arbitrary... GPUs" cuts both ways: adding a second SKU keying path is a new hardware-shape special case in shared code; the adoption cost is that every mixed-architecture group now hard-fails where it previously might have worked (AGENTS.md:182-187 "Reject weakened guarantees... Do not... suppress errors, silently substitute execution paths" — this change adds guards rather than relaxes them, which is in the charter's favor).
- Evidence rule: the whole-pipeline serving numbers are conceded as not attributable; no isolated before/after benchmark of the preparation step on the mixed host is given, which is what "bring real evidence" asks for.
- AGENTS.md:497-500 "When a potential correctness... deficiency appears in one model, inspect the shared components and equivalent paths in every supported recipe before scoping the fix" — this change is in shared components, so the cross-recipe blast radius (every recipe's TP preparation) is the relevant check; the PR's evidence is DeepSeek V4.1 Flash and GLM-5.3 Flash only.
- AGENTS.md:176-179 rejects "runtime compilation or recapture" etc.; not implicated. AGENTS.md:510 "Do not create development audit reports" — not implicated.
- docs/design-review.md requires a Design-Signed-Off-By trailer and CONTRIBUTING.md requires Signed-off-by; the sibling PR #150 was rejected partly for lacking it.
#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:
- 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).
- 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, 1154andcompile_pool.py:62-128match 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:
- "Does the Inductor-inventory / cross-SKU lending abort reproduce on
main?" — STILL OPEN. The bot flags the absence too ("nomainfailure reproduction"), so the reviewer pressure now matches what yatesdr applied to #150. - "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). - "Are
Signed-off-by/Design-Signed-Off-Byon 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. - "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. - "Wall-clock cost of per-SKU seeding on a 4-GPU mixed host?" — STILL OPEN; no measurement from the author or the bot.
- "#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_locknow 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.