What problem does it solve?
This Skill resolves PyTorch installation and compatibility issues before Quark setup, especially when the wrong CPU, CUDA, or ROCm build has been installed and the environment cannot use the intended accelerator.
Core Features & Use Cases
- Backend-aware installation: Chooses the correct PyTorch package family for CPU, CUDA, or ROCm environments.
- Conflict detection and recovery: Handles torch version mismatches, missing imports, and cases where CUDA is unavailable after install.
- Verification-first workflow: Confirms the installed torch, torchvision, and torchaudio versions and checks hardware availability so Quark can run reliably.
- Use case: A developer preparing a Quark quantization environment can use this Skill to fix a broken or incomplete PyTorch setup before installing Quark itself.
Quick Start
Ask the assistant to inspect your accelerator and install the correct PyTorch build for it, then verify that torch imports cleanly and the GPU is available.