• Stefy Lanza (nextime / spora )'s avatar
    load the vision tower a checkpoint asks for, and refuse the pictures we cannot read · 8fe05edc
    Stefy Lanza (nextime / spora ) authored
    A model listed as able to read images has to read them, or say it cannot.
    
    `Qwen3.5-9B` was listed with `image_to_text` and answered every photograph
    with "a blank white image with no visible content" — nine real pictures of
    one video, indexed as blank. Two causes, one symptom:
    
      AutoModelForCausalLM        -> Qwen3_5ForCausalLM            (text only)
      AutoModelForImageTextToText -> Qwen3_5ForConditionalGeneration
    
    The engine asked for the first, so the tower was never built, and with no
    projector the chat path flattened the picture to the literal text
    "[image_url content]". The model was answering the prompt it was given.
    
    Now the class comes from the checkpoint's own config, every load path in the
    CUDA backend goes through that resolver, a vision model also loads the
    processor that makes a picture promptable, and an image request takes its own
    generation path (no KV prefix reuse — image tokens come from the pixels).
    Where a model genuinely cannot see, the request is a 400 rather than a
    confident wrong answer, and a GGUF with no mmproj stops advertising the
    capability it cannot serve.
    
    Two things found while measuring the image path on a live fleet:
    
    * every image load printed "Proactive eviction skipped: name 'request' is not
      defined". `_load_diffusers_pipeline` has no `request`; the NameError was
      swallowed as a skip, so the minimum-eviction block never ran and each load
      fell through to the blunt eviction that unloads models which would have
      fitted alongside.
    * `Z-Image-Turbo`, distilled for 8 steps at CFG 1, was served at 30 steps and
      CFG 7.5 because its card carried no `defaults` — four times the work for an
      over-guided picture, ~72 s a still. A card that says nothing now falls back
      to what the model's own name says before the generic floor.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    8fe05edc
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-acestep.txt Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-latentsync.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-musetalk.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...