#1 [high] Blocking: 5 of 6 files out of scope after repo split
Verified at main (ref=main):
list_files ignition/components/*.pyon main returns exactly init.py + 13 modules: capacity, collectives, completion, engram, flashinfer_sampling, logprobs, ngram_delivery, readiness, sampling, state, state_transfer, vision_delivery, vision_state. No linear.py, no bf16_bmm.py.tests/preparation/test_core_boundary.py:11-26RETAINED_IGNITION_COMPONENTS frozenset = those 13 + "init";:62-64test_ignition_components_keeps_only_helios_abi_modules asserts exact set equality → adding bf16_bmm.py fails this test on main.:40-48also assertsignition/recipesmust not exist → the PR's motivating caller (glm53/mla.py) is gone from main.AGENTS.md:385-392(main): "Keep ignition/components/ limited to the 13 Helios-ABI runtime interface modules ... Put reusable b12x/Triton model execution mechanisms in hyperflare_recipes/components/". PR files (6): ignition/components/bf16_bmm.py (+184, new), ignition/components/linear.py (+8/-9), ignition/preparation/tuning.py (+9/-5), tests/components/test_bf16_bmm.py (+44), tests/components/test_bf16_bmm_cuda.py (+122), tests/preparation/test_toolchain.py (+6/-2). => 4 files (349 lines) recipe-owned; 2 files (tuning.py + test_toolchain.py) are legitimately runtime work. The author's own PR triage comment (original-el8, 2026-11-24) concedes this split. Consequence for hardware test: the pipeline as written cannot land; testing the component on cn5/cn7 would validate code that must be rehomed/rebased first.
#2 [high] Should-fix: import-time toolchain prep inverts documented env-before-patches order
Verified by reading ignition/cli/environment.py:5-11,36-61 (main, unchanged by PR) and ignition/preparation/tuning.py diff:
- environment.apply() sets TRITON_CACHE_DIR (47), CUDA_HOME (54), then runtime_patches.apply() (61); its docstring says "apply sets the environment before installing runtime patches."
- PR adds
_prepare_compiler_toolchain()as a bare module-level call at tuning.py:66 and deletes the calls in RecordedPreparationSession.init (was line ~112) and in declare()'s non-recorded branch (was ~735). _prepare_compiler_toolchainrunsruntime_patches.apply()(raises PreparationError on torch/triton version mismatch) and_set_triton_libdevice_path()underconfig.patch(emulate_precision_casts=...).- Import order:
ignition/cli/serve.py:14importsignition.planningat module import; call sitesenvironment.apply(...)are at serve.py:211/322/476/587 (function bodies, run later). So an import of serve.py runs the toolchain preparation before the configured environment (CUDA_HOME, TRITON_CACHE_DIR, CUDA_VISIBLE_DEVICES) is set.ignition/preparation/tuning.pyis imported by ~45 component modules + fixtures + recipes (search confirmed). - Whether a wrong libdevice is actually latched depends on
_set_triton_libdevice_pathinternals (torch/b12x), which I did not read; the PR's new "import" test (tests/preparation/test_toolchain.py:16,46-49,76-77) does NOT call environment.apply and pops TRITON_LIBDEVICE_PATH, so ordering vs configuration is untested. - Practically:
env -unot needed; a pre-configured CUDA_HOME in the parent environment masks the bug in test tooling — exactly why the test can pass while CLI ordering is wrong. - Rebasing matters concretely: main's tuning.py moved (main:
_prepare_compiler_toolchainat 53-66, call at 108, declare at 799 with call at 804), so the PR's hunks need re-resolution. Severity: real, low-risk-to-fix, but affects ALL entry points process-wide → should be fixed before merge; not a GPU-kernel question, so hardware testing does not settle it (a unit test + import-order test does).
#3 [medium] Component-half defects (verified where possible)
Component-half facts verified at pr/231:
linear.py:89-96flare::bmm_outcustom op + fake: PR removes its only caller (nowbf16_bmm.execute), repo-wide search forbmm_outreturns only this pair plus the unrelated still-usedflare::sm103_bmm_out(linear.py:452,463-469). Dead code, must be deleted before merge OR before rehoming.bf16_bmm.py:108compile_plan._NATIVE_JITS.add(_bmm_kernel)inside@program_cache-decoratedcompile_bmm(line 99) → registration only after a cache miss; siblings register at module scope (sm103_projection.py:258, moe_sm103.py:357/387 per reviewers). Functional risk depends on b12x internals (external, pinned).bf16_bmm.py:174input_factory(source, output, storage=...)omitssession=session→fixtures/resources.py:30-33skipssession.release_benchmark_cache(); memory-only divergence, not a correctness break (owners tuple retains storage).bf16_bmm.py:120-123per-call shape/stride revalidation duplicatesquery_from_call(:142-153), runs every replay; sibling components validate at declaration.query_from_callnewly rejects layouts torch.bmm accepted (16-byte-aligned bases, contiguous source/output rows, K-/N-contiguous weight). Not reachable on main (linear.py gone) but would be a behavioral regression if rehomed onto old callers; open PR #471 rewrites the same class with the opposite (staging copy) stride policy.bf16_bmm.py:176-179hand-rolled PreparedCall duplicatesignition/preparation/fixtures/bf16_gemv.py:10-16(benchmark_call uses bias kwarg).- Docstrings: module docstring claims FP32 accumulate + one BF16 rounding as the operator invariant, but champion tactic is
torch.bmm(may use reduced-precision BF16 reduction by default). Prose nit; must be reworded before the claims land. None of these are GPU-kernel defects; all are code-structure/dead-code/doc items fixable without hardware.