You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build.md
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -282,9 +282,9 @@ The following compilation options are also available to tweak performance (yes,
282
282
283
283
#### w64devkit
284
284
285
-
Download and extract [w64devkit](https://github.com/skeeto/w64devkit/releases).
285
+
Download and extract [`w64devkit`](https://github.com/skeeto/w64devkit/releases).
286
286
287
-
Download and install the [Vulkan SDK](https://vulkan.lunarg.com/sdk/home#windows). When selecting components, only the Vulkan SDK Core is required.
287
+
Download and install the [`Vulkan SDK`](https://vulkan.lunarg.com/sdk/home#windows) with the default settings.
288
288
289
289
Launch `w64devkit.exe` and run the following commands to copy Vulkan dependencies:
290
290
```sh
@@ -302,6 +302,29 @@ EOF
302
302
```
303
303
Switch into the `llama.cpp` directory and run `make GGML_VULKAN=1`.
304
304
305
+
#### Git Bash MINGW64
306
+
307
+
Download and install [`Git-SCM`](https://git-scm.com/downloads/win) with the default settings
308
+
309
+
Download and install [`Visual Studio Community Edition`](https://visualstudio.microsoft.com/) and make sure you select `C++`
310
+
311
+
Download and install [`CMake`](https://cmake.org/download/) with the default settings
312
+
313
+
Download and install the [`Vulkan SDK`](https://vulkan.lunarg.com/sdk/home#windows) with the default settings.
314
+
315
+
Go into your `llama.cpp` directory and right click, select `Open Git Bash Here` and then run the following commands
316
+
317
+
```
318
+
cmake -B build -DGGML_VULKAN=ON
319
+
cmake --build build --config Release
320
+
```
321
+
322
+
Now you can load the model in conversation mode using `Vulkan`
0 commit comments