hckrnws
Ollama 0.4 is released with support for Meta's Llama 3.2 Vision models locally
by BUFU
This was a pretty heavy lift for us to get out which was why it took a while. In addition to writing new image processing routines, a vision encoder, and doing cross attention, we also ended up re-architecting the way the models get run by the scheduler. We'll have a technical blog post soon about all the stuff that ended up changing.
Any info of when we will get the 11B and 90B models?
How long until Vulkan Compute support is merged into ollama? There is an active pull request at https://github.com/ollama/ollama/pull/5059 but it seems to be stalled with no reviews.
did you feed back into llama.cpp?
also, can it do grounding like cogvlm?
either way, great job!
It's difficult because we actually ditched a lot of the c++ code with this change and rewrote it in golang. Specifically server.cpp has been excised (which was deprecated by llama.cpp anyway), and the image processing routines are all written in go as well. We also bypassed clip.cpp and wrote our own routines for the image encoder/cross attention (using GGML).
The hope is to be able to get more multimodal models out soon. I'd like to see if we can get Pixtral and Qwen2.5-vl in relatively soon.
> Specifically server.cpp has been excised (which was deprecated by llama.cpp anyway)
Is there any more specific info available about who (llama.cpp or Ollama) removed what, where? As far as I can see, the server is still part of llama.cpp.
And more generally: Is this the moment when Ollama and Llama part ways?
Did they fix multiline editing yet? Any interactive input that wraps across 3+ lines seems to become off-by-one when editing (but fine if you only append?), and this will be only more common with long filenames being added. And triple-quote breaks editing entirely.
How does this address the security concern of filenames being detected and read when not wanted?
Comment was deleted :(
Can it run the quantized models?
Supported quantizations: https://ollama.com/library/llama3.2-vision/tags
how likely is it to run on a reasonably new windows laptop?
With 16GB of RAM these vision models will run. How quickly depends on a lot of factors.
Crafted by Rajat
Source Code