Skip to content

Add deferred multimodal GGUF architecture cohort - #598

Merged
justinchuby merged 1 commit into
mainfrom
justinchuby-add-multimodal-gguf-cohort
Aug 25, 2026
Merged

justinchuby merged 1 commit into
mainfrom
justinchuby-add-multimodal-gguf-cohort

Conversation

@justinchuby

Copy link
Copy Markdown
Member

Summary

  • audit the 11 remaining VLM-specific text architectures from llama.cpp SHA 8d9af256337d1a501250f9bbf4c0859a654bddd6
  • register explicit pre-config deferrals for unsupported text-only and paired text+mmproj paths without changing projector support verdicts
  • pin suffix-exact loader unions, custom quant-sidecar ownership, converter provenance, and exact companion target identities
  • add fail-closed registry, tensor-closure, pairing, header/preflight, builder, and generated documentation coverage

Validation

  • python -m pytest src/mobius/integrations/gguf tests/gguf_test.py -q --tb=short — 2046 passed
  • python -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 skipped
  • lintrunner f --output oneline --all-files
  • lintrunner --output oneline --all-files
  • two independent full-diff reviews — clean

Stack

Targets justinchuby-add-remaining-moe-gguf / PR #597.

@github-actions

github-actions Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

🏗️ Architecture Diff

Comparing c546d50 → b835949

Model Sub-model Changes Status

No architecture changes detected. ✅


Legend: ⚪ No change · 🔵 Minor (attrs/inits) · 🟡 Moderate (nodes added/removed) · 🔴 Major (interface changed)

@github-actions

github-actions Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

Performance Comparison

Comparing c546d50 → b835949

Model Metric Baseline Current Delta
bert (feature-extraction) model_size_bytes 359 KB 359 KB +0.0% ⚪
bert (feature-extraction) num_nodes 68 68 +0.0% ⚪
falcon model_size_bytes 364 KB 364 KB +0.0% ⚪
falcon num_nodes 66 66 +0.0% ⚪
gemma2 model_size_bytes 428 KB 428 KB +0.0% ⚪
gemma2 num_nodes 105 105 +0.0% ⚪
gpt2 model_size_bytes 388 KB 388 KB +0.0% ⚪
gpt2 num_nodes 54 54 +0.0% ⚪
llama model_size_bytes 425 KB 425 KB +0.0% ⚪
llama num_nodes 60 60 +0.0% ⚪
llama (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
llama (static-cache) num_nodes 56 56 +0.0% ⚪
mamba (ssm-text-generation) model_size_bytes 296 KB 296 KB +0.0% ⚪
mamba (ssm-text-generation) num_nodes 94 94 +0.0% ⚪
phi3 model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 num_nodes 58 58 +0.0% ⚪
phi3 (static-cache) model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 (static-cache) num_nodes 54 54 +0.0% ⚪
qwen2 model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 num_nodes 60 60 +0.0% ⚪
qwen2 (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 (static-cache) num_nodes 56 56 +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) model_size_bytes 506 KB 506 KB +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) num_nodes 264 264 +0.0% ⚪
qwen3_5_text (hybrid-text-generation) model_size_bytes 458 KB 458 KB +0.0% ⚪
qwen3_5_text (hybrid-text-generation) num_nodes 126 126 +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) model_size_bytes 977 KB 977 KB +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) num_nodes 428 428 +0.0% ⚪
t5 (seq2seq) model_size_bytes 836 KB 836 KB +0.0% ⚪
t5 (seq2seq) num_nodes 176 176 +0.0% ⚪
whisper (speech-to-text) model_size_bytes 1008 KB 1008 KB +0.0% ⚪
whisper (speech-to-text) num_nodes 128 128 +0.0% ⚪

No performance regressions.

@justinchuby
justinchuby force-pushed the justinchuby-add-remaining-moe-gguf branch from 3d689f4 to e9d5748 Compare August 25, 2026 16:23
Base automatically changed from justinchuby-add-remaining-moe-gguf to main August 25, 2026 16:23
@justinchuby
justinchuby requested a review from a team August 25, 2026 16:23
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]>
@justinchuby
justinchuby force-pushed the justinchuby-add-multimodal-gguf-cohort branch from 985c553 to b835949 Compare August 25, 2026 16:27
Copilot AI lite review requested due to automatic review settings August 25, 2026 16:27
@justinchuby
justinchuby merged commit 43896fa into main Aug 25, 2026
19 of 22 checks passed
@justinchuby
justinchuby deleted the justinchuby-add-multimodal-gguf-cohort branch August 25, 2026 16:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 GGUFArchitectureSpec entries (and tests) for the remaining multimodal text backbones so they refuse before config/graph construction with actionable reasons.
  • Record clip projector → 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants