vision mmproj results are inconsistent

#2
by dineshr93 - opened

AMD Ryzen AI Max+ 395(128GB) chip with OS Ubuntu 26.04 LTS AMD Radeon 8060S (gfx1151)

LD_LIBRARY_PATH="~/llamacpps/glm5next/qwen4exp-rocmfpx/build-vulkan/bin" \
"~/llamacpps/glm5next/qwen4exp-rocmfpx/build-vulkan/bin/llama-server" \
  -m ~/models/Qwen3.8-Flash-Next-ROCmFP4-FAST-imatrix-GGUF/Qwen3.8-Flash-Next-ROCmFP4-FAST-v2-ple16.gguf \
  -a Qwen3.8-Flash-Next-UD-IQ4_XS \
  --spec-type draft-mtp --spec-draft-adaptive --spec-draft-n-max 4 --n-gpu-layers-draft 999 \
  --mmproj ~/models/Qwen3.8-Flash-Next-ROCmFP4-FAST-imatrix-GGUF/mmproj-Qwen3.8-Flash-Next-f16.gguf --image-min-tokens 1024 \
  -ngl 999 --load-mode none -fa 1 -ctk q4_0 -ctv q4_0 -c 162144 -np 1 --jinja --host 0.0.0.0 --port 8888 -b 2048 -ub 2048 \
  --temp 1.0 --top-k 20 --top-p 0.85 --min-p 0 --presence-penalty 0 --repeat-penalty 1.0

uploaded the random image with prompt "list the medicines in the image"

Result:
med

(qwen3.8-27b llm model identified accurately)

You are using the full quality image tower in f16, so that can't be the issue. You could try to increase cache quality (-ctk q8_0 and -ctv q8_0) or try one of my Q5 quants https://huggingface.co/agentionai/Qwen3.8-Flash-Next-AP-GGUF
Let me know if any of that helps.

Thanks for the response I tried -ctk q8_0 and -ctv q8_0 and got below image. and I dont have enough ram for q5 quants. but thanks again for wonderful efforts from your end
image

Sign up or log in to comment