Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
cbbd685a
Unverified
Commit
cbbd685a
authored
Aug 06, 2025
by
Yineng Zhang
Committed by
GitHub
Aug 06, 2025
Browse files
chore: use torch 2.8 stable (#8880)
parent
78aad910
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
docker/Dockerfile
docker/Dockerfile
+1
-1
scripts/ci_install_dependency.sh
scripts/ci_install_dependency.sh
+1
-1
sgl-kernel/build.sh
sgl-kernel/build.sh
+3
-3
No files found.
docker/Dockerfile
View file @
cbbd685a
...
...
@@ -69,7 +69,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel html5li
12.9.1
)
CUINDEX
=
129
;;
\
*
)
echo
"Unsupported CUDA version:
$CUDA_VERSION
"
&&
exit
1
;;
\
esac
\
&&
python3
-m
pip
install
--no-cache-dir
-e
"python[
${
BUILD_TYPE
}
]"
--extra-index-url
https://download.pytorch.org/whl/
test/
cu
${
CUINDEX
}
\
&&
python3
-m
pip
install
--no-cache-dir
-e
"python[
${
BUILD_TYPE
}
]"
--extra-index-url
https://download.pytorch.org/whl/cu
${
CUINDEX
}
\
&&
python3
-m
pip
install
--no-cache-dir
nvidia-nccl-cu12
==
2.27.6
--force-reinstall
--no-deps
\
&&
if
[
"
$CUDA_VERSION
"
=
"12.8.1"
]
;
then
\
python3
-m
pip
install
--no-cache-dir
https://github.com/sgl-project/whl/releases/download/v0.3.2/sgl_kernel-0.3.2+cu128-cp39-abi3-manylinux2014_x86_64.whl
--force-reinstall
--no-deps
;
\
...
...
scripts/ci_install_dependency.sh
View file @
cbbd685a
...
...
@@ -32,7 +32,7 @@ rm -rf /usr/local/lib/python3.10/dist-packages/flashinfer*
rm
-rf
/usr/local/lib/python3.10/dist-packages/sgl_kernel
*
# Install the main package
pip
install
-e
"python[dev]"
--extra-index-url
https://download.pytorch.org/whl/
test/
${
CU_VERSION
}
--break-system-packages
pip
install
-e
"python[dev]"
--extra-index-url
https://download.pytorch.org/whl/
${
CU_VERSION
}
--break-system-packages
# Show current packages
pip list
...
...
sgl-kernel/build.sh
View file @
cbbd685a
...
...
@@ -23,13 +23,13 @@ fi
if
[
${
CUDA_VERSION
}
=
"12.9"
]
;
then
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/
test/
cu129"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/cu129"
elif
[
${
CUDA_VERSION
}
=
"12.8"
]
;
then
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/
test/
cu128"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/cu128"
else
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/
test/
cu126"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/cu126"
fi
docker run
--rm
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment