quark-install
Installation
SKILL.md
Quark Install
Purpose
Install or verify amd-quark without relying on another skill, a Quark checkout, or pre-generated workflow artifacts. Detect the actual hardware, ensure PyTorch matches it, choose the smallest safe Quark install, obtain approval, execute it, and verify the requested capabilities.
Prerequisites
- GPU support depends on the selected PyTorch build and Quark wheel. Record the actual runtime, host kernel and driver, and GPU architecture (
gfx...fromgcnArchNameon AMD); verify compatibility with that environment instead of assuming a fixed ROCm version or GPU target. - No container image is required. If running in a container, record its image name or digest when available and verify GPU device access.
- Inspect and preserve
QUARK_ACCELERATOR,PYTORCH_ROCM_ARCH,QUARK_BUILD_DISABLE_JIT_FALLBACK,HSA_OVERRIDE_GFX_VERSION,HIP_VISIBLE_DEVICES, andCUDA_VISIBLE_DEVICES. Include any required changes in the confirmed install plan. ReportPIP_EXTRA_INDEX_URLonly as set or unset because its value may contain credentials.
Inputs
- Python interpreter or environment to modify. Default to the active interpreter, but make its resolved path explicit.
- Requested Quark source: existing environment, PyPI, an AMD native-wheel index, a local wheel, or a local source directory. Default to the universal PyPI wheel.
- Optional version constraint.
- Compute intent: GPU by default; CPU only after explicit user confirmation.
- Required capabilities: basic Quark import, Quark PyTorch kernels, ONNX custom operators, or
quark-cli.