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 c98ee9e
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
- add a dedicated PLaMo2 graph with alternating Mamba1 selective-scan
and local-attention layers
- implement fused per-head `[z_h|x_h]` projection, normalized B/C/dt
recurrence, fused QKV/QK norms/RoPE, fused SwiGLU, and sandwich residual
norms
- add heterogeneous recurrent/KV state threading with bounded
sliding-window KV caches and deterministic replay/reorder/rollback
semantics
- add strict GGUF v3 metadata/tensor validation, exact shape-derived
attention widths, folded-norm handling, and exact float/Q4 preservation
rules
- register the architecture, document support, and defer ORT GenAI
packaging to #605
## Reference pins
- llama.cpp: `8d9af256337d1a501250f9bbf4c0859a654bddd6`
- `pfnet/plamo-2-1b`: `92c75fd6eea9018bcb9c33ee8921589febe071fa`
## Validation
- `2598 passed` — full GGUF suite
- `26 passed` — focused PLaMo2 graph/model/import suite
- `7107 passed, 52 skipped` — broad non-integration suite; only the two
pre-existing `glm_moe_dsa` shape/checker failures remain
- focused lint passes
- pinned full 1B configuration builds (16 layers, 249 initializers, 33
outputs)
- two independent reviews plus a final verification review completed
with all findings resolved
## Runtime verdict
Graph construction and GGUF import are supported. Released ORT GenAI
cannot faithfully represent the heterogeneous recurrent/KV state ABI, so
runtime packaging remains deferred to #605. The smallest public
checkpoint is approximately 5.16 GB; this PR does not claim
real-checkpoint full-logit or deterministic-generation parity.
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
| Tokenizer pre identifiers | 87 | 56 semantic groups; all default to deferred and become exact-copy only with a validated embedded `tokenizer.huggingface.json`|
@@ -457,7 +457,7 @@ before graph construction or durable output.
457
457
|`phi3`| — | model=`phi3`; tensor=`phi3`| not claimed | config=supported; tensor_map=supported; graph=supported; runtime=deferred; quantized_import=supported | Config extraction, exact tensor-name closure, and a full synthetic GGUF graph build are covered, but no representative real-weight GGUF has yet passed ORT parity or generation validation. Runtime packaging remains deferred until that evidence exists. |
458
458
|`phimoe`| — | model=`phimoe`; module=`phimoe_gguf`; tensor=`llama`+`phi3`+`moe_extras`| not claimed | config=supported; tensor_map=supported; graph=supported; runtime=deferred; quantized_import=supported | Config extraction, exact tensor-name closure, and a full synthetic GGUF graph build are covered, but no representative real-weight GGUF has yet passed ORT parity or generation validation. Runtime packaging remains deferred until that evidence exists. |
459
459
|`plamo`| — | none (fails before config extraction) | audited-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | PLaMo uses one RMSNorm feeding attention and FFN in parallel, fixed grouped-query geometry, and converter-specific Q/output projection shuffles. Sequential Llama topology and direct external tensor reuse would both be incorrect. |
460
-
|`plamo2`| — |none (fails before config extraction) | not claimed | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | The pinned PLaMo2 loader requires a dedicated fused-QKV Mamba1/attention graph with sandwich norms and offset transforms that Mobius does not have. |
460
+
|`plamo2`| — |model=`plamo2`; tensor=`plamo2`| not claimed | config=supported; tensor_map=supported; graph=supported; runtime=deferred; quantized_import=supported | The dedicated graph and GGUF importer preserve PLaMo2's alternating Mamba1/attention layers and mixed state ABI, but released ORT GenAI cannot represent heterogeneous per-layer state. Runtime packaging remains deferred to onnxruntime/mobius#605. |
461
461
|`plamo3`| — | none (fails before config extraction) | audited-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | PLaMo3 requires fused QKV and fused SwiGLU, four norm sites with architecture-specific offset transforms, Q/K norm before RoPE, and alternating full/sliding attention state. Mobius has no exact iSWA schedule or value transform. |
462
462
|`plm`| — | none (fails before config extraction) | audited-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | PLM uses latent KV projections and normalization with shared RoPE keys, expanded K/V state, tied output, and a non-gated ReLU-squared FFN. Generic MLA cache dimensions do not supply the missing graph or tensor contract. |
463
463
|`pockettts`| — | none (fails before config extraction) | not claimed | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | The primary GGUF is only PocketTTS's transformed causal CALM backbone: its embedding table contains folded learned conditioning rows and its duplicated embedding output is not a semantic LM head. Voice encoding, continuous 32-D flow generation, EOS scoring, and the stateful 24-kHz Mimi decoder live in a required pockettts_spkenc/pockettts_gen mmproj bundle that Mobius cannot import. Registering the backbone as text generation or TTS would expose the wrong I/O contract, so standalone conversion is refused before graph construction. |
@@ -583,9 +583,11 @@ real-artifact full-logit and stateful-generation parity.
583
583
-`static_cache=True` and non-hybrid task dispatch are rejected for these mixed
584
584
state ABIs.
585
585
586
-
`minimax-01` and `plamo2` are deferred before config extraction. MiniMax-01's
587
-
pinned Lightning schedule and decay/scaling semantics do not match the current
588
-
graph; PLaMo2 needs a dedicated fused-QKV Mamba1/attention graph.
586
+
`minimax-01` remains deferred before config extraction because its pinned
587
+
Lightning schedule and decay/scaling semantics do not match the current graph.
588
+
PLaMo2 has a dedicated alternating Mamba1/attention graph and strict GGUF
589
+
tensor closure. Its mixed per-layer recurrent/KV runtime package remains
590
+
deferred to [`onnxruntime/mobius#605`](https://github.com/onnxruntime/mobius/issues/605).
589
591
590
592
Falcon-H1 graph/import support is dedicated rather than aliased to Falcon. Every
591
593
layer exposes `(key, value, conv_state, ssm_state)` in that order. Static cache is
0 commit comments