Make c7i the default for _linux-build.yml (#164747)

Use linux.c7i.2xlarge as the default runner for the _linux-build.yml workflow. In testing we found that switching from c5 - c7i grants a 15-20% faster build times despite c7i costing 5% more. This should reduce costs of jobs using _linux-build.yml.

Relates to pytorch/test-infra#7175.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/164747
Approved by: https://github.com/atalman
This commit is contained in:
Thanh Ha 2025-10-16 17:37:51 +00:00 committed by PyTorch MergeBot
parent e1d71a6b35
commit 85586d7efc

View File

@ -37,7 +37,7 @@ on:
runner: runner:
required: false required: false
type: string type: string
default: "linux.2xlarge" default: "linux.c7i.2xlarge"
description: | description: |
Label of the runner this job should run on. Label of the runner this job should run on.
test-matrix: test-matrix: