Skip to content
Back to skills

Aiwf Gpu Runtime Diagnostics

ASecurity

AIWF GPU runtime diagnostics skill for CUDA, ROCm, NVIDIA driver, PyTorch, torchvision, xformers, flash-attn, bitsandbytes, TensorRT, DirectML, VRAM, device visibility, Windows PATH, DLL load, quantization runtime, and local inference or training smoke failures. Use before changing GPU runtime code or reinstalling packages.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentspythonrailsbackend

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill aiwf-gpu-runtime-diagnostics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aiwf Gpu Runtime Diagnostics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aiwf Gpu Runtime Diagnostics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-aiwf-gpu-runtime-diagnostics/badge)](https://www.skillsdirectory.com/skills/majiayu000-aiwf-gpu-runtime-diagnostics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aiwf-gpu-runtime-diagnostics
description: AIWF GPU runtime diagnostics skill for CUDA, ROCm, NVIDIA driver, PyTorch, torchvision, xformers, flash-attn, bitsandbytes, TensorRT, DirectML, VRAM, device visibility, Windows PATH, DLL load, quantization runtime, and local inference or training smoke failures. Use before changing GPU runtime code or reinstalling packages.
---

# AIWF GPU Runtime Diagnostics

Use this skill when local AI work fails at the hardware/runtime boundary. The job is to identify whether the problem is driver, Python environment, package ABI, CUDA or ROCm version, DLL/PATH loading, VRAM pressure, attention backend, or model-runtime configuration.

## Workflow

1. Preserve the failing command, error text, model/runtime name, and environment path.
2. Collect a read-only runtime snapshot before reinstalling packages.
3. Compare driver/runtime/package versions against the repo's pinned requirements.
4. Separate environment failure from model failure:
   - device invisible
   - package import failure
   - CUDA/ROCm ABI mismatch
   - missing DLL
   - out of memory
   - unsupported dtype or quantization
   - attention backend mismatch
   - TensorRT engine/runtime mismatch
5. Patch or recommend the smallest repo-native fix.
6. Prove with a bounded smoke receipt. Do not run VRAM-heavy generation or training unless Shawn asks.

Use `scripts/collect_gpu_runtime_snapshot.py` for a read-only local snapshot when Python is available. Read `references/gpu-diagnostics.md` for triage patterns and smoke guidance.

## Guardrails

- Do not install or upgrade GPU packages as a hidden side effect.
- Do not download large models to test the runtime unless requested.
- Do not assume CUDA latest is correct for the repo.
- Do not mix PyTorch CUDA wheels, TensorRT, xformers, flash-attn, or bitsandbytes versions without checking compatibility.
- Do not treat OOM as a code bug until batch size, dtype, resolution, context length, and existing GPU memory are checked.

## Final Add-On

For GPU/runtime work, include:

```text
Runtime checked:
- Driver/GPU: <value or not checked>
- Python env: <value or not checked>
- Torch/CUDA/ROCm: <value or not checked>
- Runtime package: <value or not checked>

Smoke:
- <command> -> passed/failed/not run

Residual risk:
- <remaining issue or none>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.