SaaSHub helps you find the best software and product alternatives Learn more →
Llama-cpp-python Alternatives
Similar projects and alternatives to llama-cpp-python
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
textgen
Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.
-
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
-
-
-
-
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
-
-
FastChat
An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.
-
khoj
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
-
-
refact
Discontinued AI Agent that handles engineering tasks end-to-end: integrates with developers’ tools, plans, executes, and iterates until it achieves a successful result.
-
-
basaran
Discontinued Basaran is an open-source alternative to the OpenAI text completion API. It provides a compatible streaming API for your Hugging Face Transformers-based text generation models.
-
-
-
-
llama-cpp-python discussion
llama-cpp-python reviews and mentions
-
Before attributing multilingual quantization loss, validate the likelihood path
The repair respects the native API contract: allocate the requested capacity, retry, and fail explicitly if decoding still fails. This was a local reproduction, not a claim of novel discovery: an earlier upstream report and proposed fix already existed (issue 2362 and PR 2363). My later PR 2388 remains a separate, overlapping proposal; coordination is pending. The recorded buffer investigation preserves the local reproducer and repair.
-
Trail Buddy is an offline trail helper built so you never have to trust its AI
It does not build an inference engine. It wraps llama.cpp through llama-cpp-python and uses existing GGUF files from Hugging Face.
-
What Surprised Me About Building a Python RAG Pipeline with Open-Source LLMs
I’ll walk through the stack I landed on, with code you can actually run. For context, I used sentence-transformers for embeddings and llama.cpp (via llama-cpp-python) for the LLM. I chose these because they’re popular, actively maintained, and don’t require a GPU (though you’ll want one if your docs are big).
-
Medical RAG Research with txtai
Substitute your own embeddings database to change the knowledge base. txtai supports running local LLMs via transformers or llama.cpp. It also supports a wide variety of LLMs via LiteLLM. For example, setting the 2nd RAG pipeline parameter below to gpt-4o along with the appropriate environment variables with access keys switches to a hosted LLM. See this documentation page for more on this.
-
Failed to load shared library 'llama.dll': Could not find (llama-cpp-python)
If you're working with LLMs and trying out llama-cpp-python, you might run into some frustrating issues on Windows — especially when installing or importing the package.
-
Apple reveals M3 Ultra, taking Apple Silicon to a new extreme
Ah, I didn’t realize they’d upped the memory bandwidth to DDR5-6000 (vs 4800), thanks for the correction!
The memory bandwidth does not double, I believe. See this random issue for a graph that has single/dual socket measurements, there is essentially no difference: https://github.com/abetlen/llama-cpp-python/issues/1098
Perhaps this is incorrect now, but I also know with 2x 4090s you don’t get higher tokens per second than 1x 4090 with llama.cpp, just more memory capacity.
- Knowledge graphs using Ollama and Embeddings to answer and visualizing queries
- Python Bindings for Llama.cpp
-
Ollama v0.1.33 with Llama 3, Phi 3, and Qwen 110B
There's a Python binding for llama.cpp which is actively maintained and has worked well for me: https://github.com/abetlen/llama-cpp-python
- FLaNK AI for 11 March 2024
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Nov 2026
Stats
abetlen/llama-cpp-python is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of llama-cpp-python is Python.
Popular Comparisons
- llama-cpp-python VS llama.cpp
- llama-cpp-python VS mlc-llm
- llama-cpp-python VS ollama
- llama-cpp-python VS ctransformers
- llama-cpp-python VS textgen
- llama-cpp-python VS lmdeploy
- llama-cpp-python VS guidance
- llama-cpp-python VS intel-extension-for-pytorch
- llama-cpp-python VS aider
- llama-cpp-python VS continue