From 527a26a27bb36eb6c94e6e4d7bf425c0556b68a0 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Fri, 15 Nov 2024 16:50:01 +0000 Subject: [PATCH] [CI] linux_job_v2.yml ghstack-source-id: ae13b53bd2885263e80019c087171421f5f7d0d5 Pull Request resolved: https://github.com/pytorch/rl/pull/2570 --- .github/workflows/docs.yml | 4 +-- .github/workflows/lint.yml | 4 +-- .github/workflows/test-linux-examples.yml | 2 +- .github/workflows/test-linux-habitat.yml | 2 +- .github/workflows/test-linux-libs.yml | 38 +++++++++++------------ .github/workflows/test-linux-rlhf.yml | 2 +- .github/workflows/test-linux.yml | 12 +++---- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 97fae17a8d8..aea9d7e2c40 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,7 +24,7 @@ jobs: matrix: python_version: ["3.10"] cuda_arch_version: ["12.1"] - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl upload-artifact: docs @@ -108,7 +108,7 @@ jobs: ((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag') permissions: contents: write - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl download-artifact: docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c9020a04841..89ba6ea0e3f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ concurrency: jobs: python-source-and-configs: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl script: | @@ -45,7 +45,7 @@ jobs: echo '::endgroup::' c-source: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl script: | diff --git a/.github/workflows/test-linux-examples.yml b/.github/workflows/test-linux-examples.yml index 39c97fae266..c4fb8ad003b 100644 --- a/.github/workflows/test-linux-examples.yml +++ b/.github/workflows/test-linux-examples.yml @@ -25,7 +25,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.g5.4xlarge.nvidia.gpu repository: pytorch/rl diff --git a/.github/workflows/test-linux-habitat.yml b/.github/workflows/test-linux-habitat.yml index 6a1c52f90fa..dc7a58aa116 100644 --- a/.github/workflows/test-linux-habitat.yml +++ b/.github/workflows/test-linux-habitat.yml @@ -22,7 +22,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.g5.4xlarge.nvidia.gpu repository: pytorch/rl diff --git a/.github/workflows/test-linux-libs.yml b/.github/workflows/test-linux-libs.yml index bd394f39fa7..f7f1baa60db 100644 --- a/.github/workflows/test-linux-libs.yml +++ b/.github/workflows/test-linux-libs.yml @@ -23,7 +23,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -57,7 +57,7 @@ jobs: python_version: ["3.11"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -94,7 +94,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -129,7 +129,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -164,7 +164,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -197,7 +197,7 @@ jobs: matrix: python_version: ["3.9"] cuda_arch_version: ["12.1"] - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -233,7 +233,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -267,7 +267,7 @@ jobs: bash .github/unittest/linux_libs/scripts_jumanji/post_process.sh unittests-meltingpot: - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} with: repository: pytorch/rl @@ -307,7 +307,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -345,7 +345,7 @@ jobs: python_version: ["3.10.12"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -383,7 +383,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -418,7 +418,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -449,7 +449,7 @@ jobs: unittests-pettingzoo: if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -488,7 +488,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -522,7 +522,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -556,7 +556,7 @@ jobs: matrix: python_version: ["3.9"] cuda_arch_version: ["12.1"] - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -593,7 +593,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -632,7 +632,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -667,7 +667,7 @@ jobs: python_version: ["3.9"] cuda_arch_version: ["12.1"] if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }} - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" diff --git a/.github/workflows/test-linux-rlhf.yml b/.github/workflows/test-linux-rlhf.yml index accbe6e7610..1fe23089e04 100644 --- a/.github/workflows/test-linux-rlhf.yml +++ b/.github/workflows/test-linux-rlhf.yml @@ -21,7 +21,7 @@ jobs: matrix: python_version: ["3.9"] cuda_arch_version: ["12.1"] - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index e202496852a..8a22dc08c57 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -24,7 +24,7 @@ jobs: matrix: python_version: ["3.9", "3.10", "3.11", "3.12"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.12xlarge repository: pytorch/rl @@ -55,7 +55,7 @@ jobs: matrix: python_version: ["3.12"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.12xlarge repository: pytorch/rl @@ -87,7 +87,7 @@ jobs: python_version: ["3.11"] cuda_arch_version: ["12.1"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.g5.4xlarge.nvidia.gpu repository: pytorch/rl @@ -124,7 +124,7 @@ jobs: matrix: python_version: ["3.8"] cuda_arch_version: ["11.6"] - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: repository: pytorch/rl runner: "linux.g5.4xlarge.nvidia.gpu" @@ -156,7 +156,7 @@ jobs: python_version: ["3.11"] cuda_arch_version: ["12.1"] fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.g5.4xlarge.nvidia.gpu repository: pytorch/rl @@ -191,7 +191,7 @@ jobs: python_version: ["3.10"] # "3.9", "3.10", "3.11" cuda_arch_version: ["11.8"] # "11.6", "11.7" fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main with: runner: linux.g5.4xlarge.nvidia.gpu repository: pytorch/rl