emotion / api /test_pytorch.py
yanzoka's picture
Upload 18 files
0589f45 verified
raw
history blame contribute delete
180 Bytes
import torch
def main():
print(f"PyTorch version: {torch.__version__}")
print("CUDA Available:", torch.cuda.is_available())
if __name__ == "__main__":
main()