Skip to content

Commit af2a47a

Browse files
authored
Increase CI build timeout. (#9694)
PRs from external repositories are timeouting on `_build_torch_xla.yml` workflow. That's because in those cases, [the remote cache is disabled][1]. In such cases, [the fixed 45 minutes][2] is not enough anymore. See, for example, PR #9682 that fails due to this timeout. Here's my plan to address this issue: - Bump the timeout by 5 minutes (this PR) - Create a disk-cache using GitHub cache actions for reducing build time on PRs from external repositories (see [#9659][3] for more information) This PR will go through the following steps: - [x] Reproduce the CI build timeout - [x] Bump the timeout by 5 minutes [1]: https://github.com/pytorch/xla/blob/df6798dfb931ce7c7fe5bed2447cd1092a5981af/.github/workflows/_build_torch_xla.yml#L36 [2]: https://github.com/pytorch/xla/blob/df6798dfb931ce7c7fe5bed2447cd1092a5981af/.github/workflows/build_and_test.yml#L44 [3]: #9659
1 parent df6798d commit af2a47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
needs: [check_code_changes]
4242
with:
4343
dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.12_tpuvm
44-
timeout-minutes: 45 # Takes ~20m as of 2025/5/30.
44+
timeout-minutes: 50 # Takes ~50m as of 2025/10/28 (without the remote cache).
4545
# We should build PyTorch and PyTorch/XLA if:
4646
# 1. There are code changes.
4747
# 2. This is a `push` event to `master` or release branches.

0 commit comments

Comments
 (0)