Browse Source

readme : update with CMake and windows example (#748)

* README: Update with CMake and windows example

* README: update with code-review for cmake build
Adithya Balaji 2 years ago
parent
commit
594cc95fab
1 changed files with 7 additions and 0 deletions
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -145,6 +145,13 @@ git clone https://github.com/ggerganov/llama.cpp
 cd llama.cpp
 cd llama.cpp
 make
 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
 # obtain the original LLaMA model weights and place them in ./models
 ls ./models
 ls ./models
 65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model
 65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model