Skip to content
Discussion options

You must be logged in to vote

Try add ggml-metal.metal to metal dir, add this dir to resourses and in ggml-metal.m change path to this:

NSString *path = [NSBundle.mainBundle.resourcePath stringByAppendingString:@"/metal/ggml-metal.metal"];

This worked in my swiftui app.
Or use absolute path like this:

NSString *path = @"/Users/guinmoon/dev/alpaca_llama_etc/LLMFarm/metal/ggml-metal.metal";

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by psugihara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants