8000 Use ephemeral runners for windows nightly builds (#134463) · pytorch/pytorch@9816ca1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9816ca1

Browse files
committed
Use ephemeral runners for windows nightly builds (#134463)
This is definition of windows.4xlarge: ``` windows.4xlarge: disk_size: 256 instance_type: c5d.4xlarge is_ephemeral: true max_available: 420 os: windows ``` Pull Request resolved: #134463 Approved by: https://github.com/jeanschmidt
1 parent 5920383 commit 9816ca1

6 files changed

+53
-48
lines changed

.github/actionlint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ self-hosted-runner:
4040
# Repo-specific IBM hosted S390x runner
4141
- linux.s390x
4242
# Organization wide AWS Windows runners
43+
- windows.4xlarge
4344
- windows.4xlarge.nonephemeral
4445
- windows.8xlarge.nvidia.gpu
4546
- windows.8xlarge.nvidia.gpu.nonephemeral

.github/templates/windows_binary_build_workflow.yml.j2

Lines changed: 4 additions & 0 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ jobs:
5656
{%- for config in build_configs %}
5757
!{{ config["build_name"] }}-build:
5858
if: ${{ github.repository_owner == 'pytorch' }}
59+
{%- if branches == "nightly" %}
60+
runs-on: windows.4xlarge
61+
{%- else %}
5962
runs-on: windows.4xlarge.nonephemeral
63+
{%- endif %}
6064
timeout-minutes: !{{ common.timeout_minutes }}
6165
!{{ upload.binary_env(config, True) }}
6266
{%- if config.pytorch_extra_install_requirements is defined and config.pytorch_extra_install_requirements|d('')|length > 0 %}

.github/workflows/generated-windows-binary-conda-nightly.yml

Lines changed: 20 additions & 20 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: 4 additions & 4 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: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0