justinchuby commited on
Commit
660b03b
·
verified ·
1 Parent(s): b5cc9f2

Add Rust-validator evidence (rust_validation.json); note authoritative #1716 validate_metadata pass

Browse files
README.md CHANGED
@@ -46,8 +46,9 @@ hybrid cache as two state-service groups — `full_attention` (real owner layers
46
  **4/9/14**) and `sliding_attention` (the 12 sliding owners, `evictable_prefix:
47
  true`) — over the **real** graph ports (`past_key_values.N.key` /
48
  `present.N.key`), with the 20 shared-KV layers correctly owning no cache. It is
49
- **validated against the onnx-genai PR #1716 schema**
50
- (`schema/inference_metadata.schema.json`). Per-layer head_dim (256/512) lives in
 
51
  the graph IO. `inference_metadata.mobius.yaml` is the raw `mobius --runtime
52
  onnx-genai` emitter output (its own `schema_version: 1.0`) and `policies/` holds
53
  that workflow's sampler / termination / cache-update graphs.
 
46
  **4/9/14**) and `sliding_attention` (the 12 sliding owners, `evictable_prefix:
47
  true`) — over the **real** graph ports (`past_key_values.N.key` /
48
  `present.N.key`), with the 20 shared-KV layers correctly owning no cache. It is
49
+ **validated with the authoritative onnx-genai PR #1716 `validate_metadata` Rust
50
+ validator** (cross-references + real ONNX graph ports, not just JSON-Schema; see
51
+ `evidence/rust_validation.json`). Per-layer head_dim (256/512) lives in
52
  the graph IO. `inference_metadata.mobius.yaml` is the raw `mobius --runtime
53
  onnx-genai` emitter output (its own `schema_version: 1.0`) and `policies/` holds
54
  that workflow's sampler / termination / cache-update graphs.
evidence/rust_validation.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "validator": "onnx_genai_metadata validate_metadata (authoritative Rust cross-reference + graph-port validator)",
3
+ "onnx_genai_ref": "PR #1716 branch copilot/gemma4-e2b-metadata @ ca8d9d1",
4
+ "note": "jsonschema (draft 2020-12) checks structure only; this Rust validator additionally cross-checks that state-service alias keys are real state cells, layer pairing, rollback coverage, AND that declared component ports match the actual ONNX graph inputs/outputs.",
5
+ "results": {
6
+ "target_decoder": {"file": "onnx-genai-example-gemma4-e2b/inference_metadata.yaml", "result": "valid"},
7
+ "assistant_speculative": {"file": "onnx-genai-example-gemma4-e2b-assistant/inference_metadata.yaml (combined-package layout: target/model.onnx + model.onnx)", "result": "valid"}
8
+ },
9
+ "combined_package_layout": "The speculative workflow spans components {target, assistant}; the Rust validator enforces that all artifacts live within one package root (no symlink/.. escape) and opens each ONNX to check ports. Validated with target graph placed at target/model.onnx alongside the assistant model.onnx. The two hosting repos keep model.onnx at their roots for standalone ORT use."
10
+ }
file_sizes.tsv CHANGED
@@ -1,5 +1,5 @@
1
  path bytes
2
- README.md 4072
3
  SOURCE_LICENSE.md 321
4
  chat_template.jinja 18569
5
  evidence/gen_target_v1.py 7202
@@ -11,6 +11,7 @@ evidence/l5_generation.py 6960
11
  evidence/onnx-genai-1716-reference-decoder.yaml 11784
12
  evidence/probe_hf_shapes.py 2110
13
  evidence/runtime_limitations.json 2371
 
14
  inference_metadata.mobius.yaml 72071
15
  inference_metadata.yaml 47524
16
  model.onnx 766755
 
1
  path bytes
2
+ README.md 4171
3
  SOURCE_LICENSE.md 321
4
  chat_template.jinja 18569
5
  evidence/gen_target_v1.py 7202
 
11
  evidence/onnx-genai-1716-reference-decoder.yaml 11784
12
  evidence/probe_hf_shapes.py 2110
13
  evidence/runtime_limitations.json 2371
14
+ evidence/rust_validation.json 1178
15
  inference_metadata.mobius.yaml 72071
16
  inference_metadata.yaml 47524
17
  model.onnx 766755
package_size_bytes.txt CHANGED
@@ -1 +1 @@
1
- 10297033757
 
1
+ 10297035034