Repository navigation
Serve VL models: pass --mmproj so a persona actually sees (#106) + grid-economics doc - #1955
Merged
Merged
Conversation
…EES (#106) The catalog already has qwen2-vl-7b / qwen2.5-omni-7b rows with mmproj_local_path and Model.mmproj_local_path exists — but the llama-server spawn NEVER passed --mmproj, so a vision-capable model loaded blind (image content parts silently ignored). Close it: - model_registry::artifacts::resolve_mmproj_for_model — serving-time resolver mirroring resolve_gguf_for_model: expands ~ + verifies the projector file exists on disk. - llama_server spawn: pass --mmproj <path> when resolvable (the model SEES); on a Vision-capable row with NO resolvable projector, warn LOUD (serving TEXT-ONLY) instead of fabricating sight ([[fallbacks-are-illegal-fail-loud]]). Safe on a generation lane — the projector adds the encoder, doesn't switch out of causal mode (unlike --embeddings). This is the serving half of getting small personas perceiving (uploaded images, screenshots, video-chat frames): Qwen3-VL / Qwen2-VL + mmproj now loads its vision encoder, so ContentPart::Image reaches the model. Live-serving is the acceptance test. Also lands docs/architecture/GRID-ECONOMICS-AND-AFFINITY-ROUTING.md — the paged-genome demand-paging economics + affinity-routing spec (why cheap hardware + a friend group hosts 'infinite experts': cost scales with the deduped hot working-set union, not users×model). Companion to INFERENCE-LANES-REALISTIC (#109) + MoE affinity paging (#180). Refs #106, #187, #123. [[open-weight-aligned-paged-genome-beats-massive-experts]] Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Vision serving (#106): the catalog already had
qwen2-vl-7b/qwen2.5-omni-7brows withmmproj_local_pathandModel.mmproj_local_pathexists — but thellama-serverspawn never passed--mmproj, so a vision-capable model loaded blind (image content parts silently ignored).model_registry::artifacts::resolve_mmproj_for_model— serving-time resolver mirroringresolve_gguf_for_model: expands~+ verifies the projector file exists.llama_serverspawn: passes--mmproj <path>when resolvable (the model sees); on a Vision-capable row with no resolvable projector, warns loud (serving text-only) rather than fabricating sight ([[fallbacks-are-illegal-fail-loud]]). Safe on a generation lane — the projector adds the encoder, doesn't switch out of causal mode (unlike--embeddings).This is the serving half of getting small personas perceiving (uploaded images, screenshots, video-chat frames). Live-serving is the acceptance test.
Doc:
docs/architecture/GRID-ECONOMICS-AND-AFFINITY-ROUTING.md— the paged-genome demand-paging economics + affinity-routing spec (why cheap hardware + a friend group hosts "infinite experts": cost scales with the deduped hot working-set union, not users×model). Companion to INFERENCE-LANES-REALISTIC (#109) + MoE affinity paging (#180).Validation
cargo test ... resolves_mmprojgreen; serving path compiles clean.Refs #106, #187, #123.
[[open-weight-aligned-paged-genome-beats-massive-experts]]🤖 Generated with Claude Code