From 27c184e89a8e456ca4bf0d8a9334ed69d757009b Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sat, 10 Feb 2024 14:05:17 +0800 Subject: [PATCH] fix building cuda wheels --- .github/workflows/ubuntu-cuda-wheels.yml | 9 +++++++++ scripts/github_actions/generate_build_matrix.py | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ubuntu-cuda-wheels.yml b/.github/workflows/ubuntu-cuda-wheels.yml index abd9585..b4751b5 100644 --- a/.github/workflows/ubuntu-cuda-wheels.yml +++ b/.github/workflows/ubuntu-cuda-wheels.yml @@ -44,6 +44,15 @@ jobs: with: fetch-depth: 0 + - name: Free space + shell: bash + run: | + df -h + rm -rf /opt/hostedtoolcache + df -h + echo "pwd: $PWD" + echo "github.workspace ${{ github.workspace }}" + # see https://github.com/pytorch/test-infra/blob/9e3d392690719fac85bad0c9b67f530e48375ca1/tools/scripts/generate_binary_build_matrix.py # https://github.com/pytorch/builder/tree/main/manywheel # https://github.com/pytorch/builder/pull/476 diff --git a/scripts/github_actions/generate_build_matrix.py b/scripts/github_actions/generate_build_matrix.py index 1c1ac2a..72f945c 100755 --- a/scripts/github_actions/generate_build_matrix.py +++ b/scripts/github_actions/generate_build_matrix.py @@ -53,10 +53,10 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_ # "python-version": ["3.6", "3.7", "3.8"], # "cuda": ["10.1", "10.2"], # }, - "1.6.0": { - "python-version": ["3.6", "3.7", "3.8"], - "cuda": ["10.1", "10.2"] if not for_windows else ["10.1.243", "10.2.89"], - }, + # "1.6.0": { + # "python-version": ["3.6", "3.7", "3.8"], + # "cuda": ["10.1", "10.2"] if not for_windows else ["10.1.243", "10.2.89"], + # }, "1.7.0": { "python-version": ["3.6", "3.7", "3.8"], "cuda": ["10.1", "10.2", "11.0"]