Add repo-specific scale config files (#127566)

Part of moving pytorch/pytorch CI infra to a Linux foundation run AWS account.

For self-hosted runners that can run jobs from just a single repo, the runner scalers expect them to be stored in the repo itself.

These scale-config files define how the linux foundation's self-hosted runners are configured. These will apply to runners that only are available to the pytorch/pytorch and pytorch/pytorch-canary repos
Pull Request resolved: https://github.com/pytorch/pytorch/pull/127566
Approved by: https://github.com/zxiiro, https://github.com/huydhn, https://github.com/atalman
This commit is contained in:
Zain Rizvi
2024-05-30 21:08:45 +00:00
committed by PyTorch MergeBot
parent 846f79e61a
commit ad1b18ab2f
2 changed files with 16 additions and 0 deletions

8
.github/lf-canary-scale-config.yml vendored Normal file
View File

@ -0,0 +1,8 @@
# Defines runner types provisioned by by LF Self-hosted runners for pytorch/pytorch-canary and their labels.
runner_types:
lf.c.linux.2xlarge:
disk_size: 150
instance_type: c5.2xlarge
is_ephemeral: false
max_available: 3120
os: linux

8
.github/lf-scale-config.yml vendored Normal file
View File

@ -0,0 +1,8 @@
# Defines runner types provisioned by by LF Self-hosted runners for pytorch/pytorch and their labels.
runner_types:
lf.linux.2xlarge:
disk_size: 150
instance_type: c5.2xlarge
is_ephemeral: false
max_available: 3120
os: linux