peder
commited on
Commit
·
4338f4e
1
Parent(s):
3c9d666
Nuuda
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from transformers import pipeline, set_seed
|
|
10 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
11 |
|
12 |
#import torch
|
13 |
-
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
14 |
# True
|
15 |
print(
|
16 |
f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
|
|
10 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
11 |
|
12 |
#import torch
|
13 |
+
print(f"Is CUDA available PLEASE: {torch.cuda.is_available()}")
|
14 |
# True
|
15 |
print(
|
16 |
f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|