-
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
ggml_metal_init: ggm-common.h not found #211
Comments
Did this commi fix the issue? Does it fail to compile or does it crash? Forgive me, Mac and metal are completely foreign to me. |
Sadly it doesn't, I'm currently messing around with my own public fork which uses the
But my changes break CUDA support and other platforms than |
I've been meaning to give this a try - I'd be happy to have a PR to this effect once it's ready. If you open a draft I can edit I can try to work on linux + cuda. |
Sure ! Current edits are a bit hacky but this is my current impl Raphy42@44b6da4 |
may be fixed on latest. Unable to test myself but #224 apparently fixes this, please let me know. |
i just merged a PR. All credit to derrickpersson! Glad it works! |
I updated to the latest version of the library, as I needed to have the
command-r
architecture support, but the curentcrates.io
andmain
version currently crash on MacOS due tometal_hack
breaking in the latest version ofllama.cpp
The culprit is
ggm-common.h
which is not avaiable to the bundled shader. I have tried replacing the.h
by it's actual content, prior to putting it inside the.m
loader, but it's not as simple and is not going to be maintainable at all.I saw on the llama.cpp issues that this could be fixed by having the
default.metallib
built by the CMake project, but this would imply modifying the currentbuild.rs
heavily, and I have noCUDA
compatible machine.The text was updated successfully, but these errors were encountered: