Skip to content

Commit 757d7f2

Browse files
atalmanpytorchmergebot
authored andcommitted
[CD] Increase timeout for windows binary builds (#147390)
Mitigates #147376 Pull Request resolved: #147390 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt, https://github.com/malfet
1 parent 959d79f commit 757d7f2

7 files changed

+83
-82
lines changed

.github/templates/common.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{%- set download_artifact_action = "actions/download-artifact@v4.1.7" -%}
55

66
{%- set timeout_minutes = 240 -%}
7+
{%- set timeout_minutes_windows_binary = 300 -%}
78

89
{%- macro concurrency(build_environment) -%}
910
concurrency:

.github/templates/windows_binary_build_workflow.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
{%- else %}
7272
runs-on: "${{ needs.get-label-type.outputs.label-type }}windows.4xlarge.nonephemeral"
7373
{%- endif %}
74-
timeout-minutes: !{{ common.timeout_minutes }}
74+
timeout-minutes: !{{ common.timeout_minutes_windows_binary }}
7575
!{{ upload.binary_env(config, True) }}
7676
{%- if config.pytorch_extra_install_requirements is defined and config.pytorch_extra_install_requirements|d('')|length > 0 %}
7777
PYTORCH_EXTRA_INSTALL_REQUIREMENTS: !{{ config.pytorch_extra_install_requirements }}
@@ -110,7 +110,7 @@ jobs:
110110
{%- else %}
111111
runs-on: "${{ needs.get-label-type.outputs.label-type }}windows.4xlarge.nonephemeral"
112112
{%- endif %}
113-
timeout-minutes: !{{ common.timeout_minutes }}
113+
timeout-minutes: !{{ common.timeout_minutes_windows_binary }}
114114
!{{ upload.binary_env(config, True) }}
115115
steps:
116116
!{{ common.setup_ec2_windows() }}

.github/workflows/generated-windows-binary-libtorch-debug-main.yml

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

.github/workflows/generated-windows-binary-libtorch-debug-nightly.yml

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

.github/workflows/generated-windows-binary-libtorch-release-main.yml

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

.github/workflows/generated-windows-binary-libtorch-release-nightly.yml

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

0 commit comments

Comments
 (0)