From 2b2a62b2b08512f13785ecc90a691e439bb1a686 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 08:44:35 +0000 Subject: [PATCH 01/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 8ce894077..19d083627 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -27,10 +27,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }} cancel-in-progress: true -env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 jobs: build-wheel-linux: @@ -46,6 +42,10 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 container: pytorch/manylinux-${{ matrix.cuda_support[2] }} steps: - name: Checkout tensordict @@ -90,6 +90,10 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 container: pytorch/manylinux-${{ matrix.cuda_support[2] }} steps: - name: Checkout tensordict @@ -117,6 +121,10 @@ jobs: if: github.repository_owner == 'pytorch' needs: build-wheel-linux runs-on: ubuntu-20.04 + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 strategy: matrix: python_version: [ @@ -189,6 +197,10 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Setup Python uses: actions/setup-python@v2 @@ -227,6 +239,10 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Setup Python uses: actions/setup-python@v2 @@ -286,6 +302,10 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] + env: + ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Checkout tensordict uses: actions/checkout@v3 From 2e0a86db65e433b912751b848df1aba3b11a9e78 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 08:47:52 +0000 Subject: [PATCH 02/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 19d083627..bab1a87a6 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -49,7 +49,7 @@ jobs: container: pytorch/manylinux-${{ matrix.cuda_support[2] }} steps: - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PyTorch nightly run: | export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" @@ -71,7 +71,7 @@ jobs: python3 -mpip install auditwheel auditwheel show dist/* - name: Upload wheel for the test-wheel job - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: dist/*.whl @@ -97,9 +97,9 @@ jobs: container: pytorch/manylinux-${{ matrix.cuda_support[2] }} steps: - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download built wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: /tmp/wheels @@ -136,14 +136,14 @@ jobs: cuda_support: [["", "cpu", "cpu"]] steps: - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version[0] }} architecture: x64 env: AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache" - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PyTorch Nightly run: | export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" @@ -157,7 +157,7 @@ jobs: export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" python3 -mpip install numpy pytest pillow>=4.1.1 scipy networkx expecttest pyyaml - name: Download built wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: /tmp/wheels @@ -207,7 +207,7 @@ jobs: with: python-version: ${{ matrix.python_version[1] }} - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PyTorch nightly shell: bash run: | @@ -221,7 +221,7 @@ jobs: --package_name tensordict-nightly \ --python-tag=${{ matrix.python-tag }} - name: Upload wheel for the test-wheel job - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tensordict-win-${{ matrix.python_version[0] }}.whl path: dist/*.whl @@ -249,7 +249,7 @@ jobs: with: python-version: ${{ matrix.python_version[1] }} - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PyTorch Nightly shell: bash run: | @@ -263,7 +263,7 @@ jobs: run: | python3 -mpip install numpy pytest --no-cache-dir - name: Download built wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: tensordict-win-${{ matrix.python_version[0] }}.whl path: wheels @@ -308,9 +308,9 @@ jobs: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Checkout tensordict - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download built wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: tensordict-win-${{ matrix.python_version[0] }}.whl path: wheels From 540d4bee45819fb18b030555c21419d9e79a9f9c Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 08:55:35 +0000 Subject: [PATCH 03/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index bab1a87a6..d02ea5d9b 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,11 +42,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 - container: pytorch/manylinux-${{ matrix.cuda_support[2] }} + container: pytorch/manylinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -90,11 +86,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 - container: pytorch/manylinux-${{ matrix.cuda_support[2] }} + container: pytorch/manylinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -121,10 +113,6 @@ jobs: if: github.repository_owner == 'pytorch' needs: build-wheel-linux runs-on: ubuntu-20.04 - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 strategy: matrix: python_version: [ @@ -197,10 +185,6 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Setup Python uses: actions/setup-python@v2 @@ -239,10 +223,6 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Setup Python uses: actions/setup-python@v2 @@ -302,10 +282,6 @@ jobs: ["3.11", "3.11"], ["3.12", "3.12"], ] - env: - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true # https://github.com/actions/checkout/issues/1809 steps: - name: Checkout tensordict uses: actions/checkout@v4 From e6cbd79ba84ed84f2270f3b159b8fc9c23fb292a Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 09:03:46 +0000 Subject: [PATCH 04/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index d02ea5d9b..34d4dbde9 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,7 +42,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/manylinux-builder + container: pytorch/conda-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -86,7 +86,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/manylinux-builder + container: pytorch/conda-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 From faf626d32ef6caf26a18da097c3e0240f7051f93 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 09:05:42 +0000 Subject: [PATCH 05/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 34d4dbde9..72cecde5c 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,7 +42,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/conda-builder + container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -86,7 +86,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/conda-builder + container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 From 927f8e92104aec73904adde16b0c0c16d935b4cf Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 09:08:56 +0000 Subject: [PATCH 06/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 72cecde5c..dd4770fcb 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,7 +42,6 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -86,7 +85,6 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 From 1917df3353c671ad607bfe70d942d34026930c63 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 10:06:35 +0000 Subject: [PATCH 07/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index dd4770fcb..72cecde5c 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,6 +42,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] + container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 @@ -85,6 +86,7 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] + container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 From 9f7c6acc8e25359ab500972aafe9176d671080d6 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 10:12:09 +0000 Subject: [PATCH 08/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 72cecde5c..8cb659a92 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -32,7 +32,7 @@ jobs: build-wheel-linux: # Don't run on forked repos. if: github.repository_owner == 'pytorch' - runs-on: ubuntu-20.04 + runs-on: almalinux:8 strategy: matrix: python_version: [ @@ -76,7 +76,7 @@ jobs: # Don't run on forked repos. if: github.repository_owner == 'pytorch' needs: test-wheel-linux - runs-on: ubuntu-20.04 + runs-on: almalinux:8 strategy: matrix: python_version: [ From 802554cb5ea5b0df9bd40ef96109e7658bd6448e Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 10:15:50 +0000 Subject: [PATCH 09/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 8cb659a92..b18ee260f 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -32,7 +32,7 @@ jobs: build-wheel-linux: # Don't run on forked repos. if: github.repository_owner == 'pytorch' - runs-on: almalinux:8 + runs-on: centos strategy: matrix: python_version: [ @@ -76,7 +76,7 @@ jobs: # Don't run on forked repos. if: github.repository_owner == 'pytorch' needs: test-wheel-linux - runs-on: almalinux:8 + runs-on: centos strategy: matrix: python_version: [ From 69c767af3e5ac33e2786aa1e705cee6b3e0375ec Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 10:20:20 +0000 Subject: [PATCH 10/10] Update [ghstack-poisoned] --- .github/workflows/nightly_build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index b18ee260f..dde4b4b61 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -32,7 +32,7 @@ jobs: build-wheel-linux: # Don't run on forked repos. if: github.repository_owner == 'pytorch' - runs-on: centos + runs-on: ubuntu-20.04 strategy: matrix: python_version: [ @@ -42,10 +42,13 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python_version[0] }} - name: Install PyTorch nightly run: | export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" @@ -76,7 +79,7 @@ jobs: # Don't run on forked repos. if: github.repository_owner == 'pytorch' needs: test-wheel-linux - runs-on: centos + runs-on: ubuntu-20.04 strategy: matrix: python_version: [ @@ -86,10 +89,13 @@ jobs: ["3.12", "cp312-cp312"], ] cuda_support: [["", "cpu", "cpu"]] - container: pytorch/almalinux-builder steps: - name: Checkout tensordict uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python_version[0] }} - name: Download built wheels uses: actions/download-artifact@v4 with: