Discover and explore top open-source AI tools and projects—updated daily.
go-skynetGo bindings for llama.cpp
Top 42.9% on SourcePulse
This Go library provides high-level bindings for llama.cpp, enabling Go developers to integrate large language models into their applications. It targets Go developers seeking efficient LLM inference without the complexity of direct C++ interaction, leveraging llama.cpp's performance optimizations.
How It Works
The project maintains a low-level C/C++ interface within the Go bindings to minimize overhead and maximize performance. This approach keeps most of the heavy lifting in the native llama.cpp code, simplifying the Go API. It utilizes git submodules to manage the llama.cpp dependency.
Quick Start & Requirements
git clone --recurse-submodules https://github.com/go-skynet/go-llama.cppmake libbinding.aLIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go run ./examples -m "/model/path/here" -t 14Highlighted Details
-ngl flag.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 week ago
1 week
SqueezeAILab
OpenBMB
mozilla-ai