talira

ExLlamaV2

A fast inference library for running LLMs locally on consumer GPUs

open sourceMITself-hostablefree

ExLlamaV2's makers archived or ended it.

Its README says the project is archived for now and development continues on ExLlamaV3.

ExLlamaV2 is an open source Python and CUDA library for running quantised large language models locally on modern consumer GPUs, with its EXL2 quantisation format, a dynamic generator with batching, prompt caching, K/V cache deduplication and speculative decoding, Q4 cache quantisation and paged attention through Flash Attention. TabbyAPI is its recommended server, with an OpenAI-compatible API. Its README says the project is archived for now and development continues on ExLlamaV3.

Problems it solves

  • run a quantised LLM fast on my own gaming GPU
  • fit a bigger local model into my GPU's VRAM with low-bit quantisation
  • serve several local LLM requests at once on one GPU with batching

Features

  • EXL2 quantised model inference on consumer GPUs
  • dynamic generator with batching, smart prompt caching and K/V cache deduplication
  • speculative decoding
  • Q4 cache quantisation
  • paged attention with Flash Attention 2.5.7+
  • streamed generation with asyncio

Alternatives

The same job

These do what ExLlamaV2 does.

  1. vLLM A high-throughput and memory-efficient inference and serving engine for LLMs
  2. llama.cpp LLM inference in C/C++
  3. SGLang Fast inference for LLMs and multimodal models
  4. TensorRT-LLM Optimized LLM and visual generation inference on NVIDIA GPUs

Compare ExLlamaV2 with the top 3