ysyyhhh 1 year ago
parent
commit
00746e72bf
2 changed files with 4 additions and 0 deletions
  1. BIN
      FuzzScene.zip
  2. 4 0
      FuzzScene/test_gpu.py

BIN
FuzzScene.zip


+ 4 - 0
FuzzScene/test_gpu.py

@@ -0,0 +1,4 @@
+
+# 测试是否有gpu
+import torch
+print(torch.cuda.is_available())