Earlier quoted context omitted.
They bump up VRAM because they can't compete on raw compute.
it doesn't matter how much compute you have if you don't have enough vram to run the model.
Ollama now supports AMD graphics cards
51–60 of 234 posts
Re: Ollama now supports AMD graphics cards
#52Re: Ollama now supports AMD graphics cards
#53Earlier quoted context omitted.
I wouldn't read too much into support. It's more in terms of business/warranty/promises than what can actually do things I've had a 6900XT since launch and this is the first I'm hearing "unsupported" , having played with ROCM plenty over the years with Fedora Linux. I think, at most, it's taken a couple key environment variables
How hard would it be for AMD just to document the levels of support of different cards the way NVIDIA does with their "compute capability" numbers ?! I'm not sure what is worse from AMD - the ML software support they provide for their cards, or the utterly crap documentation. How about one page documenting AMD's software stack compared to NVIDIA, one page documenting what ML frameworks support AMD cards, and another…
It's as if the CEO is mates with NVidias CEO and has an unwritten agreement not to try too hard to topple the applecart...
Oh wait... They're cousins!
Re: Ollama now supports AMD graphics cards
#54Re: Ollama now supports AMD graphics cards
#55I’m curious as to how they pulled this off. OpenCL isn’t that common in the wild relative to Cuda. Hopefully it can become robust and widespread soon enough. I personally succumbed to the pressure and spent a relative fortune on a 4090 but wish I had some choice in the matter.
Apple killed off OpenCL for their platforms when they created Metal which was disappointing. Sounds like ROCm will keep it alive but the fragmentation sucks. Gotta support CUDA, OpenCL, and Metal now to be cross-platform.
#ifndef __HIP__
#include
#include
#else
#include
#include
#define cudaSuccess hipSuccess
#define cudaStream_t hipStream_t
#define cudaGetLastError hipGetLastError
#endif
Then your CUDA code works on AMD.Re: Ollama now supports AMD graphics cards
#56I’m curious as to how they pulled this off. OpenCL isn’t that common in the wild relative to Cuda. Hopefully it can become robust and widespread soon enough. I personally succumbed to the pressure and spent a relative fortune on a 4090 but wish I had some choice in the matter.
OpenCL is as dead as OpenGL and the inference implementations that exist are very unperformant. The only real options are CUDA, ROCm, Vulkan and CPU. And Vulkan is a proper pain too, takes forver to build compute shaders and has to do so for each model. It only makes sense on Intel Arc since there's nothing else there.
Re: Ollama now supports AMD graphics cards
#57Earlier quoted context omitted.
I'm surprised they didn't speak about the implementation at all. Anyone got more intel?
ROCm: https://github.com/ollama/ollama/commit/6c5ccb11f993ccc88c47...
I'm really salty because I "upgraded" to a 5700XT from a Nvidia GTX 1070 and can't do AI on the GPU anymore, purely because the software is unsupported.
But, as a dev, I suppose I should feel some empathy that there's probably some really difficult problem causing 5700XT to be unsupported by ROCm.
Re: Ollama now supports AMD graphics cards
#58I’m curious as to how they pulled this off. OpenCL isn’t that common in the wild relative to Cuda. Hopefully it can become robust and widespread soon enough. I personally succumbed to the pressure and spent a relative fortune on a 4090 but wish I had some choice in the matter.
OpenCL is as dead as OpenGL and the inference implementations that exist are very unperformant. The only real options are CUDA, ROCm, Vulkan and CPU. And Vulkan is a proper pain too, takes forver to build compute shaders and has to do so for each model. It only makes sense on Intel Arc since there's nothing else there.
Re: Ollama now supports AMD graphics cards
#59Earlier quoted context omitted.
Spoiler alert: not good enough to break CUDA's moat
Not sure why you're downvoted, but as far as I've heard AMD cards can't beat 4090 - yet. Still, I think AMD will catch or overtake NVidia in hardware soon, but software is a bigger problem. Hopefully the opensource strategy will pay off for them.
Usually when corps open source stuff to get adoption, they stuff the adopters after they gain enough market share and the cycle repeats again
Re: Ollama now supports AMD graphics cards
#60Wow, that's a huge feature. Thank you, guys. By the way, does anyone have a preferred case where they can put 4 AMD 7900XTX? There's a lot of motherboards and CPUs that support 128 lanes. It's the physical arrangement that I have trouble with.
Used crypto mining parts not available any more?