fakeVLM / 1.py
liu123-2's picture
Upload folder using huggingface_hub
4ce9939 verified
Raw
History Blame Contribute Delete
248 Bytes
import torch
print(f"CUDA Available: {torch.cuda.is_available()}")
print(f"Device Name: {torch.cuda.get_device_name(0)}")
import torch
print("GPU是否可用:", torch.cuda.is_available())
print("显卡型号:", torch.cuda.get_device_name(0))