Veritas-AI / Test.py
Aditya-Jadhav150
Initial commit: Veritas-AI Production Build
239017e
raw
history blame contribute delete
186 Bytes
import torch
print("CUDA Available:", torch.cuda.is_available())
if torch.cuda.is_available():
print("GPU Name:", torch.cuda.get_device_name(0))
else:
print("No GPU available.")