Readit News logoReadit News
Patrick_Devine · 10 months ago
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.
jjice · 10 months ago
Y'all did a fantastic job! This works great and to have it all right there inside of Ollama is a huge step for local model execution.
zozbot234 · 10 months ago
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.
exe34 · 10 months ago
did you feed back into llama.cpp?

also, can it do grounding like cogvlm?

either way, great job!

Patrick_Devine · 10 months ago
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.

csomar · 10 months ago
Any info of when we will get the 11B and 90B models?
jjice · 10 months ago
Not sure if I'm misunderstanding, but they're live: https://ollama.com/library/llama3.2-vision

Ran the 11B yesterday and it worked great.

sgt101 · 10 months ago
I tested the small model with a few images from Clevr. On first blush I am afraid it didn't do very well at all, it got object counts totally wrong and struggled to identify shapes and colours.

Still, it seems to understand what's in the images in general (cones and spheres and cubes), and the fact that it runs on my mac book at all is basically amazing.

EdwardKrayer · 10 months ago
My initial testing was with charts - I've been waiting on local vision models to be good enough to feed technical documents and my initial testing is looking very good. Example:

https://i.imgur.com/1ETREP9.png

sgt101 · 10 months ago
I've tried with some ppt images rather than Clevr ones and it does much better. It can count circles and triangles and differentiates between them quite well. It can recognise the colours of the objects as well.

I think that the faux 3d of clevr images is too much for the model, it's interesting because much smaller pre-transformer specialist models were very good at clevr.

o11c · 10 months ago
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?

ei23 · 10 months ago
Is Qwen2VL supported too? Its a great vision model, works in comfyui. Llama3.2s vision seems to be super censored...
papruapap · 10 months ago
I thought llamacpp didn't support images yet, has that changed or ollama is using a different library for this?
SCLeo · 10 months ago
I believe they wrote their own image handling and did not contribute back to llama.cpp.
papruapap · 9 months ago
oh sad :(, hope they upstream it at some point.
zamderax · 10 months ago
Does anyone know if this will run on the iPhone 15 (6GB) or iPhone 16 (8GB)
inasring · 10 months ago
Can it run the quantized models?
fallingsquirrel · 10 months ago

Deleted Comment