#169 · Primary category: Inference & Local Deploy
llama.go
llama.go is like llama.cpp in pure Golang!
Project last updated:09/20/24
GitHub Stars
1.4K
Forks
73
Contributors
3
License
Other
Why we included this project
Go developers who need to run LLaMA-style models without cgo or external subprocesses don't have many pure-Go options, and this project is one of the few. It reimplements llama.cpp's tensor math and model architecture in Go, so a single process can load GGML-era LLaMA checkpoints, run local inference, and expose a REST API through the built-in server mode. The multi-threading support and AVX2/NEON optimizations indicate serious attention to performance. That said, the project is essentially in maintenance mode: the author now points to a successor (FastTensors), and support for LLaMA 2, GGUF V3, and newer formats was never completed. So it's a good fit for understanding how an inference engine works in Go or for experimenting with early LLaMA models, not for running current open-weight releases in production.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.