SGLang
Multi-request GPU serving with prefix caching and speculative decoding
一手來源安裝方式取決於作業系統。以下指令是範例或範本,請先替換佔位符並核對量化版本、檔案格式、驅動與執行環境支援;記憶體適配不保證部署成功。
- 1安裝
pip install uv && uv pip install --prerelease=allow sglang - 2啟動模型
python3 -m sglang.launch_server --model-path <verified-checkpoint> --port 30000 - 3連接你的應用
OpenAI-compatible + native runtime API · :30000. 除非加入驗證與網路存取控制,否則請將服務綁定到 localhost。
Each platform is a separate lane with its own floors. The current NVIDIA lane is CUDA 13, and the CUDA 12 lane is retired as of v0.5.20 (2026-09-18): that release publishes no -cu129/-cu12 wheels or images, and v0.5.19 is the last release that had one, so an older driver needs the 0.5.19 tag rather than the newest build. Apple Silicon is its own documented lane: its guide requires macOS 14 or newer, stable PyTorch 2.13.x and MLX 0.32.0 or newer, starts with SGLANG_USE_MLX=1 and --disable-cuda-graph instead of the command above, and loads an mlx-community 4-bit/8-bit repo directly or quantizes an fp16 checkpoint on the fly with --quantization mlx_q4; v0.5.22 (2026-10-19) additionally lists the standard PyTorch backend running alongside MLX. ROCm, Intel XPU and Xeon CPU are documented separately too, so support on one lane is not proof for another; Qwen3.8-Flash-Next ships as day-0 images per platform (CUDA, the DGX Spark / RTX PRO 6000 build, and a CDNA4 ROCm build) rather than as one universal image.
代表性開放權重模型
Qwen3.8 Flash Next
English- 估算記憶體
- ~108 GB
- 上下文
- 262,144 native; 1M extended
Ling-3.0-flash
English- 估算記憶體
- ~74.4 GB
- 上下文
- Check selected runtime and checkpoint
Nex-N2.5-mini
English- 估算記憶體
- ~21 GB
- 上下文
- 262,144 (config max_position_embeddings)
Qwen3.6 27B
- 估算記憶體
- ~18.5 GB
- 上下文
- 262K native
Qwen3.8 27B
- 估算記憶體
- ~19.5 GB
- 上下文
- 262K native
Qwen3.6 35B-A3B
- 估算記憶體
- ~25 GB
- 上下文
- 262K native