From c4c6b4dbda0589298b9b319a5fd8424299935cfb Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Tue, 26 Jul 2022 15:47:23 +0200 Subject: [PATCH] Add PyTorch 1.11 to past CI (#18302) Co-authored-by: ydshieh --- .github/workflows/build-past-ci-docker-images.yml | 2 +- .github/workflows/self-past-caller.yml | 10 ++++++++++ utils/past_ci_versions.py | 11 +++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-past-ci-docker-images.yml b/.github/workflows/build-past-ci-docker-images.yml index 30e6ab78d6..5c9d9366e4 100644 --- a/.github/workflows/build-past-ci-docker-images.yml +++ b/.github/workflows/build-past-ci-docker-images.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - version: ["1.10", "1.9", "1.8", "1.7", "1.6", "1.5", "1.4"] + version: ["1.11", "1.10", "1.9", "1.8", "1.7", "1.6", "1.5", "1.4"] runs-on: ubuntu-latest steps: - diff --git a/.github/workflows/self-past-caller.yml b/.github/workflows/self-past-caller.yml index 461a2cc207..2cc81dac8c 100644 --- a/.github/workflows/self-past-caller.yml +++ b/.github/workflows/self-past-caller.yml @@ -6,9 +6,19 @@ on: - run-past-ci* jobs: + run_past_ci_pytorch_1-11: + name: PyTorch 1.11 + if: always() + uses: ./.github/workflows/self-past.yml + with: + framework: pytorch + version: "1.11" + secrets: inherit + run_past_ci_pytorch_1-10: name: PyTorch 1.10 if: always() + needs: [run_past_ci_pytorch_1-11] uses: ./.github/workflows/self-past.yml with: framework: pytorch diff --git a/utils/past_ci_versions.py b/utils/past_ci_versions.py index f64decf253..854127b341 100644 --- a/utils/past_ci_versions.py +++ b/utils/past_ci_versions.py @@ -4,6 +4,17 @@ import os past_versions_testing = { "pytorch": { + "1.11": { + "torch": "1.11.0", + "torchvision": "0.12.0", + "torchaudio": "0.11.0", + "python": 3.9, + "cuda": "cu113", + "install": ( + "python3 -m pip install --no-cache-dir -U torch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0" + " --extra-index-url https://download.pytorch.org/whl/cu113" + ), + }, "1.10": { "torch": "1.10.2", "torchvision": "0.11.3",