peder
commited on
Commit
·
e2a5b83
1
Parent(s):
b88e668
perrito
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
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())}")
|
17 |
# Tesla T4
|
18 |
|
19 |
HF_AUTH_TOKEN = "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"
|
|
|
13 |
print(f"Is CUDA available PLEASE: {torch.cuda.is_available()}")
|
14 |
# True
|
15 |
print(
|
16 |
+
f"CUDA device for you Perrito: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
17 |
# Tesla T4
|
18 |
|
19 |
HF_AUTH_TOKEN = "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"
|