issue with mmproj?

#3
by Mk2Oracle - opened

I pulled the latest and noticed that the provided MMPROJ isn't working, throws a float8 error with the latest llama-cuda image

mtmd_init_from_file: error: Failed to load CLIP model from /root/.cache/huggingface/hub/models--ggml-org--gemma-4-12B-it-GGUF/snapshots/0f3915622134b2b6279d02f482cb12adc3d9ca3d/mmproj-gemma-4-12B-it-Q8_0.gguf

0.03.072.021 E srv load_model: failed to load multimodal model, '/root/.cache/huggingface/hub/models--ggml-org--gemma-4-12B-it-GGUF/snapshots/0f3915622134b2b6279d02f482cb12adc3d9ca3d/mmproj-gemma-4-12B-it-Q8_0.gguf'
load_hparams: unknown projector type: gemma4uv

not sure where to report this I'm literally too new to all of this.

I pulled the latest and noticed that the provided MMPROJ isn't working, throws a float8 error with the latest llama-cuda image

mtmd_init_from_file: error: Failed to load CLIP model from /root/.cache/huggingface/hub/models--ggml-org--gemma-4-12B-it-GGUF/snapshots/0f3915622134b2b6279d02f482cb12adc3d9ca3d/mmproj-gemma-4-12B-it-Q8_0.gguf

0.03.072.021 E srv load_model: failed to load multimodal model, '/root/.cache/huggingface/hub/models--ggml-org--gemma-4-12B-it-GGUF/snapshots/0f3915622134b2b6279d02f482cb12adc3d9ca3d/mmproj-gemma-4-12B-it-Q8_0.gguf'
load_hparams: unknown projector type: gemma4uv

not sure where to report this I'm literally too new to all of this.

Same issue here with the Q8_0 model on macOS / Apple Silicon.

Command:
llama-server -hf ggml-org/gemma-4-12B-it-GGUF:Q8_0

Both files download successfully:

  • gemma-4-12B-it-Q8_0.gguf
  • mmproj-gemma-4-12B-it-Q8_0.gguf

But loading fails with:

load_hparams: unknown projector type: gemma4uv
mtmd_init_from_file: error: Failed to load CLIP model from .../mmproj-gemma-4-12B-it-Q8_0.gguf
load_model: failed to load multimodal model

So this looks like the Q8_0 mmproj is also currently incompatible with the available llama.cpp runtime, not CUDA-specific.

Sign up or log in to comment