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
d627a3d8
Unverified
Commit
d627a3d8
authored
Apr 29, 2024
by
Michael Goin
Committed by
GitHub
Apr 29, 2024
Browse files
[Misc] Upgrade to `torch==2.3.0` (#4454)
parent
f4f921b7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
.github/workflows/publish.yml
.github/workflows/publish.yml
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
Dockerfile
Dockerfile
+1
-1
pyproject.toml
pyproject.toml
+1
-1
requirements-build.txt
requirements-build.txt
+1
-1
requirements-cpu.txt
requirements-cpu.txt
+1
-1
requirements-cuda.txt
requirements-cuda.txt
+2
-2
No files found.
.github/workflows/publish.yml
View file @
d627a3d8
...
...
@@ -49,7 +49,7 @@ jobs:
matrix
:
os
:
[
'
ubuntu-20.04'
]
python-version
:
[
'
3.8'
,
'
3.9'
,
'
3.10'
,
'
3.11'
]
pytorch-version
:
[
'
2.
2.1
'
]
# Must be the most recent version that meets requirements-cuda.txt.
pytorch-version
:
[
'
2.
3.0
'
]
# Must be the most recent version that meets requirements-cuda.txt.
cuda-version
:
[
'
11.8'
,
'
12.1'
]
steps
:
...
...
CMakeLists.txt
View file @
d627a3d8
...
...
@@ -31,7 +31,7 @@ set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx11
# requirements.txt files and should be kept consistent. The ROCm torch
# versions are derived from Dockerfile.rocm
#
set
(
TORCH_SUPPORTED_VERSION_CUDA
"2.
2.1
"
)
set
(
TORCH_SUPPORTED_VERSION_CUDA
"2.
3.0
"
)
set
(
TORCH_SUPPORTED_VERSION_ROCM_5X
"2.0.1"
)
set
(
TORCH_SUPPORTED_VERSION_ROCM_6X
"2.1.1"
)
...
...
Dockerfile
View file @
d627a3d8
...
...
@@ -85,7 +85,7 @@ FROM dev as flash-attn-builder
ARG
max_jobs=2
ENV
MAX_JOBS=${max_jobs}
# flash attention version
ARG
flash_attn_version=v2.5.
6
ARG
flash_attn_version=v2.5.
8
ENV
FLASH_ATTN_VERSION=${flash_attn_version}
WORKDIR
/usr/src/flash-attention-v2
...
...
pyproject.toml
View file @
d627a3d8
...
...
@@ -5,7 +5,7 @@ requires = [
"ninja"
,
"packaging"
,
"setuptools >= 49.4.0"
,
"torch == 2.
2.1
"
,
"torch == 2.
3.0
"
,
"wheel"
,
]
build-backend
=
"setuptools.build_meta"
...
...
requirements-build.txt
View file @
d627a3d8
...
...
@@ -3,5 +3,5 @@ cmake>=3.21
ninja
packaging
setuptools>=49.4.0
torch==2.
2.1
torch==2.
3.0
wheel
requirements-cpu.txt
View file @
d627a3d8
...
...
@@ -2,5 +2,5 @@
-r requirements-common.txt
# Dependencies for x86_64 CPUs
torch == 2.
2.1
+cpu
torch == 2.
3.0
+cpu
triton >= 2.2.0 # FIXME(woosuk): This is a hack to avoid import error.
\ No newline at end of file
requirements-cuda.txt
View file @
d627a3d8
...
...
@@ -5,5 +5,5 @@
ray >= 2.9
nvidia-ml-py # for pynvml package
vllm-nccl-cu12>=2.18,<2.19 # for downloading nccl library
torch == 2.
2.1
xformers == 0.0.2
5
# Requires PyTorch 2.
2.1
torch == 2.
3.0
xformers == 0.0.2
6.post1
# Requires PyTorch 2.
3.0
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