Repository navigation
virtgpu-container: GPU in containers on macOS (0.98x native speed for text generation) #33642
ogukei
started this conversation in
Show and tell
Replies: 2 comments 2 replies
|
Nice work! cc'ing @kpouget to see if we can make the ggml-virtgpu backend easier to setup :) |
0 replies
|
glad to see that, thanks for sharing 🙏🏻 fyi, I had to change my Red Hat work topic and switch to another team, so I will not be able to continue the virtgpu work. Pity that the virglrender work couldn't be integrated while I was on the topic, that's what makes the custom setup mandatory ... |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
macOS usually can't run GPU-accelerated containers the way Linux can with nvidia-container-toolkit.
I guess there is demand for it, but llama.cpp's GGML-VirtGPU backend takes several pieces to set up. So I put them together and packaged them as a Homebrew tap.
It runs at nearly native speed (0.98x on an M4 Pro with Llama 3.2 3B).
https://github.com/ogukei/virtgpu-container
All reactions