Home
/
Tools
/
CUDA Error Decoder
CUDA Error Decoder
Paste any GPU error & get instant cause + fix + code example. 30+ errors indexed.
β‘ Paste error message
CUDA out of memory. Tried to allocate 2.00 GiB
π Decode
Clear
π Diagnosis
β οΈ unknown error
CUDA
π oneβline fix
Reduce batch size or free GPU memory.
Cause:
GPU memory exhausted. Allocate less or use gradient accumulation.
# Example: empty cache & reduce batch size
torch.cuda.empty_cache()
train_loader.batch_size = 16