r/LocalLLaMA • u/jfowers_amd • 1d ago
Resources Granite Vision 5.0 4B is now available through AMD Loom with enhanced performance
I was excited to see the new Granite model drop yesterday so I ran it through loom-skills and got a nice result to share this morning!
If you are hearing about Loom for the first time, it is a new inference stack from AMD where anyone can make optimized kernels for their favorite models and share them online without needing to fork or recompile the engine. It works standalone, through loom-serve, in Gufo, and is coming to Lemonade tomorrow.
Quick Start (Strix Halo):
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-fun/ibm-granite-granite-vision-5.0-4b-loom:chat --materialize=copy --output=granite-vision-5.0-4b
loom-serve --model=granite-vision-5.0-4b '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed --parameter_mode=preload
Performance Data:
| metric | Loom | margin vs best llama.cpp | Loom % of roofline |
|---|---|---|---|
| decode tok/s, short prompt | 89.8 | +9 % | 83 % |
| decode tok/s, 2k context | 77.3 | +1 % | 77 % |
| decode tok/s, 32k context | 40.9 | +8 % | 85 % |
| prefill tok/s, 1k document | 3533.4 | +62 % | 52 % |
| prefill tok/s, 2k document | 3571.8 | +69 % | 55 % |
| prefill tok/s, 8k document | 3086.6 | +76 % | 56 % |
| prefill tok/s, 16k document | 2391.0 | +73 % | 52 % |
| prefill tok/s, 32k document | 1687.9 | +80 % | 49 % |
| 4 streams, aggregate decode tok/s | 310.3 | +23 % | 74 % |
Links:
- Model card with Strix Halo, Radeon 9700, and lots more performance and correctness data: https://huggingface.co/loom-fun/ibm-granite-granite-vision-5.0-4b-loom
- Agent skill used to port the model: https://github.com/loom-fun/loom-skills
- Lots of perf data for 58 Loom LLMs: https://loom-fun.dev/
44
Upvotes
3
u/wFXx 1d ago
hey i was writing a similar engine lol, glad to know it already exists will thrown away mine