llama-cpp-python
KoboldAI | llama-cpp-python | |
---|---|---|
58 | 55 | |
150 | 6,658 | |
- | - | |
8.6 | 9.8 | |
7 months ago | 3 days ago | |
Python | Python | |
GNU Affero General Public License v3.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
KoboldAI
- Any good models with 6gb vram?
- for some reasons, i can't download AI models from Kobold, how can i download them individually?
-
ChatGPT users drop for the first time as people turn to uncensored chatbots
Pygmalion for chatting, Erebus for story writing, Wizard Vicuna Uncensored for general use including chatting, story writing or instructing, to name a few. There's lots more, but most are just the raw models that users are expected to load themselves so there isn't anything quite like ChatGPT where you just load up a single website and have all of them there. You'll either have to set up a local install using KoboldAI for running only on GPU, KoboldCPP for running only on CPU with optional splitting between CPU and GPU, or Oobabooga for CPU, GPU and splitting between CPU and GPU, if you have a powerful enough PC to run these models yourself (a PC with a 3090 can load up to a 30B model entirely in GPU, or a 65B model if you have 64GBs of RAM and a decently powerful CPU). If you don't have a powerful enough PC then you'll have to use something like KoboldAI Lite (website version) or SillyTavern to use the horde, a crowdsourced AI chatbot/LLM runner that lets people provide their hardware for others to use.
- Alr boys, how do I sign into Kobold?
- Poe down so here a meme
- GPU running out of memory despite meeting requirements?
- Any way to get a 13b model running on a 4070?
-
Remote play .bat doesn't work for me how do i fix it?
INFO | __main__:general_startup:1312 - Running on Repo: https://github.com/0cc4m/koboldai Branch: latestgptq
- Help with KoboldAI API not generating responses
-
Anyone tried this promising sounding release? WizardLM-33B-V1.0-Uncensored-SUPERHOT-8K
Occam seems to be trying or adding that into Kobold (https://github.com/0cc4m/KoboldAI/tree/4bit-plugin)
llama-cpp-python
-
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
-
OpenAI: Memory and New Controls for ChatGPT
I'll share the core bit that took a while to figure out the right format, my main script is a hot mess using embeddings with SentenceTransformer, so I won't share that yet. E.g: last night I did a PR for llama-cpp-python that shows how Phi might be used with JSON only for the author to write almost exactly the same code at pretty much the same time. https://github.com/abetlen/llama-cpp-python/pull/1184
-
TinyLlama LLM: A Step-by-Step Guide to Implementing the 1.1B Model on Google Colab
Python Bindings for llama.cpp
- Mistral-8x7B-Chat
-
Running Mistral LLM on Apple Silicon Using Apple's MLX Framework Is Much Faster
If the model could be made to work with llama.cpp, then https://github.com/abetlen/llama-cpp-python might be more compact. llama.cpp only supports a limited list of model types though.
- Run ChatGPT-like LLMs on your laptop in 3 lines of code
-
Code Llama, a state-of-the-art large language model for coding
https://github.com/abetlen/llama-cpp-python has a web server mode that replicates openai's API iirc and the readme shows it has docker builds already.
-
Meta: Code Llama, an AI Tool for Coding
LocalAI https://localai.io/ and LMStudio https://lmstudio.ai/ both have fairly complete OpenAI compatibility layers. llama-cpp-python has a FastAPI server as well: https://github.com/abetlen/llama-cpp-python/blob/main/llama_... (as of this moment it hasn't merged GGUF update yet though)
-
First steps with llama
I went with Python, llama-cpp-python, since my goal is just to get a small project up and running locally.
What are some alternatives?
koboldcpp - A simple one-file way to run various GGML and GGUF models with KoboldAI's UI
LocalAI - :robot: The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.
exllama - A more memory-efficient rewrite of the HF transformers implementation of Llama for use with quantized weights.
intel-extension-for-pytorch - A Python package for extending the official PyTorch that can easily obtain performance on Intel platform
TavernAI - Atmospheric adventure chat for AI language models (KoboldAI, NovelAI, Pygmalion, OpenAI chatgpt, gpt-4)
llama.cpp - LLM inference in C/C++
SillyTavern - LLM Frontend for Power Users.
text-generation-inference - Large Language Model Text Generation Inference
GPTQ-for-LLaMa - 4 bits quantization of LLMs using GPTQ
mlc-llm - Enable everyone to develop, optimize and deploy AI models natively on everyone's devices.
KoboldAI - KoboldAI is generative AI software optimized for fictional use, but capable of much more!
FastChat - An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.