Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in manage_v2.py during R2 outages. Can toggle R2 off/on for nightly builds, prod/stable builds, or both. The affected packages are PT_FOUNDATION_PACKAGES (torch, torchvision, torchaudio, fbgemm_gpu, fbgemm_gpu_genai, triton, pytorch_triton, pytorch_triton_rocm, pytorch_triton_xpu).
$npx -y skills add pytorch/test-infra --skill r2-outage-toggleInstalls into the current project.
Run `npx skills use "https://github.com/pytorch/test-infra" --skill "pytorch/test-infra/r2-outage-toggle"` 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.