|
44 | 44 | # manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
|
45 | 45 | os: [ubuntu-20.04]
|
46 | 46 | python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
|
47 |
| - torch-version: ['2.1.2', '2.2.2', '2.3.1', '2.4.0', '2.5.1', '2.6.0'] |
| 47 | + torch-version: ['2.2.2', '2.3.1', '2.4.0', '2.5.1', '2.6.0'] |
48 | 48 | cuda-version: ['12.4.1']
|
49 | 49 | # We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
|
50 | 50 | # Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
|
|
53 | 53 | cxx11_abi: ['FALSE', 'TRUE']
|
54 | 54 | exclude:
|
55 | 55 | # see https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix
|
56 |
| - # Pytorch < 2.2 does not support Python 3.12 |
57 |
| - - torch-version: '2.1.2' |
58 |
| - python-version: '3.12' |
59 | 56 | # Pytorch < 2.5 does not support Python 3.13
|
60 |
| - - torch-version: '2.1.2' |
61 |
| - python-version: '3.13' |
62 | 57 | - torch-version: '2.2.2'
|
63 | 58 | python-version: '3.13'
|
64 | 59 | - torch-version: '2.3.1'
|
@@ -122,8 +117,8 @@ jobs:
|
122 | 117 | # see https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix
|
123 | 118 | # This code is ugly, maybe there's a better way to do this.
|
124 | 119 | export TORCH_CUDA_VERSION=$(python -c "from os import environ as env; \
|
125 |
| - minv = {'2.1': 118, '2.2': 118, '2.3': 118, '2.4': 118, '2.5': 118, '2.6': 118}[env['MATRIX_TORCH_VERSION']]; \ |
126 |
| - maxv = {'2.1': 121, '2.2': 121, '2.3': 121, '2.4': 124, '2.5': 124, '2.6': 124}[env['MATRIX_TORCH_VERSION']]; \ |
| 120 | + minv = {'2.2': 118, '2.3': 118, '2.4': 118, '2.5': 118, '2.6': 118}[env['MATRIX_TORCH_VERSION']]; \ |
| 121 | + maxv = {'2.2': 121, '2.3': 121, '2.4': 124, '2.5': 124, '2.6': 124}[env['MATRIX_TORCH_VERSION']]; \ |
127 | 122 | print(minv if int(env['MATRIX_CUDA_VERSION']) < 120 else maxv)" \
|
128 | 123 | )
|
129 | 124 | if [[ ${{ matrix.torch-version }} == *"dev"* ]]; then
|
|
0 commit comments