From f3a892cd03c0d62d8121afbf7979c4c7480ebeab Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 12:52:17 -0800 Subject: [PATCH 1/7] test --- .github/workflows/build_wheels_linux.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 8cbaef6a34..ffdeb8c1b5 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -129,6 +129,9 @@ jobs: container: image: ${{ matrix.container_image }} options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus all' || ' ' }} + volumes: + - /node20217:/node20217:rw,rshared + - /node20217:/__e/node20:ro,rshared timeout-minutes: ${{ inputs.timeout }} steps: - name: Clean workspace @@ -144,8 +147,17 @@ jobs: fi echo "::endgroup::" - - uses: atalman/checkout-action@main + - name: install nodejs20glibc2.17 + if: ${{ env.IS_MANYLINUX2_28 == 'false' }} + run: | + yum install curl -yyq + curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz + tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217 + ldd /__e/node20/bin/node + + - uses: actions/checkout@v4 with: + # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} ref: ${{ inputs.test-infra-ref }} path: test-infra @@ -189,7 +201,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} cuda-version: ${{ env.CU_VERSION }} arch: ${{ env.ARCH }} - use-github-checkout: ${{ env.IS_MANYLINUX2_28 }} + is-manylinux2-28: ${{ env.IS_MANYLINUX2_28 }} - name: Combine Env Var and Build Env Files if: ${{ inputs.env-var-script != '' }} @@ -202,7 +214,7 @@ jobs: run: | { echo "set +u" - echo "source /opt/intel/oneapi/compiler/latest/env/vars.sh" + echo "source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh" echo "source /opt/intel/oneapi/pti/latest/env/vars.sh" } >> "${BUILD_ENV_FILE}" - name: Install torch dependency From 2dc14f747997f738c5d139a6cd786ba7aaf4605b Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 12:54:27 -0800 Subject: [PATCH 2/7] test --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index ffdeb8c1b5..ca52291f17 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -201,7 +201,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} cuda-version: ${{ env.CU_VERSION }} arch: ${{ env.ARCH }} - is-manylinux2-28: ${{ env.IS_MANYLINUX2_28 }} + use-github-checkout: ${{ env.IS_MANYLINUX2_28 }} - name: Combine Env Var and Build Env Files if: ${{ inputs.env-var-script != '' }} From 38e65cd15fea5c5dda0ed70695ed978c37ea835c Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 13:08:45 -0800 Subject: [PATCH 3/7] test --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index ca52291f17..ab34e1ff4a 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -148,7 +148,7 @@ jobs: echo "::endgroup::" - name: install nodejs20glibc2.17 - if: ${{ env.IS_MANYLINUX2_28 == 'false' }} + if: always() run: | yum install curl -yyq curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz From 34a89083bc4949de522c02cf4a4a23724c414770 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 13:20:30 -0800 Subject: [PATCH 4/7] test --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index ab34e1ff4a..a7e3305255 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -148,7 +148,7 @@ jobs: echo "::endgroup::" - name: install nodejs20glibc2.17 - if: always() + if: ${{ inputs.architecture == "x86_64" }} run: | yum install curl -yyq curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz From 1015bb0c4c65b8dd1e8f4dd6307438b38e3690f4 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 13:25:40 -0800 Subject: [PATCH 5/7] test --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index a7e3305255..245d6d979a 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -148,7 +148,7 @@ jobs: echo "::endgroup::" - name: install nodejs20glibc2.17 - if: ${{ inputs.architecture == "x86_64" }} + if: ${{ inputs.architecture == 'x86_64' }} run: | yum install curl -yyq curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz From 0a5265c71516dd44e690ae11a6ec34fb2a9e14b9 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 13:32:52 -0800 Subject: [PATCH 6/7] fix --- .github/workflows/build_wheels_linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 245d6d979a..63350038f9 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -130,8 +130,8 @@ jobs: image: ${{ matrix.container_image }} options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus all' || ' ' }} volumes: - - /node20217:/node20217:rw,rshared - - /node20217:/__e/node20:ro,rshared + - ${{ inputs.architecture == 'x86_64' && '/node20217:/node20217:rw,rshared' || ' ' }} + - ${{ inputs.architecture == 'x86_64' && '/node20217:/__e/node20:ro,rshared' || ' ' }} timeout-minutes: ${{ inputs.timeout }} steps: - name: Clean workspace From a327a8ef61ea7874cc5a3ac95babde9e2c774689 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 21 Nov 2024 13:41:35 -0800 Subject: [PATCH 7/7] test --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 63350038f9..1d13e3783c 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -214,7 +214,7 @@ jobs: run: | { echo "set +u" - echo "source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh" + echo "source /opt/intel/oneapi/compiler/latest/env/vars.sh" echo "source /opt/intel/oneapi/pti/latest/env/vars.sh" } >> "${BUILD_ENV_FILE}" - name: Install torch dependency