#1 [high] Change: what PR #635 does (verified from diff)
PR #635 "Pass candidate GPUs into filter_world_sizes during planning", author nero- (Jonathan Gutierrez, GitHub CONTRIBUTOR), head c2ef797, base main, opened+updated 2026-11-30, 2 files +41/-5, no reviews, no CI checks, ready for review. No PR comments at all (pr_comments empty).
Code change — ignition/planning.py (plan(), lines 543-650 at head):
- Before:
plan_sizes = params.filter_world_sizes(world_sizes, pre_context)was computed at old line ~566, BEFOREsupported/chosenwere resolved; pre_context hasgpus=()(ParameterContext default, ignition/parameters.py:130). - After (head lines 565-591):
world_sizes = recipe.checkpoint_tensor_parallel(checkpoint)->supported = [gpu for gpu in gpus if gpu.supported](566) ->chosenfromselectedwith the out-of-range--gpusUsageError (568-572) ->filter_gpus = chosen if chosen is not None else tuple(supported)(573) ->plan_sizes = params.filter_world_sizes(world_sizes, replace(pre_context, gpus=filter_gpus))(574). The "no supported tensor-parallel size remains" UsageError now follows (575-576), and theif chosen is not None:block for theneeds N GPUsCapacityError / unsupported-GPU error is nested under it (578-589). Theelif len(supported) < plan_sizes[0]host-size error is intact (590-591). - candidates() (608-614):
candidate_params.filter_world_sizes(world_sizes, replace(pre_context, root=candidate_params, gpus=tuple(supported)))— now passes supported GPUs too. - Pre-GPU
params.validate(pre_context)at line 563 is unchanged (still no gpus, no world_size).filter_gpus= chosen when--gpusgiven, else all supported GPUs.
Test — tests/cli/test_planning.py:568-598 test_filter_world_sizes_receives_selected_or_supported_gpus: defines local CapabilityAwareParams(RecipeParameters) whose filter_world_sizes restricts sizes to (3,4) when all context.gpus have capability (12,1) (SM121) and to (4,) otherwise; toy recipe with ranks for TP3 and TP4; asserts 4x SM120 automatic -> TP4; 3x SM120 with selected=(0,1,2) -> CapacityError "needs 4"; 3x SM121 explicit selected -> TP3; 3x SM121 automatic -> TP3.
#3 [high] Change: undeclared side effects and limits of the new GPU argument
Verified behavioral details beyond the description:
- Error-precedence swap (undeclared): before, the "no supported tensor-parallel size remains for {alias} with the selected parameters" UsageError (head lines 575-576) was raised BEFORE the out-of-range
--gpusUsageError ("--gpus ... names a GPU this host does not have", 569-571). Now the--gpusindex check runs first, so--gpus 9on an unsupported-parameter recipe reports the GPU-index error instead of the parameter error. Same messages, different order. params.validate(pre_context)at planning.py:563 still receivesgpus=(), and a second validate withgpus=chosenruns only on the failure path (582). So filter_world_sizes now sees GPUs while the validate immediately before it does not — an asymmetry the description does not mention (it says "Pre-GPU params.validate(pre_context) ... unchanged", which is true).- The hook never receives
world_size: neither call site passes it (574, 611-613), so a recipe can see which GPUs but not which candidate TP size is under consideration; it can only filter the set.Plan.parameter_context(planning.py:231-239) by contrast carries both gpus and world_size for later hooks. - Automatic planning passes only supported GPUs (
tuple(supported)), so the filter cannot observe non-supported devices on the host; explicit--gpuspasses the actual chosen devices even if some are unsupported (the unsupported-device CapacityError at 587-589 still fires afterwards). - Consistency:
candidates()(608-614) returns early withfitted(chosen...)whenchosen is not None(609-610), so the two call sites never disagree about which GPU set applies. - Surface reach of
filter_world_sizescalls in-tree: only planning.py (2 sites). In-repo overrides exist only in tests (tests/cli/test_planning.py:81 ToyShardingParameters, tests/cli/test_commands.py:55 FixtureShardingParameters) and both ignore context.gpus. tests/cli/test_planning.py:105 reads context.gpus in validate (SM103 rejection) — the neighbouring hook that already had GPUs, though itsany(...)is empty-safe.
#4 [high] Related work: #545 built the hook, #499/#508 moved capability gating into recipes
- The hook itself and ParameterContext.gpus were introduced by #545 "ignition: introduce compositional RecipeParameters and dynamic CLI" (merged 2026-11-26, lukealonso): it made planning dispatch validate/filter_world_sizes/adjust_* through recipe parameters and documented the hooks in docs/preparation-development.md:32-36. #635 plugs the gap #545 left: pre_context.gpus defaulted to () (ignition/parameters.py:130) so the hook had no GPU data. So #635 is a direct follow-on to #545, and its test subclasses the same mechanism.
- #545's post-merge Autobot review (PR #545 comment 2026-11-26 21:20) flagged one blocker (PreparationManifest key shrinkage breaking core combine) and several should-fix items about the parameters machinery; none concern filter_world_sizes' context. #635 does not touch that.
- #533 (open, roobyz) also edits ignition/planning.py plan() and the same ParameterContext/pre_context area (adds --request-context/context_target, Plan.prepared_context). Different hook, overlapping function; no conflict with #635's hunks (563-614 region) visible, but both reorder/insert around the same plan() prologue.
- Capability gating in planning used to live in core code, not in the filter hook: #499 (merged 2026-11-24, FujitsuPolycom) added
Recipe.row_shard_prefill_world_sizesand a recipe-declared opt-in that "restricts automatic GPU selection to row_shard_prefill_world_sizes" and refuses SM103 GPUs; #508 (merged 2026-11-26) added row-sharded attention weight accounting and shared gating in planning.py. At #635's head there is norow_shardreference left in ignition/planning.py (grep) — those per-recipe switches moved out of core with the recipe split, and docs/TODO.txt:349 still tracks "Qualify --row-shard-attention on SM121 and multi-host RoCE". Context: the way to express architecture gating is now a recipe RecipeParameters subclass, which is exactly what #635 makes possible for world-size filtering. - Author's own #467 (closed) moved TP2/TP4 Inkling Mini work to local-inference-lab/hyperflare-recipes#17 after the repo split; #635's description likewise defers live validation to a companion PR in hyperflare-recipes (DeepSeek V4.1 TP3), which enforces the charter/AGENTS.md:382-396 recipe boundary.
#5 [high] Claims and evidence: CPU test only, no CI on head, multi-host path untested
- Evidence claimed: "CUDA_VISIBLE_DEVICES="" pytest -q tests/cli/test_planning.py passed (7 passed, 0 failed)". Not verifiable here (no test execution tool), and no CI ran on head c2ef797 (orientation packet: "no checks"; .github/workflows/python-cpu.yml runs
pytest tests/ -qon every pull_request with CUDA_VISIBLE_DEVICES="" — so the check exists in the repo but did not report for this head, e.g. because the PR is from a fork/first-push or was opened without triggering; worth noting as unexplained). - Test count check: tests/cli/test_planning.py at head has 7 test functions (grep
^def test_: lines 159, 223, 298, 402, 479, 521, 568), consistent with "7 passed". - The new test's SM121 case uses
sm121_gpus = 3 GPUswith capability (12,1) and recipe ranks {3,4}; the SM120 case uses 4 GPUs at (12,0) with the same recipe. Both are syntheticplanning.Gpudescriptors (name "SM120"/"SM121", 140 GiB) — no hardware. The description discloses this limitation. - Unsupported: the deeper claim in "Why" (cross-host SM121 GB10 RoCE TP vs single-host SM120 PCIe collectives) has no evidence in this repo at all; the test does not model multi-host (plan() is called with a flat GPU tuple, no --ranks/rendezvous), so
context.gpusunder multi-host planning is fed fromtopology_gpu(...)entries in ignition/cli/serve.py:421 and that path is untested here. - Behavior preserved claims verified: out-of-range
--gpusstill raises UsageError (569-571 kept verbatim); pre-GPU params.validate(pre_context) still at 563; SM103-style--sharded-prefillvalidate(UsageError "SM103") in tests still passes since validate still gets gpus on the failure path (582) and inside fit() (469-478). - Claimed benefit "backward compatible for recipes that ignore context.gpus": verified — both in-repo filter_world_sizes overrides ignore context.gpus, and passing a superset/empty gpus tuple only changes recipes that read the field.
#11 [high] Research summary
Case file for PR #635 (nero-, head c2ef797, open, ready for review, 2 files +41/−5, no comments, no reviews, no CI). Ten scratchpad entries cover every angle: change, undeclared side effects, why, related work, recent activity, people, community, charter fit, claims/evidence, reach, process.
Key findings not evident from the description: (1) the reordering silently swaps error precedence — the out-of-range --gpus UsageError now fires before the "no supported tensor-parallel size remains" error (planning.py:569-576); (2) params.validate() immediately before the filter still gets gpus=() (563) while the filter now gets real GPUs, and neither call site passes world_size, so a recipe can see which GPUs but not which candidate TP size; (3) automatic planning exposes only supported devices, explicit --gpus exposes the exact (possibly unsupported) selection, and the multi-host path feeds peer-topology GPUs from serve.py:421 — untested; (4) no CI ran on the head even though .github/workflows/python-cpu.yml (not opened) runs the CPU suite on every PR, and the only evidence is the author's CPU unit test, with the SM121 live validation deferred to an external hyperflare-recipes PR.
Context established: the hook came from #545 four days earlier and simply defaulted ParameterContext.gpus to (); earlier per-flag capability gating in planning (#499, #508) has since left core, which is the strongest argument for this PR's approach. #533 overlaps the same plan() prologue on a different hook; no conflict visible. The author is a repeat owner of DGX Spark / SM121 cross-host TP work (#161, #220, #433, #467), and zero engagement exists so far. Charter lines on model-agnostic core, evidence, and the four-part description were mapped; the change adds no CLI, default, manifest, doc, or schema surface.
#13 [high] Project fit: charter aligns on model-agnostic seams; no roadmap item or maintainer request cited
Lines up:
- Charter "Keep the runtime small and model-agnostic. Ignition writes the recipes that handle model computation... shouldn't accumulate per-model branches": #635 adds no model branch; the policy lives in a recipe
RecipeParameterssubclass via the existingfilter_world_sizeshook (ignition/parameters.py:560-564), and tests/preparation/test_core_boundary.py:39-67 keeps core recipe-free. AGENTS.md:382-396 states official recipes live in local-inference-lab/hyperflare-recipes, which is where the companion consumer is. - Charter Goals: "serve... on SM103, SM120, and SM121" and "Support single-host and cross-node serving" — the motivating case (cross-host SM121 GB10 RoCE TP vs single-host SM120 PCIe) is inside the stated goals, and SUPPORTED_CAPABILITIES (planning.py:37-38) covers SM87/103/110/120/121.
- AGENTS.md:72-140 required four-part PR description: #635 has why / what changed / claimed benefit / evidence+limitations in order, and states the untested part.
- docs/preparation-development.md:32-36 already declares that planning "invokes its validate, filter_world_sizes, adjust_*" hooks, so making the hook usable is consistency with existing documentation; no doc becomes false and no doc was updated.
Does not line up / friction (facts, not judgements):
- Charter "What gets merged": PRs addressing a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs. #635 cites none: no issue number, no maintainer ask, no TODO entry, no measurement (docs/TODO.txt:263-267 on RoCE TP2/TP3 qualification is the nearest neighbour and is not referenced).
- Charter "Bring real evidence... Performance PRs need benchmarks... Bug fixes need the root cause": evidence is one CPU unit test with synthetic Gpu descriptors; the live export/qualification is in an external repo PR.
- Charter Code Review Standards "Supported matrix & compatibility: check interactions across every supported model, cache scheme, parallel layout, multi-host setup, and hardware target": the PR changes the planning prologue for every recipe and every target, but its test covers only single-host, synthetic SM120/SM121, and no multi-host
--rankspath. - No design sign-off trailer in the description, unlike #499 (Design-Signed-Off-By/design-review=eb2f) and #533 (design-review=2e5b); nothing here is a new captured-graph op, so AGENTS.md:376-381 approval is not triggered.
#15 [high] Event 2026-11-30 10:44–11:17: case file + Autobot review + author reply (fixes NOT in branch)
New since report #14 (all times 2026-11-30):
- 10:44 UTC
flare-autobot"A case file has been opened for 635" — Case File https://autobot.eidonix.com/api/v1/cases/2e55f562-8fca-42d7-93b8-c2b6ef58bb79.html, Intake Report https://autobot.eidonix.com/p/5117ddcf-2af9-45c1-b267-d3e5503f27a7.html. Says future reviews auto-run 90 min after pushes; opt-out via#autobot:ignore. This retires my earlier finding "no autobot case file / pipeline never ran" (scratchpad #12, case-file finding 9). - 11:02 UTC Autobot Review, Recommendation: Changes Requested, 0 blockers / 1 should-fix / 2 subtract-simplify / 2 nits. Full Review https://autobot.eidonix.com/p/296b682c-50fb-4a96-9867-0a02866f4e2f.html, Value Proposition https://autobot.eidonix.com/p/ca9e09d4-b50d-464d-b1c3-0834343486a6.html. Merge risk "Low · up to c2ef797". Pre-merge checks: security ✅, charter & value fit ✅, related/duplicate ✅, tests/verification ⚠️.
- 11:17 UTC author (nero-) reply: claims all review items addressed — moved
if not gpu.supported:CapacityError ahead offilter_world_sizesplus "explicit SM90 test",supportedbuilt as a tuple andfilter_gpusreused incandidates(), test simplified to reuse_recipe()/_gpu(), andcontext.gpus/context.world_sizecontract documented onParameterGroup.filter_world_sizes; saystests/cli/{test_planning,test_commands,test_parameters,test_gpu_discovery}.py→ 29 passed; pings @flare-autobot.
None of those edits are on the branch. Head is still the single commit c2ef7974 (search_history at head: newest commit, no second commit; pr_files still ignition/planning.py +9 -5, tests/cli/test_planning.py +32 -0). At head, verified:
supported = [gpu for gpu in gpus if gpu.supported](list, not tuple) — ignition/planning.py:566.filter_gpusis defined at :573 and used only at :574;candidates()still passesgpus=tuple(supported)(:611-612), notfilter_gpus.- The
if not gpu.supported:CapacityErrorremains AFTER the filter, at ignition/planning.py:587-589. - tests/cli/test_planning.py still has exactly 7
def test_(159, 223, 298, 402, 479, 521, 568); the new test (568-596) uses inlineCheckpoint(...)/Recipe(...)and explicitplanning.Gpu(...)tuples, i.e. not_recipe()/_gpu(); no SM90/unsupported-GPU case anywhere (SM90/(9,0) absent from tests/cli/). ParameterGroup.filter_world_sizesdocstring is still the one-liner "Restrict candidate tensor-parallel world sizes during planning." — identical at head (ignition/parameters.py:560-561) and atmain(same lines).
So the one should-fix and both simplifications are still open, and the reply is unverified against the code (either the push did not land or the comment precedes it). No CI run appears either. Test-count plausibility: the four named files hold 24 def test_ functions (7+3+7+7), so "29 passed" is plausible only via parametrization (e.g. tests/cli/test_gpu_discovery.py:61-144 parametrized) — not verifiable from here.
#16 [high] Autobot should-fix: unsupported explicit --gpus reaches filter, exit 4 becomes exit 2 (confirmed)
Autobot's only should-fix (2026-11-30 11:02) is real and sharper than my earlier note (scratchpad #3 item 4). Mechanism, verified at head c2ef797:
- Explicit
--gpussetsfilter_gpus = chosen(ignition/planning.py:573), sofilter_world_sizes(574) sees the selected devices even whengpu.supportedis False; the architecture checkif not gpu.supported: raise CapacityError(... is not an {SUPPORTED_ARCHITECTURES} device)only runs at :587-589, i.e. after the filter. - If a capability-gated filter returns
()for those GPUs, planning raisesUsageError("no supported tensor-parallel size remains for … with the selected parameters")(:575-576) → exit 2, instead of the hardwareCapacityError→ exit 4. Exit codes verified:UsageError.exit_code = 2,CapacityError.exit_code = 4(ignition/errors.py:13-22). - On
mainthe same command gives exit 4 (mainfilter call receives the defaultgpus=(), ignition/parameters.py:130), so this is a regression in error classification, and the message blames parameters when the hardware is at fault — precisely on the new recipe-facing axis. supported= ((8,7),(10,3),(11,0),(12,0),(12,1)) and theGpu.supportedpredicate are at ignition/planning.py:37-53, so a GPU outside that set (e.g. SM90) is the trigger.
Caveat on the suggested fix (move the not gpu.supported check before the filter): that check currently sits after len(chosen) not in plan_sizes → params.validate(replace(pre_context, gpus=chosen, world_size=len(chosen))) (:582) → generic "needs N GPUs" CapacityError (:583-586), with an explicit comment that recipe validate should surface its own UsageErrors first (:580-581; the in-repo precedent is the --sharded-prefill is not qualified on SM103 UsageError read from context.gpus at tests/cli/test_planning.py:105-106). Hoisting the architecture check above the filter therefore masks recipe-declared parameter UsageErrors for selections that mix unsupported and supported devices — a precedence change of the same class Object reviewing. A narrower fix targeted at "filter must never see unsupported devices" would be to pass filter_gpus = tuple(g for g in chosen if g.supported) (or filter-then-check only for the empty-result case) and keep the SM-check where it is.
Test gap confirmed: the new test only asserts supported-only scenarios — automatic 4×SM120 → TP4, explicit 3×SM120 → CapacityError "needs 4", explicit/automatic 3×SM121 → TP3 (tests/cli/test_planning.py:590-596). No unsupported-capability GPU is constructed anywhere in tests/cli/ (SM90/(9,0) appear only in tests/test_kv_codec.py:15 and ignition/preparation/kv_codec.py:43).
#18 [high] Research summary
Amended the #635 case file for the 2026-11-30 event (bot case file + Changes Requested review at 10:44/11:02 UTC, author reply at 11:17 UTC; head still c2ef7974, no new commits).
Amendments, in short: (a) my earlier finding that no bot case file / no automated review existed is now superseded — one machine review with 0 blockers / 1 should-fix / 2 simplify / 2 nits, still zero human engagement; (b) that review independently confirms my charter-fit, rebase-clean and backward-compatibility findings and promotes my soft "automatic vs explicit GPUs differ" note to the single should-fix — explicit --gpus feeds unsupported devices into filter_world_sizes, turning a hardware CapacityError (exit 4) into a parameter UsageError (exit 2), a regression versus main, which I confirmed in code including that exit codes reach the process via ignition/cli/__init__.py:373-377; (c) a new caveat the review and the author both miss: simply hoisting the not gpu.supported check above the filter masks recipe-declared parameter errors for mixed selections, so a narrower fix is needed; (d) a new finding — the author's "addressed all review items" comment is not reflected anywhere at head (list vs tuple, filter_gpus unused in candidates(), check still post-filter, test not simplified, docstring unchanged, no unsupported-GPU case), and "29 passed" is exactly the four files' collection total at head, with still no CI run; (e) the external live evidence now has a number, local-inference-lab/hyperflare-recipes#103.
Everything else in the original report stands unchanged. Notes: scratchpad #15, #16, #17.
#19 [high] Consolidated amendment set for the report (replaces nothing; supersedes #12, sharpens #3/#5/#9)
Event reviewed: 2026-11-30 10:44 case-file comment, 11:02 Autobot Review (Changes Requested), 11:17 author reply. Head unchanged at c2ef7974, single commit, +41/−5 in 2 files (pr_files), no new commits (search_history at head; newest commit is c2ef7974 itself).
AMENDMENTS TO ISSUE, in the order they should appear (the report is an amendment-only delta; the base report is scratchpad #14):
A1. Supersedes: "no bot case file / automated pipeline never ran" (#12, and finding 9 of #14, and the corresponding line in #14's Community section). flare-autobot opened a case file at 10:44 UTC (case, intake) and posted a full review at 11:02 UTC (review, value prop): Changes Requested, 0 blockers / 1 should-fix / 2 subtract-simplify / 2 nits, "Merge Risk: Low · up to c2ef797", pre-merge checks security ✅, charter & value fit ✅, related/duplicate ✅, tests & verification ⚠️. Pipeline policy: reviews auto-run 90 min after pushes, opt-out #autobot:ignore. Engagement count becomes 1 bot review + 2 bot comments, still zero human comments/reviews/reactions and no labels — the "single strongest signal is nobody has looked at it" point in #12/#14 survives, only its cause changes.
A2. Corroboration (no change to my findings, worth one line each): the machine review independently reaches the same conclusions on charter/value fit (policy stays in recipe RecipeParameters, no model branches in core), rebase-cleanliness, and backward compatibility for both in-repo overrides (tests/cli/test_planning.py:81-85, tests/cli/test_commands.py:55-59) — all in #13/#14 already.
A3. Sharpens my #3 item 4 into the PR's only should-fix (mechanism in #16). With filter_gpus = chosen (ignition/planning.py:573) the filter at :574 sees unsupported devices; the architecture CapacityError is only at :587-589, so a capability-gated filter returning () raises UsageError at :575-576 → exit 2 instead of exit 4. On main the filter still gets the default gpus=() (ignition/parameters.py:130) so the same command exits 4: it is a user-visible CLI regression (codes wired at ignition/cli/init.py:373-377; values at ignition/errors.py:13-22), on export/serve/bench one-shot setup, on exactly the recipe-facing axis the PR creates. Trigger set: ignition/planning.py:37-53 (SM87/103/110/120/121). My base report had this only as "automatic vs explicit expose different GPU sets" and as the undeclared precedence swap — upgrade the severity language to match.
A4. New critique the review and the author both miss (#16, second half): hoisting if not gpu.supported: above the filter masks recipe-declared parameter UsageErrors for mixed unsupported+supported selections, because today it deliberately runs after params.validate(replace(pre_context, gpus=chosen, world_size=len(chosen))) at :582 (rationale comment :580-581; in-repo precedent tests/cli/test_planning.py:105-106, the SM103 rejection read from context.gpus). Safe alternative: filter on tuple(g for g in chosen if g.supported).
A5. New finding: the author's 11:17 UTC "addressed all review items" is not on the branch (#15). Claimed: check moved above filter + "explicit SM90 test", supported as a tuple, filter_gpus reused in candidates(), test reusing _recipe()/_gpu(), context.gpus/context.world_size documented on ParameterGroup.filter_world_sizes; reported "29 passed". At head: supported is a list comprehension (:566); filter_gpus used only at :574 while candidates() still passes tuple(supported) (:611-612); not gpu.supported still :587-589; test still inline Checkpoint/Recipe/planning.Gpu (tests/cli/test_planning.py:568-596) with no unsupported-GPU case (SM90/(9,0) absent from tests/cli/); docstring still the one-liner (ignition/parameters.py:560-561, byte-identical to main). So the should-fix and both simplifications are still open and comment state diverges from code state. "29 passed" is exactly the four named files' collection total at head (7+5+7+10 = 24 defs + 5 parametrized extras, #17) — consistent with a run on c2ef797, not evidence of a push. No CI has reported (.github/workflows/python-cpu.yml:1-33), which the review itself flags.
A6. Citation upgrade: the external live evidence is local-inference-lab/hyperflare-recipes#103 (disclosed in the review), replacing my unspecific "companion recipes PR" in #14.
Unchanged / re-affirmed: params.validate(pre_context) asymmetry (:563 vs :574) — the review did not flag it, still my finding; neither filter call receives world_size (:574, :611-613) — also not flagged by the review; no cited issue, roadmap item, maintainer request or design sign-off; test covers only supported synthetic GPUs on a single host, multi-host --ranks/topology_gpu (ignition/cli/serve.py:199, 421) still untested; main baseline untouched (no drift).
#2 [medium] Charter/process fit: evidence standard, model-agnostic rule, PR description rules
Charter (read_charter):
- line 12 "Keep the runtime small and model-agnostic... recipes handle model computation... shouldn't accumulate per-model branches": #635 keeps ignition.planning model-agnostic (recipe subclass supplies the policy via filter_world_sizes), which lines up with the charter.
- "Bring real evidence" requires benchmarks for performance PRs / root-cause fixes; this is a plumbing/compat change whose evidence is a CPU unit test only (description admits "synthetic Gpu descriptors", live 3-node SM121 validation deferred to a companion PR in an external repo local-inference-lab/hyperflare-recipes).
- "Code Review Standards / Supported matrix": review should check interactions across every supported model, parallel layout, multi-host setup, and hardware target; #635 changes planning for all recipes on all of SM87/SM103/SM110/SM120/SM121 (SUPPORTED_CAPABILITIES, ignition/planning.py:37-38).
- "PR descriptions: four parts" is satisfied in form (why / what changed / claimed benefit / evidence + limitation).
- Goals mention SM120/SM121 workstation + DGX Spark and cross-node serving (charter "Support single-host and cross-node serving") — the motivating case (cross-host SM121 GB10 RoCE TP) is squarely in scope.
#6 [medium] People: nero-'s DGX Spark TP series and the maintainers who own planning.py
- Author nero- (Jonathan Gutierrez per commit c2ef797 author), GitHub association CONTRIBUTOR, not one of the charter's priority contributors (@voipmonitor, @original-el8, @lukealonso).
- Recent work: #433 Inkling 2 Mini text/vision/DSpark prep (merged 2026-11-21), #220 DeepSeek V4.1 Flash TP6 with per-rank Engram partitions (merged 2026-11-06), #219 Helios Engram partitioned tables (merged), #467 Inkling Mini TP2/TP4 (closed, moved to hyperflare-recipes#17), #161 DeepSeek V4.1 TrellisMX TP2 (closed), #518 --target-head-quantization (closed). Open issues #119 (orbit eviction of download store), #118 (DeepSeek V4.1 positions-before-128 logits).
- Track record: repeated ownership of multi-host DGX Spark (GB10/SM121) tensor-parallel preparation, including TP3/TP6 cross-host RoCE (#220 admits three or four ranks; #161 TP2 over CX7 RoCE on two DGX Sparks). That is exactly the scenario #635 unblocks (cross-host SM121 TP where single-host SM120 PCIe differs), so the motivation is grounded in the author's own recurring workload.
- Commits in area: author appears in history as "Nero" for e9d509d6 (#433); #635 is the only commit touching ignition/planning.py today.
- Who usually works here: ignition per-file history is dominated by Luke Alonso (267 commits in ignition in 180 days), Martin Vit (119), jasonc (70); tests/cli by Luke Alonso (103), Eugene Rakhmatulin (29), Martin Vit (20). The PR touches a file whose recent changes are almost all maintainer-authored (#545, #543, #508, #499, #592), so review is likely by lukealonso or PCCessna/FujitsuPolycom.
- Engagement so far: zero comments, zero reviews, no reactions (pr_comments empty; orientation packet "Reviews: none yet"). Discord handle "nero" given in the description, consistent with other PRs in this repo.
#7 [medium] Recent activity: planning.py is high-churn maintainer code; branch has no drift
Recent commits in the touched areas (from orientation packet + search_history, default branch):
- ignition/planning.py: c2ef797 (this PR) / f7d6428f 2026-11-29 kbenkhaled "Add sm110/thor identifiers (#592)" — added (11,0) to SUPPORTED_CAPABILITIES/SUPPORTED_ARCHITECTURES (planning.py:37-38); d3d0e783 2026-11-28 Ray Dollete "planning: support checkpoint context ceilings and RecipeParameters.adjust_context (#212)"; c9935887 2026-11-27 Luke Alonso integrated GA10B + explicit memory limits; 698ee450 2026-11-26 #545 compositional RecipeParameters (the hook's origin); f377dc85 #543; 33ab6df5 #508; d0adb958 #499.
- tests/cli/test_planning.py: a39f6777 2026-11-28, d3d0e783, 5adb27f2, f3a5b709, 698ee450, f377dc85, 33ab6df5, 27716185.
- No commits on the default branch since #635 branched (0a8c20f) touch either changed file (orientation packet) — so the PR is rebase-clean against main at head c2ef797, and main's planning.py still has the old pre-GPU filter_world_sizes call (verified at ref main: planning.py:566 and :609).
- The GPU capability table keeps growing (#592 added SM110 the day before), which is the case for letting recipes see capability rather than only core's hardcoded list: planning.py:37-38, :52-53.
#8 [medium] Reach: every ignition plan/export/bench path, zero CLI surface, external recipe consumer
- Impact: every
ignition export/debug-serve/bench/plancall path goes through planning.plan() (ignition/cli/preparation.py:70-79 derive(), ignition/cli/serve.py:422-431 export/ranks, ignition/cli/bench.py:187-188). Behavior for recipes that ignore context.gpus is unchanged (no signature, default, manifest, or CLI change) — zero configuration/flag/doc surface is added or changed; no docs files edited, and docs/preparation-development.md:32-36 already promises that planning invokes filter_world_sizes (does not state what context.gpus holds there, so no doc is made false). - Downstream dependency: the concrete consumer is an external recipe subclass in local-inference-lab/hyperflare-recipes (description cites a companion "DeepSeek V4.1 TP3 PR"); AGENTS.md:382-396 requires model logic to live there and tests/preparation/test_core_boundary.py:39-67 enforces that ignition never imports recipes — this PR keeps core recipe-free by adding no model branch. Ordering: this must land before (or with) the recipes
uv.lockbump, same cross-repo merge pattern as #499/#508/#545. - Compatibility risk to watch for a recipe author: with the hook now architecture-aware, a recipe that filters on context.gpus will behave differently under automatic vs explicit
--gpus(automatic passes only supported GPUs, explicit passes the exact selection), and under multi-host planning the GPUs come from peer topologies (serve.py:421) rather than local NVML. - Reach on hardware targets: applies on all of SUPPORTED_CAPABILITIES (SM87, SM103, SM110, SM120, SM121) since it just forwards devices; nothing is gated.
- Operators: no user-visible message, flag, or default changes (only the error-order swap noted in entry 3), so no operator-facing documentation update is implied.
#9 [medium] Process: ready-for-review, 1 commit, 2 files, no CI, no design sign-off, no cited issue
- State: open, "ready for review" per orientation packet, opened and last updated the same day (2026-11-30, 2026-11-30), base main, head c2ef797 (author Jonathan Gutierrez, single commit "Pass candidate GPUs into filter_world_sizes during planning"). Labels: none. Reviews: none. Comments: none. CI on head: no checks (repo does have .github/workflows/python-cpu.yml:3-33 running
pytest tests/ -qon pull_request, so the absence is a trigger/fork condition, not a missing suite). - Size: 2 files, +41/-5 (ignition/planning.py +9/-5, tests/cli/test_planning.py +32/-0) — small, single-purpose, no docs, no schema, no Rust.
- No design sign-off trailer or Design-Signed-Off-By in the description (compare #499/#533 which carry design-review ids); no maintainer request/issue is cited as the reason, unlike the charter's "PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs". docs/TODO.txt:263-267 ("Qualify RoCE ring transport beyond GLM-5.3 Flash TP4 ... TP2 and TP3") is the closest roadmap-ish item touching the motivating configuration, but #635 cites no issue or TODO.
- Process expectation from AGENTS.md:72-140 (four-part description): satisfied in order (why / what changed / claimed benefit / evidence + limitations), and it names the untested part explicitly.
#10 [medium] Why: no linked issue; need inferred from author's SM121 TP series and TODO
- No issue in this repo asks for GPU-aware world-size filtering (searched issues: "planning world size GPUs capability recipe" and "filter_world_sizes" returned only PRs). The need is documented only by the author's description and by the shape of core's code: SUPPORTED_CAPABILITIES is a fixed tuple (ignition/planning.py:37-38, last extended by #592 on 2026-11-29 to add SM110) and
Gpu.supported(52-53) is the only capability signal planning uses; before this PR nothing in the plan path let a recipe see capability except the later validate/adjust hooks (planning.py:469-478 for fit(), 582 for the chosen-GPU failure path). - Closest prior art for capability gating inside planning (now removed from core in the recipe split): #499 made automatic GPU selection "restrict to row_shard_prefill_world_sizes" and reject SM103 GPUs; #508 "enforcing SM103"... (per its description: qualification limited to single-host SM120 PCIe, SM121/multi-host RoCE unqualified, docs/TODO.txt:349). These were per-flag core switches; #635 generalizes the same need to a recipe-declared hook — an argument the reviewer can weigh either way (small footprint via existing hook vs. one more thing in planning).
- Age/width of the want: the cross-host SM121 GB10 vs single-host SM120 PCIe distinction recurs across the author's series (#161, #220, #467) and docs/TODO.txt:263-267 (RoCE ring beyond GLM-5.3 Flash TP4, "other recipes, TP2 and TP3"); the hook #545 that #635 completes is 4 days old at the PR's opening.
#12 [medium] Community: zero engagement, no autobot case file opened
- pr_comments on #635 returns nothing: no human comment, no review, no inline review comment, no reaction (orientation packet: "Reviews: none yet", "Labels: none").
- Unlike #499, #508, #533 and #545, no flare-autobot "A case file has been opened" comment exists on #635, i.e. the automatic review pipeline has not run on it yet (it normally posts within minutes of opening; #499's arrived ~2h after open, #533's ~3h). Interest/discussion so far: none.
- The only engagement channel named is the description's "Discord: nero", the same handle used on the author's other PRs (#220, #433, #467), so review may also be happening off-GitHub.
- Comparison for expectations: comparable small core planning PRs (#508 +281/-21, #499 +1546/-191, #533 +79/-31) all drew an autobot review with blockers, mostly about evidence, metadata recording, and doc truthfulness — the classes of feedback #635 could plausibly attract are (a) no live/GPU evidence, (b) change not recorded anywhere, (c) no cited maintainer request.
#17 [medium] Verified: "29 passed" matches the head's exact collection total; exit codes wired via FlareError
Two checks completing the amendment:
-
Author's "29 passed" is arithmetically the head's collection total. For the four files nero- named (tests/cli/{test_planning,test_commands,test_parameters,test_gpu_discovery}.py): test_planning 7
def test_/ 0 parametrize; test_commands 3 tests +@parametrize("command", ["export","debug-serve","bench"])(test_commands.py:114) = 5; test_parameters 7 / 0; test_gpu_discovery 7 tests + parametrize at :68-69 (2), :95-96 (2), :126-127 (2) = 10. Total 7+5+7+10 = 29, exactly as claimed, i.e. consistent with a run on the tree at c2ef797 (7 planning tests). Not proof the fixes were never written — the author could have added the SM90 coverage inside the existing test function — but it is consistent with the branch being untouched, and the code facts above are decisive either way (filter still called withchosen, check still after the filter, docstring unchanged). -
Exit codes really do reach the process.
ignition/cli/__init__.py:373-377catchesFlareError, prints it and returnserror.exit_code, so the UsageError(2)/CapacityError(4) distinction the Autobot review describes (ignition/errors.py:13-22) is user-visible CLI behavior, not internal:--gpusselecting an unsupported device changes one-shotflare export|serve|benchfrom exit 4 to exit 2 when the recipe gates oncontext.gpus. Highest-impact, least-documented consequence of the PR; also the part the new test does not cover (tests/cli/test_planning.py:590-596 asserts only supported GPUs).