-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start an Asahi version #369
Conversation
81dd050
to
04d64ff
Compare
04d64ff
to
5529c95
Compare
5529c95
to
2cec606
Compare
Does this mean on Asahi we can't use the standard RamaLama image? |
2cec606
to
814e654
Compare
Fedora Asahi Remix is 99% percent Fedora... The two significant packages it forks are the kernel and mesa (mesa being where the userspace GPU driver is). This Vulkan driver "Honeykrisp" is weeks old, so the patches have not made their way to mainline Fedora mesa yet: anyway, with the other images being UBI based, even besides this mesa fork, we would have had to make a special container image for Asahi because Asahi is only enabled for Fedora, not UBI. So yeah, we need a specific container image for Asahi. I don't expect to make this exception often, but the Asahi community is so vibrant and kinda is a flagbearer for ARM Linux efforts and ARM GPU drivers. I think it's worth it. We could use the standard image and do CPU inferencing on Asahi, but whats the point in doing CPU inferencing. |
@Conan-Kudo expressed an interest in running llama.cpp outside of containers which is fine too, as long as one is using the forked mesa and building/using llama.cpp built with -DGGML_VULKAN=1 it should work |
f6fa180
to
c5e4d33
Compare
We should be able to build the asahi image from the RamaLama Containerfile. podman build --from fedora:41 -t quay.io/ramalama/asahi:latest containers-images/ramalama That way we don't need to update multiple containerfiles. |
More like: podman build --from fedora:41 -t quay.io/ramalama/asahi:latest containers-images/vulkan We can do, there's gonna be quite a few "if asahi" type statements though... Even our UBI image uses it's own mesa fork, which is different to this one. |
c5e4d33
to
e79675a
Compare
Asahi has a forked version of mesa while it upstream. Signed-off-by: Eric Curtin <[email protected]>
e79675a
to
25d2dc2
Compare
No, I was thinking they were the same Containerfiles, other then the From, I will merge and we can revisit later. |
Asahi has a forked version of mesa while it upstream.