]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
build : on Mac OS enable Metal by default (#2901)
authorGeorgi Gerganov <redacted>
Mon, 4 Sep 2023 19:26:24 +0000 (22:26 +0300)
committerGitHub <redacted>
Mon, 4 Sep 2023 19:26:24 +0000 (22:26 +0300)
commite36ecdccc8754783f93ad3ac8a09e540101f2ca0
tree160ce80ac89ad8d938c5a58bcb5aae4cdb020636
parentbd33e5ab92e7f214205792fc1cd9ca28e810f897
build : on Mac OS enable Metal by default (#2901)

* build : on Mac OS enable Metal by default

* make : try to fix build on Linux

* make : move targets back to the top

* make : fix target clean

* llama : enable GPU inference by default with Metal

* llama : fix vocab_only logic when GPU is enabled

* common : better `n_gpu_layers` assignment

* readme : update Metal instructions

* make : fix merge conflict remnants

* gitignore : metal
.gitignore
CMakeLists.txt
Makefile
README.md
common/common.cpp
common/common.h
examples/main/main.cpp
examples/perplexity/perplexity.cpp
llama.cpp