-
Notifications
You must be signed in to change notification settings - Fork 62
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
Metal #143
Comments
Hello @zodiac1214 ! You are right; there is a mistake in the implementation, which makes it impossible for now to run Bark.cpp on Metal. I'll fix it in the next few days. |
FWIW, tried to wire the -ngl params here and hit a wall with:
(a ggml sync might help?) git remote add ochafik https://github.com/ochafik/bark.cpp
git fetch ochafik
rm -fR build && \
cmake -B build . -DGGML_METAL=1 -DCMAKE_BUILD_TYPE=Release && \
cmake --build build && \
cp build/bin/ggml-metal.metal build/encodec.cpp/ggml/src
./build/examples/main/main -m ./models/bark/ggml_weights.bin -p "Test" -t 4 -o out2.wav show full output
|
@ochafik Thanks for trying it! Yes, we'll need to sync with the latest version of ggml. However, we'll have to implement additional operations to ggml and to write Metal kernels (e.g. |
I tried to
but it is still only using CPU instead of Mac GPU
The text was updated successfully, but these errors were encountered: