Spaces:
Runtime error
Runtime error
cuda
Browse files
app.py
CHANGED
@@ -1,8 +1,4 @@
|
|
1 |
import torch
|
2 |
import gradio
|
3 |
|
4 |
-
|
5 |
-
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
6 |
-
# True
|
7 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
8 |
-
# Tesla T4
|
|
|
1 |
import torch
|
2 |
import gradio
|
3 |
|
4 |
+
|
|
|
|
|
|
|
|