Skip to content

Commit d93478b

Browse files
authored
[Bugfix] Upgrade to pytorch 2.5.1 (vllm-project#10001)
Signed-off-by: Bill Nell <[email protected]>
1 parent ac04a97 commit d93478b

7 files changed

+11
-11
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx11
4949
# requirements.txt files and should be kept consistent. The ROCm torch
5050
# versions are derived from Dockerfile.rocm
5151
#
52-
set(TORCH_SUPPORTED_VERSION_CUDA "2.5.0")
53-
set(TORCH_SUPPORTED_VERSION_ROCM "2.5.0")
52+
set(TORCH_SUPPORTED_VERSION_CUDA "2.5.1")
53+
set(TORCH_SUPPORTED_VERSION_ROCM "2.5.1")
5454

5555
#
5656
# Try to find python package with an executable that exactly matches

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = [
66
"packaging",
77
"setuptools>=61",
88
"setuptools-scm>=8.0",
9-
"torch == 2.5.0",
9+
"torch == 2.5.1",
1010
"wheel",
1111
"jinja2",
1212
]

requirements-build.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ ninja
44
packaging
55
setuptools>=61
66
setuptools-scm>=8
7-
torch==2.5.0
7+
torch==2.5.1
88
wheel
99
jinja2

requirements-cuda.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Dependencies for NVIDIA GPUs
55
ray >= 2.9
66
nvidia-ml-py >= 12.560.30 # for pynvml package
7-
torch == 2.5.0
7+
torch == 2.5.1
88
# These must be updated alongside torch
9-
torchvision == 0.20 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
10-
xformers == 0.0.28.post2; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch 2.5.0
9+
torchvision == 0.20.1 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
10+
xformers == 0.0.28.post3; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch 2.5.1

requirements-openvino.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Common dependencies
22
-r requirements-common.txt
33

4-
torch == 2.5.0 # should be aligned with "common" vLLM torch version
4+
torch == 2.5.1 # should be aligned with "common" vLLM torch version
55
openvino >= 2024.4.0 # since 2024.4.0 both CPU and GPU support Paged Attention
66

77
optimum @ git+https://github.com/huggingface/optimum.git@main # latest optimum is used to support latest transformers version

requirements-test.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ray[adag]==2.35
1818
sentence-transformers # required for embedding
1919
soundfile # required for audio test
2020
timm # required for internvl test
21-
torch==2.5.0
21+
torch==2.5.1
2222
transformers_stream_generator # required for qwen-vl test
2323
matplotlib # required for qwen-vl test
2424
datamodel_code_generator # required for minicpm3 test

requirements-test.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ timm==1.0.11
492492
# via -r requirements-test.in
493493
tokenizers==0.20.1
494494
# via transformers
495-
torch==2.5.0
495+
torch==2.5.1
496496
# via
497497
# -r requirements-test.in
498498
# accelerate
@@ -503,7 +503,7 @@ torch==2.5.0
503503
# tensorizer
504504
# timm
505505
# torchvision
506-
torchvision==0.20.0
506+
torchvision==0.20.1
507507
# via timm
508508
tqdm==4.66.6
509509
# via

0 commit comments

Comments
 (0)