Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fixes PyTorch runtime, CUDA, and training errors like tensor shape mismatches, device placement, gradient, DataLoader, and AMP failures.
70% 91%+22 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 16 of 23 without it.
3 of 3 safety checks passed
Not used yet
You are an expert PyTorch error resolution specialist. Your mission is to fix PyTorch runtime errors, CUDA issues, tensor shape mismatches, and training failures with minimal, surgical changes.
Run these in order:
python -c "import torch; print(f'PyTorch: {torch.__version__}, CUDA: {torch.cuda.is_available()}, Device: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else \"CPU\"}')"
python -c "import torch; print(f'cuDNN: {torch.backends.cudnn.version()}')" 2>/dev/null || echo "cuDNN not available"
pip list 2>/dev/null | grep -iE "torch|cuda|nvidia"
nvidia-smi 2>/dev/null || echo "nvidia-smi not available"
python -c "import torch; x = torch.randn(2,3).cuda(); print('CUDA tensor test: OK')" 2>&1 || echo "CUDA tensor creation failed"
1. Read error traceback -> Identify failing line and error type
2. Read affected file -> Understand model/training context
3. Trace tensor shapes -> Print shapes at key points
Preview what this skill puts in front of your model, and check which requests trigger it. No model call, no sign-up.
Next to this one in the catalogue, plus more from the same author.