Repository navigation
Add deferred multimodal GGUF architecture cohort - #598
Conversation
Performance Comparison
|
3d689f4 to
e9d5748
Compare
Audit the remaining VLM-specific text architectures from the pinned llama.cpp census and register them as explicit pre-config deferrals. Record exact loader tensor unions, quant sidecar ownership, and companion target identities without expanding runtime projector support. Add fail-closed registry, closure, pairing, builder, and documentation coverage for the cohort. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 3360a853-8f08-4350-ae5e-cec390516475 Signed-off-by: Justin Chu <[email protected]>
985c553 to
b835949
Compare
There was a problem hiding this comment.
Pull request overview
This PR expands the pinned llama.cpp GGUF architecture census coverage for multimodal text backbones by explicitly registering the remaining VLM-emitted text general.architecture strings as fail-closed deferrals (rather than allowing accidental aliasing to existing text-only graphs). It also records suffix-exact loader closures (or the strongest mechanically provable converter inventory) and documents/validates exact text↔mmproj pairing targets without changing any existing projector support verdicts.
Changes:
- Extend the pinned upstream architecture payload/schema to record tensor-closure and converter-inventory status, and vendor suffix-exact conditional loader unions for the deferred VLM text cohort.
- Add explicit deferred
GGUFArchitectureSpecentries (and tests) for the remaining multimodal text backbones so they refuse before config/graph construction with actionable reasons. - Record
clipprojector → target text-architecture identities in the mmproj registry (still deferred), plus tests and documentation updates reflecting the new deferral cohort and target pairing metadata.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/mobius/integrations/gguf/_upstream.py | Adds status fields to UpstreamArchitecture and threads them through payload parsing for pinned census provenance. |
| src/mobius/integrations/gguf/_upstream_gap_test.py | Adds an explicit pinned VLM text-architecture set and enforces that each is registered (coverage honesty guard). |
| src/mobius/integrations/gguf/_upstream_data/llamacpp_pin.json | Vendors suffix-exact tensor-name closures (and status annotations) for audited deferred VLM text architectures; marks PaddleOCR as converter-family inventory only. |
| src/mobius/integrations/gguf/_mmproj_registry.py | Extends deferred mmproj specs with target_architectures to pin exact text↔sidecar targeting without implying support. |
| src/mobius/integrations/gguf/_mmproj_registry_test.py | Tests that deferred VLM-related projector specs record exact target identities while remaining unsupported and loader-data-free. |
| src/mobius/integrations/gguf/_builder_test.py | Ensures the newly audited deferred cohort fails before graph construction (no downstream stages reached). |
| src/mobius/integrations/gguf/_arch_registry.py | Adds explicit deferred architecture specs and detailed refusal reasons for the remaining multimodal text-backbone cohort. |
| src/mobius/integrations/gguf/_arch_registry_test.py | Adds comprehensive tests asserting suffix-exact loader inventories, non-aliasing, and fail-before-config behavior for the new cohort. |
| docs/api/build_from_gguf.md | Updates the public GGUF build documentation and tables to include the new deferred architectures and projector target identities. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
8d9af256337d1a501250f9bbf4c0859a654bddd6Validation
python -m pytest src/mobius/integrations/gguf tests/gguf_test.py -q --tb=short— 2046 passedpython -m pytest tests/build_graph_test.py tests/cli_test.py src/ -q -k "not phi4mm and not apply_weights_unknown and not glm_moe_dsa" --tb=short -n auto— 6474 passed, 52 skippedlintrunner f --output oneline --all-fileslintrunner --output oneline --all-filesStack
Targets
justinchuby-add-remaining-moe-gguf/ PR #597.