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