Step-by-step playbook for migrating a pytorch/pytorch .github/workflows/*.yml from EC2 to OSDC (ARC) runners — covers both dial-up and 100% opt-in patterns, with the inputs that must be plumbed through _linux-build.yml / _linux-test.yml. Use when migrating a workflow off EC2 onto on-site data center / EKS-hosted self-hosted runners (OSDC / ARC), enabling the ARC experiment, or wiring up use-arc / runner_prefix / ci-docker-hash / python-version / compiler / cuda-version inputs.
$npx -y skills add pytorch/test-infra --skill migrate-workflow-ec2-to-osdcInstalls into the current project.
Run `npx skills use "https://github.com/pytorch/test-infra" --skill "pytorch/test-infra/migrate-workflow-ec2-to-osdc"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/pytorch/test-infra" that are relevant to the current task. Run `npx skills add "https://github.com/pytorch/test-infra"` and select the relevant skills, then follow their instructions.