Skip to content

Commit 0d75d9e

Browse files
authored
Add CUDA 12.1 builds (#7533)
Windows CUDA-12.1 failures are expected
1 parent 2925df7 commit 0d75d9e

File tree

5 files changed

+255
-25
lines changed

5 files changed

+255
-25
lines changed

.circleci/config.yml

+228
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/regenerate.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
3232
for os_type in ["linux", "macos", "win"]:
3333
python_versions = PYTHON_VERSIONS
3434
cu_versions_dict = {
35-
"linux": ["cpu", "cu117", "cu118", "rocm5.2", "rocm5.3"],
36-
"win": ["cpu", "cu117", "cu118"],
35+
"linux": ["cpu", "cu117", "cu118", "cu121", "rocm5.2", "rocm5.3"],
36+
"win": ["cpu", "cu117", "cu118", "cu121"],
3737
"macos": ["cpu"],
3838
}
3939
cu_versions = cu_versions_dict[os_type]
@@ -109,6 +109,7 @@ def workflow_pair(btype, os_type, python_version, cu_version, unicode, prefix=""
109109
manylinux_images = {
110110
"cu117": "pytorch/manylinux-cuda117",
111111
"cu118": "pytorch/manylinux-cuda118",
112+
"cu121": "pytorch/manylinux-cuda121",
112113
}
113114

114115

.circleci/unittest/windows/scripts/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525
fi
2626

2727
cuda_toolkit_pckg="cudatoolkit"
28-
if [[ $CUDA_VERSION == 11.6 || $CUDA_VERSION == 11.7 || $CUDA_VERSION == 11.8 ]]; then
28+
if [[ $CUDA_VERSION == 11.6 || $CUDA_VERSION == 11.7 || $CUDA_VERSION == 11.8 || $CUDA_VERSION == 12.1 ]]; then
2929
cuda_toolkit_pckg="pytorch-cuda"
3030
fi
3131

0 commit comments

Comments
 (0)