]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : update with CMake and windows example (#748)
authorAdithya Balaji <redacted>
Wed, 5 Apr 2023 14:36:12 +0000 (16:36 +0200)
committerGitHub <redacted>
Wed, 5 Apr 2023 14:36:12 +0000 (17:36 +0300)
* README: Update with CMake and windows example

* README: update with code-review for cmake build

README.md

index 508d315d57aa1146d587cab99d483b190ef2587f..5183812e1ab0a8bb219a4ed138b4050e235f793a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -145,6 +145,13 @@ git clone https://github.com/ggerganov/llama.cpp
 cd llama.cpp
 make
 
+#For Windows and CMake, use the following command instead:
+cd <path_to_llama_folder>
+mkdir build
+cd build
+cmake ..
+cmake --build . --config Release
+
 # obtain the original LLaMA model weights and place them in ./models
 ls ./models
 65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model