Skip to main content
This document describes how to run SGLang on T-HEAD SAILs. If you encounter issues or have questions, please open an issue.

Prerequisites

Install the T-HEAD SAIL driver and the PPU SDK before installing SGLang, and export the PPU_SDK environment variable pointing at the SDK installation (for example, /usr/local/PPU_SDK). The Triton SAIL backend requires this variable when compiling kernels at runtime. Verify that the device is visible:
Command

Install SGLang

Install from Source

Start from an environment with the prerequisites above installed.
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