lorax
Multi-LoRA inference server that scales to 1000s of fine-tuned LLMs
Fork A fork of predibase/lorax; the README may describe the upstream project.
Overview
LoRAX: Multi-LoRA inference server that scales to 1000s of fine-tuned LLMs
LoRAX (LoRA eXchange) is a framework that allows users to serve thousands of fine-tuned models on a single GPU, dramatically reducing the cost of serving without compromising on throughput or latency.
Serving a fine-tuned model with LoRAX consists of two components:
LoRAX supports a number of Large Language Models as the base model including Llama (including CodeLlama), Mistral (including Zephyr), and Qwen. See Supported Architectures for a complete list of supported base models.
Base models can be loaded in fp16 or quantized with bitsandbytes, GPT-Q, or AWQ.
Supported adapters include LoRA adapters trained using the PEFT and Ludwig libraries. Any of the linear layers in the model can be adapted via LoRA and loaded in LoRAX.
The minimum system requirements need to run LoRAX include:
See OpenAI Compatible API for details.
From the project’s README on GitHub.
At a glance
| Repository | Kentucky-Open-Science/lorax |
|---|---|
| Research area | Forks of other projects |
| Primary language | Python |
| Languages | Python 70.2%, Rust 15.9%, Cuda 10.8%, C++ 1.9%, Dockerfile 0.4%, Shell 0.4% |
| License | Apache-2.0 |
| Stars / forks | 0 / 0 |
| Open issues and pull requests | 17 |
| Created | 2024-07-02 |
| Last push | 2026-04-16 |
| Default branch | main |
| Homepage | https://loraexchange.ai |
| Forked from | predibase/lorax — Multi-LoRA inference server that scales to 1000s of fine-tuned LLMs |
What the README covers
- π Table of contents
- π³ Features
- π Models
- πββοΈ Getting Started
- Requirements
- Launch LoRAX Server
- Prompt via REST API
- Prompt via Python Client
- Chat via OpenAI API
- Next steps
- π Acknowledgements
- πΊοΈ Roadmap
Top contributors
- @OlivierDehaene (268 commits)
- @tgaddair (174 commits)
- @geoffreyangus (43 commits)
- @Narsil (42 commits)
- @noah-yoshida (26 commits)
- @magdyksaleh (23 commits)
- @flozi00 (21 commits)
- @jeffreyftang (18 commits)
- @codybum (15 commits)
- @njhill (13 commits)
Get the code
git clone https://github.com/Kentucky-Open-Science/lorax.git