Skip to content

Commit 3b57315

Browse files
pytorchbotjithunnair-amdjeffdaily
authored
[ROCm] Increase binary build timeout to 5 hours (300 minutes) (pytorch#164770)
[ROCm] Increase binary build timeout to 5 hours (300 minutes) (pytorch#163776) Despite narrowing down the [FBGEMM_GENAI build to gfx942](pytorch#162648), the nightly builds still timed out because they [didn't get enough time to finish the post-PyTorch-build steps](https://github.com/pytorch/pytorch/actions/runs/17969771026/job/51109432897). This PR increases timeout for ROCm builds for both [libtorch ](https://github.com/pytorch/pytorch/actions/runs/17969771026)and [manywheel](https://github.com/pytorch/pytorch/actions/runs/17969771041), because both of those are close to the 4hr mark currently. This PR is a more ROCm-targeted version of pytorch#162880 (which is for release/2.9 branch). Pull Request resolved: pytorch#163776 Approved by: https://github.com/jeffdaily (cherry picked from commit 0ec946a) Co-authored-by: Jithun Nair <[email protected]> Co-authored-by: Jeff Daily <[email protected]>
1 parent c74f057 commit 3b57315

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.github/templates/linux_binary_build_workflow.yml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
runs_on: linux.s390x
7878
ALPINE_IMAGE: "docker.io/s390x/alpine"
7979
timeout-minutes: 420
80+
{%- elif config["gpu_arch_type"] == "rocm" %}
81+
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
82+
timeout-minutes: 300
8083
{%- elif "conda" in build_environment and config["gpu_arch_type"] == "cuda" %}
8184
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
8285
runs_on: linux.24xlarge.ephemeral

.github/workflows/generated-linux-binary-libtorch-nightly.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-linux-binary-manywheel-nightly.yml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/generated-linux-binary-manywheel-rocm-main.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)