Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by jrm4 on Tuesday September 26, 2023 @01:29PM
(#37662785)
Very cool. Does anyone know exactly how out of luck us AMD folk are? I know there are efforts out there, but I'm kind of hoping for something "as easy as this?"
[ Parent
| on HN ]
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by spmurrayzzz on Tuesday September 26, 2023 @01:41PM
(#37662958)
llama.cpp added ROCm linux support a little over a month ago. Details on that can be found in their readme: https://github.com/ggerganov/llama.cpp#hipblas (no luck for windows users though)
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by brucemacd on Tuesday September 26, 2023 @01:38PM
(#37662918)
It could be possible to take a similar installer approach in the future for cuBLAS or hipBLAS for AMD GPUs, so there is hope.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by brucethemoose2 on Tuesday September 26, 2023 @02:26PM
(#37663703)
Koboldcpp does this: https://github.com/LostRuins/koboldcpp/releases/tag/v1.44.2
They basically just ship executables for different llama.cpp backends and select the correct one with a python script, which is fine, as the executables are really small.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by Patrick_Devine on Tuesday September 26, 2023 @01:44PM
(#37663016)
We don't current compile in CLBlast or ROCm support but if there's a lot of demand for this, we'll definitely add it in the future. One concern is not wanting to bloat out the binary size too much (CUDA is already huge!) but given how big the LLM models are anyway, maybe it's not a huge concern.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by globuous on Tuesday September 26, 2023 @02:15PM
(#37663541)
AMD support would be amazing <3
I get the boot concern, and the maintenance concern (!!!), but as you say, these models are already quite huge anyway :)
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by capableweb on Tuesday September 26, 2023 @01:57PM
(#37663262)
Offer two builds :) One AMD and one NVIDIA.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by Patrick_Devine on Tuesday September 26, 2023 @02:11PM
(#37663473)
Possibly, but a core guiding principle for us is to keep everything as simple as possible. We're a small project, so if we add too many features/permutations it really makes it hard to keep everything working!
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by nebster on Tuesday September 26, 2023 @03:52PM
(#37664960)
Also, some of us weird folk have both an AMD and NVIDIA GPU in one machine...
Actually, I guess that is more common now that AMD CPUs have a GPU built in?
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by zamalek on Tuesday September 26, 2023 @05:58PM
(#37666331)
You could download both binaries for that scenario.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by zamalek on Tuesday September 26, 2023 @06:00PM
(#37666341)
> permutations
I don't believe that AMD/NVIDIA is a low entropy bit so far as configuration permutations go. Although NVIDIA is far more widespread, AMD has significant market share. The Darwin bit you already facilitate for is probably lower entropy.
Re:Show HN: Ollama for Linux – Run LLMs on Linux with GPU Ac...
by brucethemoose2 on Tuesday September 26, 2023 @02:27PM
(#37663721)
This one is basically SOTA for AMD, if you can install rocm properly:
https://github.com/YellowRoseCx/koboldcpp-rocm
Some other projects support rocm less explicitly, and not as easily.