r/openbsd_uncensored • • 9d ago

GitHub - LostRuins/koboldcpp: KoboldCpp - Run GGUF AI models locally with a KoboldAI UI. One File. Zero Install. - Builds and runs on OpenBSD 11-21-26

https://github.com/LostRuins/koboldcpp

KoboldCpp: Run local AI models with a built-in web UI

KoboldCpp is free and open-source software for running GGUF large language models (LLMs) on your own computer. Chat with an AI assistant, write stories, roleplay, or connect other apps to a local API. KoboldCpp runs on CPU or GPU and also includes text, image, video, speech and music generation with compatible models, an integrated agent, a bundled KoboldAI Lite WebUI, and many additional powerful features.

Inspired by KoboldAI and built on llama.cpp

Compiling on OpenBSD

Install GNU Make with pkg_add gmake, then use gmake for a CPU build. For Vulkan, install vulkan-loader (also included as a dependency of vulkan-tools) and shaderc:

pkg_add gmake vulkan-loader shaderc
ulimit -d 8388608
gmake LLAMA_VULKAN=1
python3 koboldcpp.py --model /path/to/model.gguf

Run package installation with the required system privileges. The ulimit setting raises the data-size limit for compilation. If the build reports that ggml-vulkan-shaders.hpp is missing, check that glslc from shaderc is installed.

Compiling on OpenBSD
Install GNU Make with pkg_add gmake, then use gmake for a CPU build. For Vulkan, install vulkan-loader (also included as a dependency of vulkan-tools) and shaderc:
pkg_add gmake vulkan-loader shaderc
ulimit -d 8388608
gmake LLAMA_VULKAN=1
python3 koboldcpp.py --model /path/to/model.gguf

1 Upvotes

0 comments sorted by