You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ce6560
Browse filesBrowse the repository at this point in the historyBrowse files
Move mutation discriminators into proposal, cache, and rollback execution; replay the complete target history from empty cache; and bound final speculative rounds so sessions, counters, and caches never advance past max_new_tokens. Regenerate both immutable direct-ORT traces under the corrected semantics.
Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
Copy file name to clipboardExpand all lines: docs/api/build_from_gguf.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ a proven graph: the API returns the model, emits one structured warning, omits a
33
33
and persists the exact component disposition in `export_report.json`. Lossy qtype
34
34
conversion remains in `quantization_report.json`; use `keep_quantized=False` for float.
35
35
36
-
For target-coupled DFlash/EAGLE3, use `build_draft_pair_from_gguf`, `write_draft_pair_package`, and `DraftPairRunner`; the package carries independent caches, required target bridges, and an MTP-aligned `draft_runtime_status.json`, while `runtime_unvalidated` warns about higher-level runtimes without gating direct ORT. CLI: `mobius build-gguf draft.gguf --target-gguf target.gguf --target-config target-config --output output`. The committed real-pair evidence also uses a test-only direct ORT coordinator that reads remapping metadata from the raw immutable draft GGUF and does not import `DraftPairRunner` or its transition helpers. Per-round DFlash and EAGLE3 traces bind proposal/remap tokens, proposal-logit hashes, accepted prefixes, correction tokens, target replay, target/draft cache states, final counters, and four mutation discriminators. Beam reorder is reported unsupported for the batch-size-one reference coordinator rather than inferred.
36
+
For target-coupled DFlash/EAGLE3, use `build_draft_pair_from_gguf`, `write_draft_pair_package`, and `DraftPairRunner`; the package carries independent caches, required target bridges, and an MTP-aligned `draft_runtime_status.json`, while `runtime_unvalidated` warns about higher-level runtimes without gating direct ORT. CLI: `mobius build-gguf draft.gguf --target-gguf target.gguf --target-config target-config --output output`. The committed real-pair evidence also uses a test-only direct ORT coordinator that reads remapping metadata from the raw immutable draft GGUF and does not import `DraftPairRunner` or its transition helpers. Per-round DFlash and EAGLE3 traces bind proposal/remap tokens, proposal-logit hashes, accepted prefixes, correction tokens, target replay, target/draft cache states, final counters, and four execution-mutating discriminators. Target replay starts from an empty cache, and final speculative rounds never process past the requested token count. Beam reorder is reported unsupported for the batch-size-one reference coordinator rather than inferred.
37
37
38
38
Packed MatMulNBits storage may use a native op or portable nibble unpack,
39
39
`DequantizeLinear`, and float `MatMul`; neither implies dense storage or a specific kernel.
@@ -100,7 +100,7 @@ network-free selection, budget, exclusions, and fail-closed candidate reasons ar
100
100
| `hy3-iq1-m-mtp-runtime-unvalidated` | combined: `AngelSlim/Hy3-GGUF@31b453f4d9b647c74e4c4f5cba632eb512332c91/Hy3-IQ1_M-mtp.gguf` 91,756,066,272 B `c1fe984fef6f23fd9eb144e41ce6824e3941ed0a8b6b8f9f3e63da0c2a1320c2`<br>total 91,756,066,272 B; above 16 GiB<br>target-only discriminator: `Hy3-IQ1_M.gguf` 89,446,312,384 B `8c4195718dc24384a38de1c492f4bca7d21447789714d232b0a4d9cd0bb0c806` | `tencent/Hy3@a960ebc3da325ba167f069f76c41eb62c9280d22` `0c9daab42bff9cce1b6f058b10d7b730f76d583e583e28ad56e92b36373246f0` | `tencent/Hy3@a960ebc3da325ba167f069f76c41eb62c9280d22`; separately deferred; metadata `bff10dd3b99c0d4098b28fbeb1af46804184cefc2920895969b6f1ad2e548fa3` | status=runtime_unvalidated; graph/package hashes unclaimed; ORT 1.29.0 `CPUExecutionProvider`; ort-genai 0.15.2 source `ed5f4e87147731e5b07810f9f5c90103b3603cdf`; The smallest pinned public complete Hunyuan-V3 MTP artifact is 91,756,066,272 bytes, above the 17,179,869,184-byte bounded-artifact policy. The matching target-only discriminator is 89,446,312,384 bytes.<br>ORT GenAI 0.15.2 exposes no two-model draft/target binding, independent target/MTP cache orchestration, proposal rollback, or acceptance statistics.<br>The embedded tokenizer uses pre=hunyuan-dense, whose compiled llama.cpp behavior is not serialized in GGUF. This is separate from the real-artifact budget and downstream two-model runtime validation gaps.<br>Bounded headers prove that the -mtp file has 81 physical blocks with trailing block 80 while the target-only file has exactly 80 blocks. No payload values, standalone MTP forward, graph, or package is promoted as runtime evidence. |
101
101
| `qwen3.6-27b-mtp-runtime-unvalidated` | combined: `localweights/Qwen3.6-27B-MTP-Q4_K_M-Q8nextn-GGUF@bdc8bc1ca4d45e1152d54c4e5f1389bc7bf6e439/Qwen3.6-27B-MTP-Q4_K_M-Q8nextn.gguf` 16,998,719,584 B `6cdb1aabb6ee711938df4192938b51228df9274f01c8d7a5ff404915ad342a7c`<br>total 16,998,719,584 B; within 16 GiB<br>split: `ggml-org/Qwen3.6-27B-GGUF@8a7ee08e8b9bfb857107ecc25a5599d2f38b76f8/Qwen3.6-27B-Q4_K_M.gguf` 19,095,766,304 B `65b753ea835627f7b511143c6ceb976525c7f21f5df8c664bc0a9c23d1c49921`, `ggml-org/Qwen3.6-27B-GGUF@8a7ee08e8b9bfb857107ecc25a5599d2f38b76f8/mtp-Qwen3.6-27B-Q4_0.gguf` 1,680,270,560 B `3d593f9e2788d59bb30d6024706b1efd5219fea466b6397c46159e3540937173`<br>total 20,776,036,864 B; above 16 GiB | `Qwen/Qwen3.6-27B@6a9e13bd6fc8f0983b9b99948120bc37f49c13e9` `69db4eb7196bc8190813231b3018ca05d8c2e3abc7b1af19d55c157af44a9d9c` | `Qwen/Qwen3.6-27B@6a9e13bd6fc8f0983b9b99948120bc37f49c13e9`; separately deferred; metadata `8d1070c727a7e6a03726687aa5746acece0255060a2a61a905c4c2285d353b68` | status=runtime_unvalidated; graph/package hashes unclaimed; ORT 1.29.0 `CPUExecutionProvider`; ort-genai 0.15.2 source `ed5f4e87147731e5b07810f9f5c90103b3603cdf`; reduced direct-ORT coordinator {'accepted': 1, 'proposal_steps': 51, 'rejected': 50, 'rollbacks': 50}; ORT GenAI 0.15.2 constructs one Model per Generator and exposes no two-model draft/target binding, independent MTP-cache orchestration, proposal accept/reject rollback, or observable acceptance statistics. Its pinned release matrix places speculative decoding on the roadmap; Generator.rewind_to only rewinds the single target generator and is not an MTP acceptance loop.<br>The embedded tokenizer uses pre=qwen35, whose compiled llama.cpp behavior is not serialized in GGUF. This tokenizer limitation is separate from downstream two-model runtime validation.<br>The under-budget combined artifact proves immutable header, physical trailing block, and layout identity only. No payload values, production tensor mapping, quantized storage execution, standalone MTP forward, graph, or package is promoted as runtime evidence. A separate tiny direct-ORT coordinator exercises target/MTP cache threading, accept/reject rollback, replay, reorder, and target-only equality without upgrading the real-artifact status.<br>The 2026-08-28 qualification transfer fetched 2,167,418,880 of 16,998,719,584 bytes before measured throughput implied a multi-hour transfer ahead of any 32 GiB-host build/runtime attempt. The partial payload was deleted; this operational deferral does not restrict export support. |
102
102
103
-
Pinned DFlash/EAGLE3 source, artifact, tokenizer, graph, and package hashes live in `testdata/evidence/gguf_draft_runtime_evidence.json`: `dflash`: 32 target-only-equal greedy tokens; 24/105 accepted; 4 multi-token rounds; 7 rollbacks; source cosine=0.999879, relative-L2=0.005406; `eagle3`: 32 target-only-equal greedy tokens; 21/44 accepted; 7 multi-token rounds; 10 rollbacks; source tensors exact. Both use separate target/draft caches; higher-level runtime=`runtime_unvalidated`.
103
+
Pinned DFlash/EAGLE3 source, artifact, tokenizer, graph, and package hashes live in `testdata/evidence/gguf_draft_runtime_evidence.json`: `dflash`: 32 target-only-equal greedy tokens; 18/75 accepted; 3 multi-token rounds; 5 rollbacks; source cosine=0.999879, relative-L2=0.005406; `eagle3`: 32 target-only-equal greedy tokens; 20/43 accepted; 7 multi-token rounds; 10 rollbacks; source tensors exact. Both use separate target/draft caches; higher-level runtime=`runtime_unvalidated`.
104
104
105
105
Runtime support above is independent from tokenizer materialization support below.
0 commit comments