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
7dc0e394
Unverified
Commit
7dc0e394
authored
May 31, 2025
by
Qiaolin Yu
Committed by
GitHub
May 31, 2025
Browse files
Bump torch to 2.7.0 (#6788)
parent
fb507b7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
docker/Dockerfile.blackwell
docker/Dockerfile.blackwell
+1
-1
python/pyproject.toml
python/pyproject.toml
+2
-2
sgl-kernel/build.sh
sgl-kernel/build.sh
+1
-1
No files found.
docker/Dockerfile.blackwell
View file @
7dc0e394
...
@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive
...
@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /sgl-workspace
WORKDIR /sgl-workspace
RUN pip3 install
--pre torch
torchvision torchaudio --index-url https://download.pytorch.org/whl/
nightly/
cu128
RUN pip3 install
torch==2.7.0
torchvision
==0.22.0
torchaudio
==2.7.0
--index-url https://download.pytorch.org/whl/cu128
RUN pip3 install https://github.com/sgl-project/whl/releases/download/v0.1.4/sgl_kernel-0.1.4+cu128-cp39-abi3-manylinux2014_x86_64.whl \
RUN pip3 install https://github.com/sgl-project/whl/releases/download/v0.1.4/sgl_kernel-0.1.4+cu128-cp39-abi3-manylinux2014_x86_64.whl \
&& pip3 install setuptools==75.0.0 wheel==0.41.0 scikit-build-core
&& pip3 install setuptools==75.0.0 wheel==0.41.0 scikit-build-core
...
...
python/pyproject.toml
View file @
7dc0e394
...
@@ -61,8 +61,8 @@ srt = [
...
@@ -61,8 +61,8 @@ srt = [
blackwell
=
[
blackwell
=
[
"sglang[runtime_common]"
,
"sglang[runtime_common]"
,
"sgl-kernel"
,
"sgl-kernel"
,
"torch"
,
"torch
==2.7.0
"
,
"torchvision"
,
"torchvision
==0.22.0
"
,
"cuda-python"
,
"cuda-python"
,
"outlines>=0.0.44,<=0.1.11"
,
"outlines>=0.0.44,<=0.1.11"
,
"einops"
,
"einops"
,
...
...
sgl-kernel/build.sh
View file @
7dc0e394
...
@@ -26,7 +26,7 @@ fi
...
@@ -26,7 +26,7 @@ fi
if
[
${
CUDA_VERSION
}
=
"12.8"
]
;
then
if
[
${
CUDA_VERSION
}
=
"12.8"
]
;
then
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir
--pre torch
--index-url https://download.pytorch.org/whl/
nightly/
cu
${
CUDA_VERSION
//.
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir
torch==2.7.0
--index-url https://download.pytorch.org/whl/cu
${
CUDA_VERSION
//.
}
"
else
else
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
DOCKER_IMAGE
=
"
${
BUILDER_NAME
}
:cuda
${
CUDA_VERSION
}
"
TORCH_INSTALL
=
"pip install --no-cache-dir torch==2.6.0 --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
//.
}
"
...
...
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