News for hackers. Stuff that matters.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by a12k on Friday January 31, 2025 @07:31AM (#42887012)
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.

Re:Llama.cpp supports Vulkan. why doesn't Ollama? by nialv7 on Friday January 31, 2025 @07:33AM (#42887028)
It's fully open source. I mean yes it uses llama.cpp without giving it credit. But why run it in a VM?
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by a12k on Friday January 31, 2025 @07:48AM (#42887140)
It severely over-permissions itself on my Mac.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by super_mario on Friday January 31, 2025 @08:35AM (#42887482)
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? by celeritascelery on Friday January 31, 2025 @09:07AM (#42887806)
I have never had it request any permissions
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by andreasmetsala on Friday January 31, 2025 @10:30AM (#42888634)
Just install it from Brew and run the service in a separate terminal tab.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by instagary on Friday January 31, 2025 @08:27AM (#42887417)
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? by aduffy on Friday January 31, 2025 @09:04AM (#42887774)
The project existed in the open source and then subsequently the creators sought funding to work on it full time.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by instagary on Friday January 31, 2025 @09:08AM (#42887810)
Makes sense!
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by krowek on Friday January 31, 2025 @08:54AM (#42887659)
> But why run it in a VM?

Because you don't execute untrusted code in your machine without containerization/virtualization. Don't you?

Re:Llama.cpp supports Vulkan. why doesn't Ollama? by adastra22 on Friday January 31, 2025 @08:56AM (#42887684)
Every single day. There's just too much good software out there, and life is too short to be so paranoid.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by Aurornis on Friday January 31, 2025 @09:05AM (#42887785)
The question was asking why it’s untrusted code, not why you run untrusted code in a VM.

There are a lot of open-source tools that we have to trust to get anything done on a daily basis.

Re:Llama.cpp supports Vulkan. why doesn't Ollama? by nicce on Friday January 31, 2025 @07:48AM (#42887137)
> but VMs are pretty easy so just went that route.

Don’t you need at least 2 GPUs in that case and put kernel level passthrough?

Re:Llama.cpp supports Vulkan. why doesn't Ollama? by a12k on Friday January 31, 2025 @07:49AM (#42887148)
I don’t use GPU. Works fine, but the large Mixtral models are slow.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by bdhcuidbebe on Friday January 31, 2025 @08:37AM (#42887514)
i pass through my dGPU to VM and use iGPU for desktop
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by buyucu on Friday January 31, 2025 @07:34AM (#42887033)
ollama advertising llama.cpp features as their own is very dishonest in my opinion.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by portaouflop on Friday January 31, 2025 @07:41AM (#42887094)
That’s the curse and blessing of open source I guess? I have billion dollar companies running my oss software without giving me anything - but do I gripe about it in public forums? Yea maybe sometimes but it never helps to improve the situation.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by sitkack on Friday January 31, 2025 @07:53AM (#42887176)
Are they a wrapper with a similar name? You, like I, do gripe in public forums.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by kgwgk on Friday January 31, 2025 @08:54AM (#42887655)
The similar name in this case doesn’t originate in the wrapped thing either.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by portaouflop on Friday January 31, 2025 @09:40AM (#42888116)
No it’s totally different from this case - but the software is a super important part of their stack - if it were to stop working they can shut down their business
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by weinzierl on Friday January 31, 2025 @08:55AM (#42887672)
It's the curse of permissively licensed open source. Copyleft is not the answer to everything but against companies leeching and not giving back it is effective.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by portaouflop on Friday January 31, 2025 @09:38AM (#42888107)
Well we had this conversation but once you change the license to something like that you lose the trust of the oss community instantly and as elasticsearch etc. show it also doesn’t really help with monetisation
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by adastra22 on Friday January 31, 2025 @08:57AM (#42887695)
Welcome to open source.
Re:Llama.cpp supports Vulkan. why doesn't Ollama? by n144q on Friday January 31, 2025 @08:53AM (#42887649)
Care to elaborate what "sketchy" refers to here?