Repository navigation
It doesn’t see images and doesn’t hear audio. #2511
Replies: 7 comments
|
Thank you for your response! I removed the --visionmaxtokens, --visionmintokens, and --visionmaxres flags, but unfortunately, it didn’t help: cat test.wav |
|
Note. When using the Vulkan model, it sees the cat, but still does not hear the audio. cat |
|
Issue confirmed, I can reproduce the bug. I will investigate |
|
Hello @Zontomoka5934 I think I have fixed the bug now. Could you give it a shot in the koboldcpp rolling releases here for oldpc |
|
Thank you very much for your answer and for your work! To keep it short — the model has started recognizing images and hearing audio :) But there are occasional anomalies: the model can sometimes stop seeing or hearing. Often, everything goes back to normal if you start a new session. However, this requires more extended testing, and it's possible that the model itself is just being a bit silly — sometimes it can be dumb or stubborn, and the issue is simply with it. koboldcpp-oldpc.exe — I wasn't able to use CUDA because it uses CUDA 12 internally. On Windows 7, I can only work with CUDA 11.4. Because of that, I tested the Vulkan variant instead (koboldcpp_vulkan.dll). Settings: Files:
Minor errors noticed along the way NEW Sessiontest.wav cat (661267798-9b16b2c4-bc6a-4ee0-abf3-07359db49a36.png) test.gif speech.mp3 NEW Sessioncat (661267798-9b16b2c4-bc6a-4ee0-abf3-07359db49a36.png) speech.mp3 test.wav speech.mp3 NEW Sessionspeech.mp3 test.wav NEW Sessiontest.gif test.mp3 NEW Sessioncat (661267798-9b16b2c4-bc6a-4ee0-abf3-07359db49a36.png) test.gif test.wav speech.mp3 Other |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi. There's a problem. It doesn’t see images and doesn’t hear audio.
The model sees images if the image processing is done on the CPU.
koboldcpp 1.122.1
gemma-4-E2B-it-Q4_K_M.gguf + mmproj-F16.gguf
Windows 7 x64
RTX 3080 Ti VRAM 12Gb (driver: R472.12 (r470_00-280) / 30.0.14.7212 (9-13-2021))
CUDA: NVIDIA GeForce RTX 3080 Ti - Compute Capability:8.6
cublas64_11.dll (CRC32:C8982F90)
cublasLt64_11.dll (CRC32:C943B68A)
msvcp140.dll (v14.44.35211.0) (CRC32:A16F96B0)
RAM 64Gb
Xeon E5-1650v4
Active Modules: TextGeneration MultimodalVision MultimodalAudio
Option 1
With this setup, the model sees garbage instead of an image.
koboldcpp-oldpc.exe --gpulayers -1 --showgui --usecuda 0 0 --model %1 --launch --threads 6 --blasthreads 6 --jinjatools --useswa --contextsize 65536 --mmproj "R:\mmproj-F16.gguf" --visionmaxres 256 --visionmintokens -1 --visionmaxtokens 32
Option 2
If --mmprojcpu, the model sees the images correctly.
koboldcpp-oldpc.exe --gpulayers -1 --showgui --usecuda 0 0 --model %1 --launch --threads 6 --blasthreads 6 --jinjatools --useswa --contextsize 65536 --mmproj "R:\mmproj-F16.gguf" --visionmaxres 256 --mmprojcpu --visionmintokens -1 --visionmaxtokens 32
Option 1.1
The model doesn’t hear the audio (MP3, WAV) in either setup.
koboldcpp-oldpc.exe --gpulayers -1 --showgui --usecuda 0 0 --model %1 --launch --threads 6 --blasthreads 6 --jinjatools --useswa --contextsize 65536 --mmproj "R:\mmproj-F16.gguf" --visionmaxres 256 --mmprojcpu --visionmintokens -1 --visionmaxtokens 32
Option 1 image (garbage)
Option 1.1 doesn’t hear the audio (MP3, WAV)
Option 2 (sees the images correctly)
All reactions