predibase/lorax
Multi-LoRA inference server that scales to 1000s of fine-tuned LLMs
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#2 Repository của tuần
#3 Repository của tuần
#4 Repository của tuần
🚀 LoRAX: Phục vụ hàng ngàn mô hình LoRA trên một GPU
LoRAX (LoRA eXchange) là framework phục vụ hàng ngàn mô hình fine-tuned trên một GPU, giảm chi phí phục vụ mà không ảnh hưởng tới throughput hoặc latency.
LoRAX cho phép người dùng triển khai (serve) hàng ngàn mô hình đã được fine-tune bằng LoRA trên một GPU duy nhất. Framework này tối ưu việc tải (load) adapter động, lên lịch (scheduling) và gom hàng (batching) để duy trì hiệu suất cao ngay cả khi số lượng adapter tăng lên.
✨ Điểm nổi bật
- Tải adapter động: tải bất kỳ adapter LoRA nào từ HuggingFace, Predibase, hoặc hệ thống tệp cục bản chỉ trong thời gian thực mà không chặn các yêu cầu khác.
- Gom hàng không đồng nhất liên tục: gom các yêu cầu khác adapter vào cùng một batch, giữ cho latency và throughput gần như không thay đổi khi số lượng adapter đồng thời tăng.
- Lên lịch trao đổi adapter: tải trước (prefetch) và đẩy (offload) adapter giữa bộ nhớ GPU và CPU bất đồng bộ, tối ưu throughput tổng thể.
- Tối ưu suy diễn: hỗ trợ tensor parallelism, flash-attention, paged attention, SGMV, quantization và token streaming.
- Sẵn sàng cho sản xuất: Docker, Helm chart, Prometheus metrics, Open Telemetry, API tương thích OpenAI hỗ trợ chat đa lượt.
- Miễn phí cho thương mại: giấy phép Apache 2.0.
💡 Vì sao đáng chú ý
LoRAX khác biệt so với cách truyền thống là không cần tải toàn bộ mô hình cho mỗi adapter — chỉ cần một mô hình gốc (base model) và tải adapter theo yêu cầu. Điều này giúp tiết kiệm đáng kể chi phí phần cứng và nguồn lượng GPU. Phù hợp cho các ứng dụng cần triển khai nhiều biến thể mô hình như khách hàng, ngôn ngữ, hoặc tác vụ cụ thể.
#Lora #LLM #LLMServing #FineTuning #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
A high-throughput and memory-efficient inference and serving engine for LLMs
Run any open-source LLMs, such as DeepSeek and Llama, as OpenAI compatible API endpoint in the cloud.
The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Community maintained hardware plugin for vLLM on Huawei Ascend
RTP-LLM: Alibaba's high-performance LLM inference engine for diverse applications.
a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.