LoRAX

Inference server that batches thousands of LoRA adapters on one GPU with dynamic loading.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

Serving one fine-tune per GPU gets expensive fast, and LoRAX exists to fix that: Predibase's inference server, derived from Hugging Face's text-generation-inference, dynamically loads LoRA adapters from Hugging Face, Predibase, or local files and batches requests for thousands of different adapters on a single GPU. Heterogeneous continuous batching mixes adapters inside one batch without stalling throughput, while adapter exchange scheduling pages adapters between GPU and CPU memory asynchronously. The stack includes tensor parallelism, pre-compiled CUDA kernels with flash attention and paged attention, quantization via bitsandbytes, GPTQ, and AWQ, an OpenAI-compatible API with multi-turn chat, and production tooling: Docker images, Kubernetes Helm charts, Prometheus metrics, and OpenTelemetry tracing. Running it requires Linux, an NVIDIA GPU of Ampere generation or newer, and CUDA 11.8 compatible drivers, typically launched with a single docker run command. The code is Apache-2.0 licensed with about 3.8k GitHub stars, and adapters trained with PEFT or Ludwig work directly.

Should you use LoRAX?

Pick it when

You serve many LoRA fine-tunes of one base model, such as per-customer adapters in a multi-tenant product, and want them batched together on a single Ampere-or-newer NVIDIA GPU instead of paying for one deployment per fine-tune.

Look elsewhere when

Skip it if you serve one or two models without adapters, where vLLM or SGLang give broader model coverage and bigger communities, or if you lack Linux and an Ampere-class NVIDIA card, which LoRAX requires.

Alternatives to LoRAX

  • vLLM

    Wider model coverage and a much larger community; the better default when you serve a few base models and adapter density is not the main cost driver.

  • AIBrix

    Brings high-density LoRA management to a whole Kubernetes vLLM fleet, but needs a cluster and far more operations work than one LoRAX container.

  • Aphrodite Engine

    Also handles LoRA and targets chat front ends, but its AGPL-3.0 license is more restrictive than LoRAX's Apache-2.0 for commercial products.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags