From c77e8b19ae66fa82454e8c356f21da453003613f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:51:20 +0000 Subject: [PATCH 1/4] Initial plan From 8c3439312b10112207c5bdcf9e0f36fb29bbf131 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:56:08 +0000 Subject: [PATCH 2/4] Add setup-proxy-cache to test workflows Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --- .github/workflows/test-wheel-linux.yml | 6 ++++++ .github/workflows/test-wheel-windows.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/test-wheel-linux.yml b/.github/workflows/test-wheel-linux.yml index a0776a360e..ae125296e7 100644 --- a/.github/workflows/test-wheel-linux.yml +++ b/.github/workflows/test-wheel-linux.yml @@ -143,6 +143,12 @@ jobs: with: fetch-depth: 0 + - name: Setup proxy cache + uses: nv-gha-runners/setup-proxy-cache@main + continue-on-error: true + # Skip the cache on Windows nodes outside of our org. + if: ${{ inputs.host-platform != 'win-64' }} + - name: Install dependencies uses: ./.github/actions/install_unix_deps continue-on-error: false diff --git a/.github/workflows/test-wheel-windows.yml b/.github/workflows/test-wheel-windows.yml index 7fb534273d..f85d567fe4 100644 --- a/.github/workflows/test-wheel-windows.yml +++ b/.github/workflows/test-wheel-windows.yml @@ -89,6 +89,12 @@ jobs: with: fetch-depth: 0 + - name: Setup proxy cache + uses: nv-gha-runners/setup-proxy-cache@main + continue-on-error: true + # Skip the cache on Windows nodes outside of our org. + if: ${{ inputs.host-platform != 'win-64' }} + - name: Update driver run: | .github/workflows/install_gpu_driver.ps1 From 6325eb811f3d710bd482cef27feb89408f2a861b Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Wed, 20 Aug 2025 15:47:32 -0400 Subject: [PATCH 3/4] update --- .github/workflows/test-wheel-linux.yml | 2 -- .github/workflows/test-wheel-windows.yml | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/test-wheel-linux.yml b/.github/workflows/test-wheel-linux.yml index ae125296e7..b775670a9b 100644 --- a/.github/workflows/test-wheel-linux.yml +++ b/.github/workflows/test-wheel-linux.yml @@ -146,8 +146,6 @@ jobs: - name: Setup proxy cache uses: nv-gha-runners/setup-proxy-cache@main continue-on-error: true - # Skip the cache on Windows nodes outside of our org. - if: ${{ inputs.host-platform != 'win-64' }} - name: Install dependencies uses: ./.github/actions/install_unix_deps diff --git a/.github/workflows/test-wheel-windows.yml b/.github/workflows/test-wheel-windows.yml index f85d567fe4..166ffa0045 100644 --- a/.github/workflows/test-wheel-windows.yml +++ b/.github/workflows/test-wheel-windows.yml @@ -89,12 +89,7 @@ jobs: with: fetch-depth: 0 - - name: Setup proxy cache - uses: nv-gha-runners/setup-proxy-cache@main - continue-on-error: true - # Skip the cache on Windows nodes outside of our org. - if: ${{ inputs.host-platform != 'win-64' }} - + # TODO: use setup-proxy-cache once we have self-hosted Windows runners - name: Update driver run: | .github/workflows/install_gpu_driver.ps1 From 77d14da4d820147a9cc76544332e237f3c8df854 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 Aug 2025 22:03:47 +0000 Subject: [PATCH 4/4] Address review feedback: Add proxy cache to build-docs workflow and fix formatting Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --- .github/workflows/build-docs.yml | 5 +++-- .github/workflows/test-wheel-windows.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 5d0450c360..0e8af64cbb 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -52,8 +52,9 @@ jobs: fetch-depth: 0 ref: ${{ inputs.git-tag }} - # TODO: cache conda env to speed up the workflow once conda-incubator/setup-miniconda#267 - # is resolved + - name: Setup proxy cache + uses: nv-gha-runners/setup-proxy-cache@main + continue-on-error: true - name: Set up miniforge uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0 diff --git a/.github/workflows/test-wheel-windows.yml b/.github/workflows/test-wheel-windows.yml index 166ffa0045..18ddbcb45a 100644 --- a/.github/workflows/test-wheel-windows.yml +++ b/.github/workflows/test-wheel-windows.yml @@ -90,6 +90,7 @@ jobs: fetch-depth: 0 # TODO: use setup-proxy-cache once we have self-hosted Windows runners + - name: Update driver run: | .github/workflows/install_gpu_driver.ps1