Live data from Hacker News

Llama.cpp supports Vulkan. why doesn't Ollama?

github.com

81–90 of 235 posts

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#81
post #28

Earlier quoted context omitted.

I did not assume the worst when submitting the post, but that is also my suspicion. The whole thing is very dodgy.

Are closer to the metal AI developers an under tracked bottle neck? AMD and Intel can barely get off the ground due to lagging software developers.

This is where I want to work. But I feel like an AI swe is more likely to go "down" than an AI company is likely to hire me, a guy who loves optimizing pipelines for parallelism.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#82

can someone please give a quick summary of the criticism towards ollama? as far as my intel goes it's a mozilla project shouldered mostly by one 10x programmer. i found ollama through hn and last time i didn't notice any lack of trust or suspected sketchiness ... so what changed?

IMO ggerganov is a 10x programmer in the same way Fabrice Bellard is: doing the actual hard infrastructure work that most developers would not be able to do in a reasonable amount of time and at a high performance.

In contrast, the ollama dev team is doing useful work (creating an easy interface) but otherwise mostly piggybacking off the already existing infrastructure

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#83
post #32
post #29

Ollama is sketchy enough that I run it in a VM. Which is odd because it would probably take less effort to just run Llama.cpp directly, but VMs are pretty easy so just went that route. When I see people bring up the sketchiness most of the time the creator responds with the equivalent of shrugs , which imo increases the sketchiness.

It's fully open source. I mean yes it uses llama.cpp without giving it credit. But why run it in a VM?

Isn't there a clause in MIT that says you're required to give credit? Also, I didn't know a YC company which started it: https://www.ycombinator.com/companies/ollama.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#84

can someone please give a quick summary of the criticism towards ollama? as far as my intel goes it's a mozilla project shouldered mostly by one 10x programmer. i found ollama through hn and last time i didn't notice any lack of trust or suspected sketchiness ... so what changed?

> as far as my intel goes it's a mozilla project shouldered mostly by one 10x programmer.

That's completely off the mark.

https://www.ycombinator.com/companies/ollama

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#85
post #36

Earlier quoted context omitted.

I am very technically inclined and use Ollama (in a VM, but still) because of all the steps and non-obviousness of how to run Llama.cpp. This framing feels a bit like the “Dropbox won’t succeed because rsync is easy” thinking.

> This framing feels a bit like the “Dropbox won’t succeed because rsync is easy” thinking. No this isn't. There are plenty of end user GUI apps that make it far easier than Ollama to download and run local LLMs (disclaimer: I build one of them). That's an entirely different market. IMO, the intersection between the set of people who use a command line tool, and the set of people who are incapable of running `brew in…

I can't install any .app on my fairly locked down work computer, but I can `brew install ollama`.

When I read the llama.cpp repo and see I have to build it, vs ollama where I just have to get it, the choice is already made.

I just want something I can quickly run and use with aider or mess around with. When I need to do real work I just use whatever OpenAI model we have running on Azure PTUs

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#86
post #69

I use Ollama because I am a casual user and can't be bothered to read the docs on how to setup llama.cpp. I just want to run a simple llm locally. Why would I care about Vulkan?

with vulkan it runs much much faster on consumer hardware, especially opn igpus like intel or amd.

Well, it definitely runs faster on external dGPU's. With iGPU's and possibly future NPU's, the pre-processing/"thinking" phase is much faster (because that one is compute-bound) but text generation tends to be faster on CPU because it makes better use of available memory bandwidth (which is the relevant constraint there). iGPU's and NPU's will still be a win wrt. energy use, however.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#87

Ollama needs competition. I’m not sure what drives the people that maintain it but some of their actions imply that there are ulterior motives at play that do not have the benefit of their users in mind. However such projects require a lot of time and effort and it’s not clear if this project can be forked and kept alive.

The most recent one of the top of my head is their horrendous aliasing of DeepSeek R1 on their model hub, misleading users into thinking they are running the full model but really anything but the 671b alias is one of the distilled models. This has already led to lots of people claiming that they are running R1 locally when they are not.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#88
post #2

llama.cpp has supported vulkan for more than a year now. For more than 6 months now there has been an open PR to add vulkan backend support for Ollama. However, Ollama team has not even looked at it or commented on it. Vulkan backends are existential for running LLMs on consumer hardware (iGPUs especially). It's sad to see Ollama miss this opportunity.

The PR has been legitimately out-of-date and unmergeable for many months. It was forward-ported a few weeks ago, and is now still awaiting formal review and merging. (To be sure, Vulkan support in Ollama will likely stay experimental for some time even if the existing PR is merged, and many setups will need manual adjustment of the number of GPU layers and such. It's far from 100% foolproof even in the best-case scen…

this pr was reviewable multiple times, rebased multiple times. all because ollama team kept ignoring it. it has been open for almost 7 months now without a single comment from the ollama folks.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#89
post #50
post #32

Earlier quoted context omitted.

It's fully open source. I mean yes it uses llama.cpp without giving it credit. But why run it in a VM?

It severely over-permissions itself on my Mac.

Can you please elaborate? How are you running ollama? I just build it from source and have written a shell script to start/stop it. It runs under my local user account (I should probably have its own user) and is of course not exposed outside localhost.

Re: Llama.cpp supports Vulkan. why doesn't Ollama?

#90
post #28

Earlier quoted context omitted.

I did not assume the worst when submitting the post, but that is also my suspicion. The whole thing is very dodgy.

Are closer to the metal AI developers an under tracked bottle neck? AMD and Intel can barely get off the ground due to lagging software developers.

Metal is an Apple thing, not Intel or AMD. (And Ollama supports that.)
Post reply on HN