refactor-to-device-agnostic

star 0

Use when refactoring PyTorch test files classified as device_specific to make them device_agnostic, when separating device-unrelated tests from accelerator tests, or when a test file imports TEST_CUDA/TEST_MPS/TEST_XPU but most tests don't actually require a specific device type

KarhouTam By KarhouTam schedule Updated 6/3/2026

Skill instructions (SKILL.md) could not be loaded from local cache or raw GitHub repository.

Install via CLI
npx skills add https://github.com/KarhouTam/agent-skills --skill refactor-to-device-agnostic
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator