From 5ca2d774cc9fb391ab1973557f1bfa6108df0430 Mon Sep 17 00:00:00 2001 From: Gustavo Rocha Dias <91472747+gustrd@users.noreply.github.com> Date: Thu, 20 Apr 2023 01:20:11 -0300 Subject: [PATCH] doc - explanation of how to use a custom version of the windows libraries at the lib folder. (#92) the dynamic libraries also need to be updated if you replace the import libraries --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 63d004028..4cce15f8e 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,11 @@ What does it mean? You get llama.cpp with a fancy UI, persistent stories, editin - If you want to generate the .exe file, make sure you have the python module PyInstaller installed with pip ('pip install PyInstaller'). - Run the script make_pyinstaller.bat at a regular terminal (or Windows Explorer). - The koboldcpp.exe file will be at your dist folder. +- If you wish to use your own version of the additional Windows libraries (clblast.lib, libopenblas.lib or OpenCL.lib), you can: + - Compile then, or download the lastest release from the respective GitHub repository. + - Change the extension of the .dll file to .lib. + - Move the new .lib file to the /lib folder of your project, overwriting the older file. + - Make the project using the instructions. ## OSX and Linux - You will have to compile your binaries from source. A makefile is provided, simply run `make`