import torch if torch.cuda.is_available(): print("✅ GPU is available:", torch.cuda.get_device_name(0)) else: print("❌ No GPU detected!")