Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4e7dfbe7
Unverified
Commit
4e7dfbe7
authored
Jul 16, 2025
by
Michael Goin
Committed by
GitHub
Jul 17, 2025
Browse files
Update PyTorch to `torch==2.7.1` for CUDA (#21011)
Signed-off-by:
mgoin
<
mgoin64@gmail.com
>
parent
72ad2735
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
+17
-17
CMakeLists.txt
CMakeLists.txt
+1
-1
pyproject.toml
pyproject.toml
+1
-1
requirements/build.txt
requirements/build.txt
+1
-1
requirements/cuda.txt
requirements/cuda.txt
+5
-5
requirements/test.in
requirements/test.in
+3
-3
requirements/test.txt
requirements/test.txt
+4
-4
tests/entrypoints/openai/test_vision.py
tests/entrypoints/openai/test_vision.py
+2
-2
No files found.
CMakeLists.txt
View file @
4e7dfbe7
...
...
@@ -45,7 +45,7 @@ set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1030;gfx1100;gfx1
# requirements.txt files and should be kept consistent. The ROCm torch
# versions are derived from docker/Dockerfile.rocm
#
set
(
TORCH_SUPPORTED_VERSION_CUDA
"2.7.
0
"
)
set
(
TORCH_SUPPORTED_VERSION_CUDA
"2.7.
1
"
)
set
(
TORCH_SUPPORTED_VERSION_ROCM
"2.7.0"
)
#
...
...
pyproject.toml
View file @
4e7dfbe7
...
...
@@ -6,7 +6,7 @@ requires = [
"packaging>=24.2"
,
"setuptools>=77.0.3,<80.0.0"
,
"setuptools-scm>=8.0"
,
"torch == 2.7.
0
"
,
"torch == 2.7.
1
"
,
"wheel"
,
"jinja2"
,
]
...
...
requirements/build.txt
View file @
4e7dfbe7
...
...
@@ -4,7 +4,7 @@ ninja
packaging>=24.2
setuptools>=77.0.3,<80.0.0
setuptools-scm>=8
torch==2.7.
0
torch==2.7.
1
wheel
jinja2>=3.1.6
regex
requirements/cuda.txt
View file @
4e7dfbe7
...
...
@@ -6,9 +6,9 @@ numba == 0.61.2; python_version > '3.9'
# Dependencies for NVIDIA GPUs
ray[cgraph]>=2.43.0, !=2.44.* # Ray Compiled Graph, required for pipeline parallelism in V1.
torch==2.7.
0
torchaudio==2.7.
0
torch==2.7.
1
torchaudio==2.7.
1
# These must be updated alongside torch
torchvision==0.22.
0
# Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.3
0
xformers==0.0.3
0
; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7
torchvision==0.22.
1
# Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.3
1
xformers==0.0.3
1
; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7
requirements/test.in
View file @
4e7dfbe7
...
...
@@ -22,9 +22,9 @@ sentence-transformers # required for embedding tests
soundfile # required for audio tests
jiwer # required for audio tests
timm # required for internvl test
torch==2.7.
0
torchaudio==2.7.
0
torchvision==0.22.
0
torch==2.7.
1
torchaudio==2.7.
1
torchvision==0.22.
1
transformers_stream_generator # required for qwen-vl test
mamba_ssm # required for plamo2 test
matplotlib # required for qwen-vl test
...
...
requirements/test.txt
View file @
4e7dfbe7
...
...
@@ -762,7 +762,7 @@ tomli==2.2.1
# via schemathesis
tomli-w==1.2.0
# via schemathesis
torch==2.7.
0
+cu128
torch==2.7.
1
+cu128
# via
# -r requirements/test.in
# accelerate
...
...
@@ -781,12 +781,12 @@ torch==2.7.0+cu128
# torchvision
# vector-quantize-pytorch
# vocos
torchaudio==2.7.
0
+cu128
torchaudio==2.7.
1
+cu128
# via
# -r requirements/test.in
# encodec
# vocos
torchvision==0.22.
0
+cu128
torchvision==0.22.
1
+cu128
# via
# -r requirements/test.in
# timm
...
...
@@ -816,7 +816,7 @@ transformers==4.53.2
# transformers-stream-generator
transformers-stream-generator==0.0.5
# via -r requirements/test.in
triton==3.3.
0
triton==3.3.
1
# via torch
tritonclient==2.51.0
# via
...
...
tests/entrypoints/openai/test_vision.py
View file @
4e7dfbe7
...
...
@@ -36,11 +36,11 @@ EXPECTED_MM_BEAM_SEARCH_RES = [
],
[
"The image shows a Venn diagram with three over"
,
"Th
is
image shows a Venn diagram with three
over
"
,
"Th
e
image shows a Venn diagram with three
intersect
"
,
],
[
"This image displays a gradient of colors ranging from"
,
"Th
is
image displays a gradient of colors
t
ran
sition
ing from"
,
"Th
e
image displays a gradient of colors ran
g
ing from"
,
],
]
...
...
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