From f877bb90eee3e869f74a4394f0fad75a5323f40c Mon Sep 17 00:00:00 2001 From: Max Podkorytov <4273004+tenpercent@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:05:31 +0000 Subject: [PATCH 1/4] try increasing number of workers to 12 to avoid ci timeouts --- .github/workflows/wheels_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels_build.yml b/.github/workflows/wheels_build.yml index 36ad288bea..04c723f3b8 100644 --- a/.github/workflows/wheels_build.yml +++ b/.github/workflows/wheels_build.yml @@ -153,7 +153,7 @@ jobs: amdgpu-install -y --usecase=rocm --no-dkms echo "ROCM_PATH=/opt/rocm" >> ${GITHUB_ENV} echo "PATH=$PATH:/opt/rocm/bin" >> ${GITHUB_ENV} - echo "MAX_JOBS=7" >> ${GITHUB_ENV} + echo "MAX_JOBS=12" >> ${GITHUB_ENV} - name: Install dependencies run: $PY -m pip install wheel setuptools twine -r requirements.txt --extra-index-url $PYTORCH_INDEX_URL From ff235847617f48be6393ce6ca98c88c3e5c8cfe8 Mon Sep 17 00:00:00 2001 From: Max Podkorytov <4273004+tenpercent@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:56:49 +0000 Subject: [PATCH 2/4] try 16-core runner for rocm --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index e23a3d6186..728240d04f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -60,7 +60,7 @@ jobs: if os == 'windows-8-core': continue include.append(dict( - os=os, + os="16-core-ubuntu", python=python, torch_version=torch_version, toolkit_type="rocm", From 146a97cc456861b738119acb19fb5db596a012b2 Mon Sep 17 00:00:00 2001 From: Max Podkorytov <4273004+tenpercent@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:03:43 -0400 Subject: [PATCH 3/4] use 15 cores; build for all rocm versions --- .github/workflows/wheels.yml | 2 +- .github/workflows/wheels_build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 728240d04f..8f61fa2a4f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -40,7 +40,7 @@ jobs: for cu in CU_VERSIONS[1:]: PY_CU.append((PY_VERSIONS[-1], cu)) print("Limited matrix PY_CU", PY_CU) - PY_ROCM = [(PY_VERSIONS[-1], ROCM_VERSIONS[-1])] + PY_ROCM = [(PY_VERSIONS[-1], rocm_v) for rocm_v in ROCM_VERSIONS] include = [] for os in ['8-core-ubuntu', 'windows-8-core']: diff --git a/.github/workflows/wheels_build.yml b/.github/workflows/wheels_build.yml index 04c723f3b8..47c81d5aaa 100644 --- a/.github/workflows/wheels_build.yml +++ b/.github/workflows/wheels_build.yml @@ -153,7 +153,7 @@ jobs: amdgpu-install -y --usecase=rocm --no-dkms echo "ROCM_PATH=/opt/rocm" >> ${GITHUB_ENV} echo "PATH=$PATH:/opt/rocm/bin" >> ${GITHUB_ENV} - echo "MAX_JOBS=12" >> ${GITHUB_ENV} + echo "MAX_JOBS=15" >> ${GITHUB_ENV} - name: Install dependencies run: $PY -m pip install wheel setuptools twine -r requirements.txt --extra-index-url $PYTORCH_INDEX_URL From 3721f7668f93004444bc5ca9cba71dbb69d11299 Mon Sep 17 00:00:00 2001 From: Max Podkorytov <4273004+tenpercent@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:11:34 -0400 Subject: [PATCH 4/4] revert many-rocm wheel build when getting CI signal; add comment about runner --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8f61fa2a4f..bbd888dd33 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -40,7 +40,7 @@ jobs: for cu in CU_VERSIONS[1:]: PY_CU.append((PY_VERSIONS[-1], cu)) print("Limited matrix PY_CU", PY_CU) - PY_ROCM = [(PY_VERSIONS[-1], rocm_v) for rocm_v in ROCM_VERSIONS] + PY_ROCM = [(PY_VERSIONS[-1], ROCM_VERSIONS[-1])] include = [] for os in ['8-core-ubuntu', 'windows-8-core']: @@ -60,7 +60,7 @@ jobs: if os == 'windows-8-core': continue include.append(dict( - os="16-core-ubuntu", + os="16-core-ubuntu", # use for ROCm wheels only to avoid CI timeouts python=python, torch_version=torch_version, toolkit_type="rocm",