guqiong96/Lsglang
Lsglang is a special extension of sglang that fully utilizes CPU and GPU computing resources with an efficient GPU parallel + NUMA parallel architecture, suitable for MOE model hybrid inference.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
🚀 Lsglang: Song song GPU + NUMA cho inference MoE siêu hiệu quả
Lsglang là bản mở rộng đặc biệt của sglang, kết hợp song song GPU và NUMA để tận dụng tối đa tài nguyên CPU và GPU, phù hợp cho inference mô hình MoE.
Lsglang dựa trên mã nguồn sglang mới nhất, thiết kế lại mô-đun inference MoE lai, đảm bảo tương thích hoàn toàn với sglang. Dự án hỗ trợ ba chế độ tính toán: lai CPU-GPU giải mã, lai CPU-GPU tiền xử lý, và chỉ GPU tiền xử lý.
✨ Điểm nổi bật
- Song song GPU + NUMA: Hỗ trợ 3 chế độ: lai CPU-GPU giải mã, lai CPU-GPU prefill, prefill chỉ GPU
- Cân bằng VRAM + Memory: Dung lượng mô hình = VRAM + memory, tận dụng 100% VRAM
- Tối ưu GPU prefill: Chạy song song với giải mã lai CPU-GPU, đạt gần 100% GPU utilization
- Tối ưu NUMA threads: Truyền thông giữa node < 3%, L3 cache hit > 50%, GPU load 33-50% khi giải mã
💡 Vì sao đáng chú ý
Khác biệt với sglang gốc, Lsglang tận dụng kiến trúc song phòng GPU và NUMA để giảm đáng kể chi phí truyền thông giữa các nút, đồng thời tối động phân phối tải trọng mô hình trên cả VRAM và RAM. Phù hợp cho các mô hình MoE lớn như Qwen3, GLM, MiniMax.
#Lsglang #sglang #MoE #GPU #NUMA #AI #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.
LvLLM is a special NUMA extension of vllm that makes full use of CPU and memory resources, reduces GPU memory requirements, and features an efficient GPU parallel and NUMA parallel architecture, supporting hybrid inference for MOE large models.
DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
SGLang is a high-performance serving framework for large language models and multimodal models.
FreeToken brings datacenter-scale model serving to your desktop. Run massive models locally, fast and efficiently.
The Triton Inference Server provides an optimized cloud and edge inferencing solution.
State of the art inference performance with modern accelerators on Kubernetes
Pre-trained Deep Learning models and demos (high quality and extremely fast)
Pre-trained Deep Learning models and demos (high quality and extremely fast)
A from-scratch Prefill/Decode disaggregation inference engine for LLMs