Views
No views yet
ibm-granite/granite-4.0-1b-speech for use with llama.cpp audio-multimodal support (see PR #22101).| File | Quant | Size |
|---|---|---|
granite-speech-4.0-1b-Q8_0.gguf | Q8_0 | ~1.8 GB |
mmproj-granite-speech-4.0-1b-f16.gguf | f16 | ~1.1 GB |
mmproj) stays at f16 because llama-quantize does not support the clip architecture used by audio projectors.1llama-mtmd-cli -hf staghado/granite-speech-4.0-1b-GGUF \
2 --audio my.wav \
3 -p "can you transcribe the speech into a written format?" \
4 --jinja --temp 0llama-server -hf staghado/granite-speech-4.0-1b-GGUF --jinja/v1/chat/completions:1{
2 "messages": [{
3 "role": "user",
4 "content": [
5 {"type": "text", "text": "can you transcribe the speech into a written format?"},
6 {"type": "input_audio", "input_audio": {"data": "<base64 wav>", "format": "wav"}}
7 ]
8 }]
9}load_hparams: n_mel_bins=160, audio_n_fft=512, audio_window_len=400, audio_hop_len=160, audio_sample_rate=16000.llama.cpp master (commit 2e97c5f96, build 9100) using:1python convert_hf_to_gguf.py granite-src --outtype f16 --outfile granite-speech-4.0-1b-f16.gguf
2python convert_hf_to_gguf.py granite-src --outtype f16 --mmproj --outfile mmproj-granite-speech-4.0-1b-f16.gguf
3llama-quantize granite-speech-4.0-1b-f16.gguf granite-speech-4.0-1b-Q8_0.gguf Q8_0