ollama/llama
Michael Yang 1b7183c5a1 enable metal gpu acceleration
ggml-metal.metal must be in the same directory as the ollama binary
otherwise llama.cpp will not be able to find it and load it.

1. go generate llama/llama_metal.go
2. go build .
3. ./ollama serve
2023-07-06 16:34:44 -04:00
..
binding fix crash in bindings 2023-07-06 16:34:44 -04:00
.gitignore add llama.cpp go bindings 2023-07-06 16:34:44 -04:00
CMakeLists.txt enable metal gpu acceleration 2023-07-06 16:34:44 -04:00
llama.go remove debug print statements 2023-07-06 16:34:44 -04:00
llama_cublas.go add llama.cpp go bindings 2023-07-06 16:34:44 -04:00
llama_metal.go enable metal gpu acceleration 2023-07-06 16:34:44 -04:00
llama_openblas.go add llama.cpp go bindings 2023-07-06 16:34:44 -04:00
options.go add llama.cpp go bindings 2023-07-06 16:34:44 -04:00