Skip to content

Commit d4791fa

Browse files
justinchubyCopilot
andcommitted
Include runtime context in blocker evidence
Serialize the execution provider and render the pinned ONNX Runtime version and provider in generated blocker documentation so the fail-closed result is fully reproducible. Co-authored-by: Copilot App <[email protected]> Copilot-Session: d43e3a84-d124-4056-821c-e0c0ca3f3f97 Signed-off-by: Justin Chu <[email protected]>
1 parent f24f5c8 commit d4791fa

5 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎docs/api/build_from_gguf.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Runtime support above is independent from tokenizer materialization support belo
7979

8080
| Evidence ID | Pinned candidate | Bounded result | Withheld runtime claims |
8181
|---|---|---|---|
82-
| `nemotron-h-moe-30b-iq2-xxs-runtime-blocker` | `bartowski/nvidia_Nemotron-3-Nano-30B-A3B-GGUF@1fc64d5b160654ec892df2708aa893b0e96e6491`<br>`nvidia_Nemotron-3-Nano-30B-A3B-IQ2_XXS.gguf`<br>18,010,755,296 B<br>`f3da710c046ce7cc6ff28a9b5f1a9153ac72e3f60603e51c7bb679d80716b58a` | config/tokenizer `nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16@bf77c3174f68ad409e1c2aa60daeb46e32d1c606`; GGUF tokenizer metadata `6089bcaf08b3fe0d49379ca7e85bd3c93e8705bac6130636425c159212971225`; result=blocked; 401 tensors / 31,577,940,288 parameters; ort-genai 0.15.2; The smallest model GGUF in the pinned 29-file repository revision is 18,010,755,296 bytes, above the 16 GiB bounded-artifact policy; explicit float16/float32 weights require 63,155,880,576/126,311,761,152 bytes.<br>The normal optimized CPU export has 37,142 nodes (40,167 before Mobius optimization) and 6,028 MatMul nodes because its truthful ReLU2 routed experts remain an ONNX loop. ORT 1.29 MoE/QMoE exposes ReLU but not ReLU2. QMoE has separate router_probs/router_weights for correction-biased selection with unbiased sigmoid mixing, while shared experts and optional latent projections can surround it; those are not fused-op blockers. The pinned 30B has no latent projection. QMoE does not support GGUF IQ2_XXS storage, and Mobius has no proven IQ2_XXS packer/kernel path.<br>ORT GenAI 0.15.2 discovers sparse/nonconsecutive KV and conv/recurrent slots, but derives recurrent_state names while this export uses ssm_state, does not beam-reorder recurrent state, and rejects nonzero recurrent-state rewind.<br>The GGUF tokenizer declares pre=pixtral, whose compiled llama.cpp behavior is not serialized; exact ORT tokenizer materialization is unavailable. | cached decode and deterministic generation, full-logit parity, package and report roundtrip, state replay, rollback, and reorder, tensor value closure |
82+
| `nemotron-h-moe-30b-iq2-xxs-runtime-blocker` | `bartowski/nvidia_Nemotron-3-Nano-30B-A3B-GGUF@1fc64d5b160654ec892df2708aa893b0e96e6491`<br>`nvidia_Nemotron-3-Nano-30B-A3B-IQ2_XXS.gguf`<br>18,010,755,296 B<br>`f3da710c046ce7cc6ff28a9b5f1a9153ac72e3f60603e51c7bb679d80716b58a` | config/tokenizer `nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16@bf77c3174f68ad409e1c2aa60daeb46e32d1c606`; GGUF tokenizer metadata `6089bcaf08b3fe0d49379ca7e85bd3c93e8705bac6130636425c159212971225`; result=blocked; 401 tensors / 31,577,940,288 parameters; ORT 1.29.0 / CPUExecutionProvider; ort-genai 0.15.2; The smallest model GGUF in the pinned 29-file repository revision is 18,010,755,296 bytes, above the 16 GiB bounded-artifact policy; explicit float16/float32 weights require 63,155,880,576/126,311,761,152 bytes.<br>The normal optimized CPU export has 37,142 nodes (40,167 before Mobius optimization) and 6,028 MatMul nodes because its truthful ReLU2 routed experts remain an ONNX loop. ORT 1.29 MoE/QMoE exposes ReLU but not ReLU2. QMoE has separate router_probs/router_weights for correction-biased selection with unbiased sigmoid mixing, while shared experts and optional latent projections can surround it; those are not fused-op blockers. The pinned 30B has no latent projection. QMoE does not support GGUF IQ2_XXS storage, and Mobius has no proven IQ2_XXS packer/kernel path.<br>ORT GenAI 0.15.2 discovers sparse/nonconsecutive KV and conv/recurrent slots, but derives recurrent_state names while this export uses ssm_state, does not beam-reorder recurrent state, and rejects nonzero recurrent-state rewind.<br>The GGUF tokenizer declares pre=pixtral, whose compiled llama.cpp behavior is not serialized; exact ORT tokenizer materialization is unavailable. | cached decode and deterministic generation, full-logit parity, package and report roundtrip, state replay, rollback, and reorder, tensor value closure |
8383

8484
## Remaining route work
8585

‎src/mobius/integrations/gguf/_docs.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ def _runtime_blocker_evidence_table() -> str:
341341
f"GGUF tokenizer metadata `{evidence.tokenizer_metadata_sha256}`; "
342342
f"result={evidence.result}; {evidence.tensor_count} tensors / "
343343
f"{evidence.logical_parameter_count:,} parameters; "
344+
f"ORT {evidence.onnxruntime_version} / {evidence.execution_provider}; "
344345
f"{evidence.runtime} {evidence.runtime_version}; {blockers} | {withheld} |"
345346
)
346347
return "\n".join(rows)

‎src/mobius/integrations/gguf/_quant_capabilities.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ def quantization_capability_matrix() -> dict[str, object]:
397397
"runtime": evidence.runtime,
398398
"runtime_version": evidence.runtime_version,
399399
"onnxruntime_version": evidence.onnxruntime_version,
400+
"execution_provider": evidence.execution_provider,
400401
"runtime_schema_issue": evidence.runtime_schema_issue,
401402
"result": evidence.result,
402403
"blockers": list(evidence.blockers),

‎src/mobius/integrations/gguf/_quant_capabilities_test.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ def test_runtime_blocker_candidate_is_metadata_only_and_not_budgeted_as_support(
4848
assert record["graph"]["matmul_count"] == 6_028
4949
assert record["graph"]["state_slots"]["mamba2.ssm_state"] == 23
5050
assert record["runtime_schema_issue"].endswith("/issues/605")
51+
assert record["onnxruntime_version"] == "1.29.0"
52+
assert record["execution_provider"] == "CPUExecutionProvider"
5153
assert "full-logit parity" in record["withheld_checks"]
5254
assert "separate router_probs/router_weights" in record["blockers"][1]
5355
assert (

‎testdata/evidence/gguf_quantization_capabilities.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2498,6 +2498,7 @@
24982498
"sha256": "dd9fa380ac107b0477db5a26108db9febe6378e7bb3966a107944853ec4f76f8"
24992499
},
25002500
"evidence_id": "nemotron-h-moe-30b-iq2-xxs-runtime-blocker",
2501+
"execution_provider": "CPUExecutionProvider",
25012502
"expert_count": 128,
25022503
"experts_per_token": 6,
25032504
"explicit_float16_bytes": 63155880576,

0 commit comments

Comments
 (0)