Skip to main content
This document describes how to run SGLang on Moore Threads GPUs. If you encounter issues or have questions, please open an issue. SGLang uses the MUSA runtime through torch_musa and torchada. The python[all_musa] extra installs the MUSA torch, Triton, TileLang, MATE, and runtime Python stack from the Moore Threads package index, with public PyPI as the fallback for common Python dependencies.

Prerequisites

Install the Moore Threads driver and MUSA toolkit before installing SGLang. For MTT S5000, follow the official driver installation guide.

Install SGLang

You can install SGLang using one of the methods below.

Install from Source

Start from an environment with the prerequisites above installed.
Command

Install Using Docker

The Dockerfile installs the MUSA runtime and Python stack declared by python/pyproject_other.toml.
Command
Run the image with MUSA devices exposed by the host container toolkit.
Command
Launch the server:
Command
When the server displays The server is fired up and ready to roll!, startup is successful.

Verify

You can send an OpenAI-compatible request to the engine:
Command
Or run a benchmark:
Command