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: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,21 +45,23 @@ Code:
45
45
Libraries:
46
46
* Vulkan SDK (installer is preferred) https://vulkan.lunarg.com/#new_tab
47
47
* SDL2 https://github.com/libsdl-org/SDL
48
+
* If OpenBLAS is needed: use [releases](https://github.com/OpenMathLib/OpenBLAS/releases) and [Clblast](https://github.com/CNugteren/CLBlast).
48
49
* If CLBLAST is needed: use releases of [OpenCL SDK](https://github.com/KhronosGroup/OpenCL-SDK) and [Clblast](https://github.com/CNugteren/CLBlast).
49
50
50
51
### Building on Windows
51
52
52
-
* Download this repo or `git clone` it
53
-
* Use w64devkit https://github.com/skeeto/w64devkit/releases
54
-
* Install all prerequisite libraries according to w64devkit installation (which is, in most cases, copying `lib` and `include` folders into `w64devkit/x86_64-w64-mingw32`)
55
-
* Download and copy all prerequisite code according to Makefile
56
-
* Launch w64devkit.exe and navigate to the project folder
57
-
*`make chat` for CPU-only
58
-
*`make chat_cl` for Clblast build
59
-
*`make chat_vk` for Vulkan build
60
-
*`make chatTest`, `make chatTest_cl` and `make chatTest_vk` for building the debugging program
61
-
* for CPU-only builds use `OPENBLAS64=1` to enable OpenBLAS (helps with prompt processing)
62
-
* if your GPU/iGPU don't support Vulkan, compile with SDL2=1
53
+
1. Use `git clone https://github.com/MaggotHATE/Llama_chat`, or download this repo and unpack it
54
+
2. Download w64devkit https://github.com/skeeto/w64devkit/releases and unpack it to a desireable folder
55
+
3. Install all prerequisite libraries according to w64devkit installation: in most cases it means copying `lib` and `include` folders into `w64devkit/x86_64-w64-mingw32`
56
+
* for example, OpenBLAS has `bin`, `include` and `lib` folders - unpack them into `w64devkit/x86_64-w64-mingw32`
57
+
4. Download and copy all prerequisite code: specific version of [imgui](https://github.com/ocornut/imgui/tree/f6836ff37fd361010829621f610837686aa00944) and [tinyfiledialogs](https://sourceforge.net/projects/tinyfiledialogs/)
58
+
5. Launch w64devkit.exe and navigate to the project folder, then build:
59
+
*`make chat` for CPU-only UI version
60
+
*`make chat_cl` for Clblast UI version
61
+
*`make chat_vk` for Vulkan UI version
62
+
6.`make chatTest`, `make chatTest_cl` and `make chatTest_vk` for building the debugging program
63
+
* for CPU-only builds add `OPENBLAS64=1` to compile with OpenBLAS (helps with prompt processing)
64
+
* if your GPU/iGPU don't support Vulkan, compile UI with SDL2=1
63
65
* if you need Windows console for debugging, compile with CONW=1
0 commit comments