本地大模型运行MITPython

ExLlamaV2

Fast inference library for running LLMs on consumer NVIDIA GPUs.

Star 数
4.7K
Fork 数
353
未关闭 Issue
163
最近提交
2026-03-04

数据来自 GitHub API · 更新于 2026-11-30

ExLlamaV2 是什么?

ExLlamaV2 is an inference library optimized for modern consumer GPUs. Its EXL2 format allows mixed bit rates from 2 to 8 bits per weight, so large models fit into limited VRAM with good quality. TabbyAPI wraps it in an OpenAI-compatible server.

主要功能

  • EXL2 quantization with flexible bitrates
  • High tokens/s on RTX GPUs
  • Dynamic batching generator
  • Used by TabbyAPI and text-generation-webui

系统要求

平台
Windows · Linux
显卡
NVIDIA (CUDA) or AMD (ROCm)
Python
3.8+

如何安装 ExLlamaV2

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

pip

  1. 1
    Install the library (prebuilt wheels are also on the Releases page).
    pip install exllamav2

优势

  • Excellent speed per VRAM
  • Fine-grained quantization

不足

  • GPU only
  • Fewer models published in EXL2 than GGUF

ExLlamaV2 替代品对比

软件Star 数许可证平台显存
ExLlamaV2

Fast inference library for running LLMs on consumer NVIDIA GPUs.

4.7KMIT—
llama.cpp

LLM inference in C/C++ — the engine behind most local AI apps.

136.7KMIT—
Text Generation WebUI

The “AUTOMATIC1111 of text generation” — a Gradio UI for local LLMs.

47.8KAGPL-3.0—
vLLM

High-throughput LLM serving engine with PagedAttention.

97.9KApache-2.0—
Ollama

Get up and running with large language models locally.

188.6KMIT—
Jan

Open-source ChatGPT-style desktop app that runs 100% offline.

46.3KAGPL-3.0—

常见问题

ExLlamaV2 免费吗?

是的——ExLlamaV2 是开源软件,采用 MIT 许可证。商用前请确认软件及模型权重的许可条款。

ExLlamaV2 支持 Windows、Mac 和 Linux 吗?

ExLlamaV2 支持:Windows, Linux。

运行 ExLlamaV2 需要什么配置?

NVIDIA (CUDA) or AMD (ROCm)

如何安装 ExLlamaV2?

1. Install the library (prebuilt wheels are also on the Releases page).

ExLlamaV2 有哪些好的替代品?

常见替代品包括 llama.cpp, Text Generation WebUI, vLLM, Ollama,详见本页对比表。