Skip to content

Commit

Permalink
[CI] Compile for pytorch 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tridao committed Feb 1, 2024
1 parent c7bca02 commit a51a7b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
os: [ubuntu-20.04]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
torch-version: ['1.12.1', '1.13.1', '2.0.1', '2.1.2', '2.2.0.dev20231210']
cuda-version: ['11.8.0', '12.2.0']
torch-version: ['1.12.1', '1.13.1', '2.0.1', '2.1.2', '2.2.0']
cuda-version: ['11.8.0', '12.2.2']
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
# Without this we get import error (undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationESs)
Expand All @@ -60,7 +60,7 @@ jobs:
python-version: '3.7'
- torch-version: '2.1.2'
python-version: '3.7'
- torch-version: '2.2.0.dev20231210'
- torch-version: '2.2.0'
python-version: '3.7'
# Pytorch <= 2.0 only supports CUDA <= 11.8
- torch-version: '1.12.1'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Install CUDA ${{ matrix.cuda-version }}
if: ${{ matrix.cuda-version != 'cpu' }}
uses: Jimver/[email protected].11
uses: Jimver/[email protected].14
id: cuda-toolkit
with:
cuda: ${{ matrix.cuda-version }}
Expand Down

0 comments on commit a51a7b3

Please sign in to comment.