-
Hello, according to the Gemma 4 model card the model supports audio inputs, I wonder is there a way to enable that? Source: https://ai.google.dev/gemma/docs/core/model_card_4#6_audio Command used:
Related search: https://github.com/ggml-org/llama.cpp/discussions?discussions_q=Gemma+4+audio |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
llama-cpp does not support gemma 4 audio as of the time of this post see: #21309 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Currently llama-cpp will not parse audio with Gemma, but this may change in the future. also for future reference, llama-cpp requires the mmproj to be loaded for audio to work, so download the mmproj and then your command should look like this: EDIT: I'm not sure how mmproj interacts with -hf flag, so this may be redundant.
And doing this in code would look like so: But again, audio input for Gemma4 in llama-cpp is not supported yet. For now a different library would be necessary. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much, You were right it's not support no matter how hard I try to force it to support it, in the model card they made it look very easy: I'll try the python code, and I guess a different library will be needed indeed |
Beta Was this translation helpful? Give feedback.
-
|
Figured it out, finally: #21325 (comment) |
Beta Was this translation helpful? Give feedback.




Figured it out, finally: #21325 (comment)