talira

ExLlamaV3

Quantisation and inference library for running LLMs locally on consumer GPUs

open sourceMITself-hostablefree

ExLlamaV3 is an open source Python and CUDA library for running large language models locally on modern consumer GPUs, the successor to ExLlamaV2. It has its own EXL3 quantisation format based on QTIP with 2 to 8 bit cache quantisation, tensor-parallel and expert-parallel inference across several consumer GPUs, CPU offloading with AVX2 and AVX512 so large mixture-of-experts models run on limited GPU memory, continuous dynamic batching, speculative decoding and multimodal models, with broad Hugging Face model support and a Transformers plugin. TabbyAPI is its recommended server, with an OpenAI-compatible API. It needs PyTorch with CUDA 12.4 or later.

Problems it solves

  • run a quantised LLM fast on my own gaming GPU
  • split a large local model across two or more consumer GPUs
  • run a big mixture-of-experts model when it doesn't fit in my VRAM by offloading to the CPU
  • quantise a model to 3 or 4 bits with less quality loss than older formats
  • serve several local LLM requests at once on one GPU with batching

Features

  • EXL3 quantisation based on QTIP
  • 2 to 8 bit cache quantisation
  • tensor-parallel and expert-parallel inference across consumer GPUs
  • CPU offloading for large MoE models, with AVX2 and AVX512
  • continuous dynamic batching and speculative decoding
  • multimodal model support
  • broad Hugging Face architecture support and a Transformers plugin
  • prebuilt wheels for CUDA and PyTorch versions

Alternatives

The same job

These do what ExLlamaV3 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 ExLlamaV3 with the top 3