diff --git a/docs_new/docs/get-started/install.mdx b/docs_new/docs/get-started/install.mdx index 8543e840f..6bc70d421 100644 --- a/docs_new/docs/get-started/install.mdx +++ b/docs_new/docs/get-started/install.mdx @@ -25,6 +25,16 @@ pip install uv uv pip install sglang ``` +The major version of Cuda is 13 by default. To install sglang under Cuda 12 with pip or uv, please try the following commands: +```bash Command +pip install --upgrade pip +pip install uv +uv pip install sglang +uv pip install --force-reinstall torch==2.11.0 torchaudio==2.11.0 torchvision --index-url https://download.pytorch.org/whl/cu129 +uv pip install --force-reinstall sglang-kernel --index-url https://docs.sglang.ai/whl/cu129/ +uv pip install --force-reinstall sgl-deep-gemm --index-url https://docs.sglang.ai/whl/cu129/ --no-deps +``` + ### Quick fixes to common problems - If you encounter `OSError: CUDA_HOME environment variable is not set`. Please set it to your CUDA install root with either of the following solutions: 1. Use `export CUDA_HOME=/usr/local/cuda-` to set the `CUDA_HOME` environment variable.