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
a043f7f2
Unverified
Commit
a043f7f2
authored
Apr 29, 2025
by
Yineng Zhang
Committed by
GitHub
Apr 29, 2025
Browse files
chore: use torch 2.6 for sgl-kernel build (#5898)
parent
e3a53044
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
sgl-kernel/build.sh
sgl-kernel/build.sh
+1
-1
sgl-kernel/pyproject.toml
sgl-kernel/pyproject.toml
+1
-1
sgl-kernel/pyproject_rocm.toml
sgl-kernel/pyproject_rocm.toml
+1
-1
No files found.
sgl-kernel/build.sh
View file @
a043f7f2
...
...
@@ -13,7 +13,7 @@ if [ ${CUDA_VERSION} = "12.8" ]; then
TORCH_INSTALL
=
"pip install --no-cache-dir --pre torch --index-url https://download.pytorch.org/whl/nightly/cu
${
CUDA_VERSION
//.
}
"
else
DOCKER_IMAGE
=
"pytorch/manylinux-builder:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.
5.1
--index-url https://download.pytorch.org/whl/cu
${
CUDA_VERSION
//.
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.
6.0
--index-url https://download.pytorch.org/whl/cu
${
CUDA_VERSION
//.
}
"
fi
docker run
--rm
\
...
...
sgl-kernel/pyproject.toml
View file @
a043f7f2
[build-system]
requires
=
[
"scikit-build-core>=0.10"
,
"torch>=2.
5.1
"
,
"torch>=2.
6.0
"
,
"wheel"
,
]
build-backend
=
"scikit_build_core.build"
...
...
sgl-kernel/pyproject_rocm.toml
View file @
a043f7f2
...
...
@@ -2,7 +2,7 @@
requires
=
[
"setuptools>=75.0"
,
"scikit-build-core>=0.10"
,
"torch>=2.
5.1
"
,
"torch>=2.
6.0
"
,
"wheel"
,
]
build-backend
=
"setuptools.build_meta"
...
...
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