🚀 KoboldCPP Vector Database
- 🔥 Due to time constrains and ability to test, only supported on
Windows
systems with anNvidia GPU
.
-
🐍Python 3.11 (Pytorch is not compatible with Python 3.12 yet)
-
📁Git
-
🌐Pandoc.
-
CUDA is technically "required" but the installation script installs it automatically. You do not need to have it installed systemwide.
-
Build Tools.
Certain dependencies don't have pre-compiled "wheels" so you must build them with something like Microsoft Build Tools and/or Visual Studio. I recommend Visual Studio, but make sure to select the "Desktop development with C++" extension and check the four boxes on the right containing "SDK."
Download the latest "release," extract its contents, navigate to the "src" folder to run the commands below.
- NOTE: If you clone this repository you WILL NOT get the latest release. Instead, you will development versions of this program which may or may not be stable.
Navigate to the src
folder, open a command prompt, and create a virtual environment:
python -m venv .
Activate the virtual environment:
.\Scripts\activate
Run setup:
python setup_windows.py
If you need to try reinstalling for any reason run this command to uninstall everything and try again:
pip freeze > requirements_uninstall.txt && pip uninstall -r requirements_uninstall.txt -y && del requirements_uninstall.txt
python gui.py
- Navigate to KoboldCPP's github and download the appropriate .exe file or run
python download_kobold.py
from your virtual environment instead. - Select any/all options you want and start the program, but make sure and uncheck the open browser option. You can also check the "quiet" mode, which prevents the Kobold's command prompt window from printing everything in duplicate.