Skip to content

Commit 652d84c

Browse files
comaniacLeiWang1999
authored andcommitted
[MISC] Upgrade dependency to PyTorch 2.3.1 (vllm-project#5327)
Signed-off-by: LeiWang1999 <leiwang1999@outlook.com>
1 parent b67bc51 commit 652d84c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
matrix:
5050
os: ['ubuntu-20.04']
5151
python-version: ['3.8', '3.9', '3.10', '3.11']
52-
pytorch-version: ['2.3.0'] # Must be the most recent version that meets requirements-cuda.txt.
52+
pytorch-version: ['2.3.1'] # Must be the most recent version that meets requirements-cuda.txt.
5353
cuda-version: ['11.8', '12.1']
5454

5555
steps:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx11
3232
# requirements.txt files and should be kept consistent. The ROCm torch
3333
# versions are derived from Dockerfile.rocm
3434
#
35-
set(TORCH_SUPPORTED_VERSION_CUDA "2.3.0")
35+
set(TORCH_SUPPORTED_VERSION_CUDA "2.3.1")
3636
set(TORCH_SUPPORTED_VERSION_ROCM "2.4.0")
3737

3838
#

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = [
55
"ninja",
66
"packaging",
77
"setuptools >= 49.4.0",
8-
"torch == 2.3.0",
8+
"torch == 2.3.1",
99
"wheel",
1010
]
1111
build-backend = "setuptools.build_meta"

requirements-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ cmake>=3.21
33
ninja
44
packaging
55
setuptools>=49.4.0
6-
torch==2.3.0
6+
torch==2.3.1
77
wheel

requirements-cuda.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Dependencies for NVIDIA GPUs
55
ray >= 2.9
66
nvidia-ml-py # for pynvml package
7-
torch == 2.3.0
7+
torch == 2.3.1
88
# These must be updated alongside torch
9-
torchvision == 0.18.0 # Required for phi3v processor, also see https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
10-
xformers == 0.0.26.post1 # Requires PyTorch 2.3.0
11-
vllm-flash-attn == 2.5.9 # Requires PyTorch 2.3.0
9+
torchvision == 0.18.1 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
10+
xformers == 0.0.27 # Requires PyTorch 2.3.1
11+
vllm-flash-attn == 2.5.9.post1 # Requires PyTorch 2.3.1

0 commit comments

Comments
 (0)