#1 [high] TMLv0 is reachable only through Inkling 2 recipes
hel. The PR's changed code is gated on ToolParserKind::TmlJson (helios/src/grammar.rs:242 dispatch to compile_content_headers; helios/src/output/pipeline.rs:78 selects TmlOutput).
Only consumer of the TMLv0 frontend in ignition: ignition/recipes/inkling2/frontend.py:42: result = c.frontend(tools=p.TML_JSON, assistant_marker="<|message_model|>", ...), wired at ignition/recipes/inkling2/frontend.py:70 (prompt_encoder=PromptEncoder.TML_V0). Contrast: GLM uses p.GLM_ARGUMENT_TAGS (ignition/recipes/glm53/contract.py:15), Qwen38 uses p.QWEN_CODER (ignition/recipes/qwen38/contract.py:24), Kimi uses p.XTML (ignition/recipes/kimi3/contract.py:22). So ChatML/DSML/XTML/GLM/Qwen/Gemma/Atem paths are all untouched at runtime.
=> The only model families that can exercise this PR's runtime change are inkling-2-small-nvfp4 and inkling-2-mini.
Checkpoint availability (ignition/recipes/inkling2/recipe.py):
- RECIPE (Small):
Checkpoint(alias="inkling-2-small-nvfp4", repository="/data/models/Inkling-2-Small-NVFP4", revision="local", stored_bytes=344_366_116_864 ...)-> a LOCAL filesystem checkpoint, not downloadable; ranks={4: ...} so requires exactly 4 GPUs. - MINI_RECIPE:
repository="thinkingmachines/Inkling-2-Mini", revision="ed40e7da625f594fc9c4990f5f66be24873c22d7", stored_bytes=19_525_870_752, device_bytes=20_263_810_112, ranks={1: ...} -> one GPU.
Hardware inventory mismatch:
- cn5 (4x RTX PRO 6000 Blackwell Max-Q 96 GiB = SM120, the exact hardware docs/model-preparation.md:1570 qualified Small on) stages NO Inkling checkpoint: models are facebook/dinov2-base, local-inference-lab/GLM-5.3-Flash-NVFP4, nvidia/GLM-5.3-Flash-NVFP4, timm/vit_base_patch14_dinov2.lvd142m. All non-TMLv0.
- cn7 (1x GB10 = SM121, the qualified target for Mini per docs/model-preparation.md:1660,1709) stages incoai/Qwen3.8-27B-DFlash2, nvidia/Qwen3.8-27B-NVFP4, nvidia/Qwen3.8-Flash-Next-FP4-Local. All non-TMLv0.
- Job scratch is 16 GiB on both hosts. Inkling-2-Mini needs 19.5 GB checkpoint + 20.26 GB prepared core (device_bytes); Small needs 344 GB. Neither fits a 16 GiB scratch, so neither core can be prepared inside a job on cn5 or cn7.
#3 [high] Pre-test assessment for PR #457 (2026-11-24): do not refer to hardware yet
Recommendation: do NOT refer PR #457 to hardware testing yet
Reason 1 (hard): no TMLv0-servable core is obtainable on cn5 or cn7
- Changed code is TMLv0-only: dispatch on ToolParserKind::TmlJson (helios/src/grammar.rs:242; strict.rs:1465), parser TmlOutput (helios/src/output/pipeline.rs:78), envelope markers (pipeline.rs:170). Only consumer in ignition: ignition/recipes/inkling2/frontend.py:42,70 (tools=p.TML_JSON, prompt_encoder=TML_V0). GLM=GLM_ARGUMENT_TAGS, Qwen38=QWEN_CODER, Kimi=XTML -> cn5/cn7 staged models (GLM/Qwen/dinov2) cannot exercise this PR at all.
- Inkling 2 Small: checkpoints=(alias "inkling-2-small-nvfp4", repository="/data/models/Inkling-2-Small-NVFP4", revision="local", stored_bytes=344_366_116_864), ranks={4: ...} (ignition/recipes/inkling2/recipe.py:57-66). Local-only path; 344 GB checkpoint, 351 GB core disk (docs/model-preparation.md:1627). Not present on cn5; not stageable.
- Inkling 2 Mini: repository="thinkingmachines/Inkling-2-Mini", revision ed40e7da625f594fc9c4990f5f66be24873c22d7, stored_bytes=19_525_870_752, device_bytes=20_263_810_112, ranks={1: ...} (recipe.py:73-81). Needs ~40 GB disk (checkpoint + prepared core) vs 16 GiB job scratch on cn5/cn7 -> cannot prepare or store in a job.
- Hardware facing: cn5 (4x RTX PRO 6000 Blackwell Max-Q, SM120) is exactly Small's qualified host (docs/model-preparation.md:1570) but has no Inkling checkpoint. cn7 (1x GB10, SM121) is Mini's qualified host (docs/model-preparation.md:1660,1709) but has neither checkpoint nor scratch.
- Enabling step (infra, not test): stage thinkingmachines/Inkling-2-Mini @ed40e7d on cn7 and prepare the mini core on the host (outside job scratch); then the plan below is feasible on 1 GB10.
Reason 2 (code): issues that would change what a hardware test validates
- helios/src/output/tml.rs:282-288,399-401: guard keys on header text, not "nothing emitted".
<|message_model|><|content_text|><|end_message|>(and JSON_CALL with empty body) still finish Ok -> status "completed" with empty output; emit() returns early at tml.rs:207-209, call_or_text at tml.rs:335-337. Same user-visible symptom class as the bug being fixed. Needs an explicit decision (document as legitimate, or key on AnswerState at EOS) before testing. - helios/src/grammar/strict.rs:1599-1603: strict path keeps N-way alternation (@payload_0|...|@payload_k) that grammar.rs:381-391 deliberately factors away; untested above 2 tools; bounded only by 131_072 parser limit (grammar.rs:176-181) and MAX_GRAMMAR_BYTES=262_144 (grammar.rs:22; strict.rs:2443-2455). Resolvable with a CPU test at 178 tools - no GPU needed.
- No docs/api.md update for a user-visible change (completed -> response.failed/HTTP 500 for every TMLv0 request, grammar or not) and for unnamed tool headers / preamble-then-tools. docs/api.md:585-602, 443-444, 621-625. Contract to test against is unstated.
- Test-side evidence gaps (would be fixed before paying for hardware): duplicate #[ignore] test (tml_tests.rs:393-439 vs 246-282); self-referential assertion (tml.rs:626-639); inline token IDs bypass reference_parse fixture (generate_inkling2_fixtures.py:399-417); 4th copy of wire-splitter (strict.rs:4572-4588).
Cheap validation that needs no GPU (do this first)
- Default-path Rust suite:
cargo test --locked --release --manifest-path helios/Cargo.toml --target-dir flare-cli/target --features runtime-core,server(CI: .github/workflows/native-serving.yml:63; AGENTS.md:311). Exercises output::tml::tests:: and grammar tests. Currently NO checks reported on head aacbca1. - Snapshot suite needs only the Inkling tokenizer.json (~tens of MB, fits 16 GiB scratch): FLARE_INKLING2_TEST_SNAPSHOT= cargo test ... -- --ignored --test-threads=1 server::request::tml_tests:: (tml_tests.rs:9-12,40).
- Add CPU test: compile+advance strict TMLv0 grammar with 178 tools, record compile time/acceptance (answers the Architecture/Correctness open question).
If later approved, minimal hardware plan (cn7, 1x GB10, Mini, prefix cache on)
A. Malformed-header failure: force a reasoning-only turn ending <|message_model|>bash<|end_message|><|content_model_end_sampling|> -> Chat and Responses, buffered and streamed: expect HTTP 500 / response.failed (server_error), not status "completed".
B. No false failures: ~10 ordinary generations (text, reasoning-only, tool round trip) -> zero new 500s.
C. Unnamed header tool call accepted: <|message_model|><|content_invoke_tool_json|>{"name":...,"args":{...}}<|end_message|> with tool_choice auto -> function_call, not raw JSON in content.
D. Preamble then tools accepted: text answer frame then tool frames -> message + function_call.
E. Strict TMLv0 (docs/TODO.txt:25-28): strict: true on Chat Completions and Responses, buffered and streamed, with max_tokens / max_output_tokens truncation -> truncated call omitted + output limit; EOS inside a call errors (docs/api.md:621-625); required tool choice fails when no call completes.
F. Regression: non-strict TMLv0 tool call and structured response_format still pass (tests/server/test_inkling2_mini.py:120-135 analogues); no throughput A/B needed (change adds no compute; no throughput claim in PR).
#4 [high] Lens consensus + exact locations for PR #457 pre-test report
Cross-checked for the report (all read at head aacbca1):
- PR has zero human reviews, zero labels, no CI checks (pr_comments: only the case-file bot note). Default suite therefore unverified.
- Safety screen: all_clear; no injected instructions in diff/description.
- Every lens says "no blocking issues"; should-fix only:
- Architecture/Prose: docs/api.md not updated (docs/api.md:585-602, 443-444, 621-625); strict.rs:1599-1603 N-way alternation vs grammar.rs:381-391 enum.
- Correctness: strict alternation untested >2 tools; EOS guard keys on header text not "nothing emitted" (tml.rs:282-288, 399-401 + emit early return tml.rs:207-209, call_or_text tml.rs:335-337); nit: tool frame directly after END with no MODEL restart accepted by parser (tml.rs:250-258) but rejected by new grammars (grammar.rs:405, strict.rs:1616-1618).
- Conventions/Simplicity: duplicate #[ignore] test tml_tests.rs:393-439 vs 246-282; self-referential test tml.rs:626-639; hand-inlined token IDs instead of generate_inkling2_fixtures.py reference_parse case (generator at tests/frontend/generate_inkling2_fixtures.py, reference_parse recorded); 4th copy of wire-splitter strict.rs:4572-4588.
- Prose: GPU evidence names TML-d24-varloop-research, rejected by ignition/recipes/inkling2/config.py:88-92 and only in closed PR #468; FLARE_INKLING2_TEST_SNAPSHOT=... placeholder; agentic_suite.py absent from repo.