Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,12 +18,12 @@ from typing import Tuple
|
|
| 18 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 19 |
import paramiko
|
| 20 |
|
| 21 |
-
torch.backends.cuda.matmul.allow_tf32 =
|
| 22 |
-
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction =
|
| 23 |
-
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction =
|
| 24 |
-
torch.backends.cudnn.allow_tf32 =
|
| 25 |
torch.backends.cudnn.deterministic = False
|
| 26 |
-
torch.backends.cudnn.benchmark =
|
| 27 |
torch.set_float32_matmul_precision("highest")
|
| 28 |
|
| 29 |
FTP_HOST = "1ink.us"
|
|
|
|
| 18 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 19 |
import paramiko
|
| 20 |
|
| 21 |
+
torch.backends.cuda.matmul.allow_tf32 = False
|
| 22 |
+
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
| 23 |
+
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
|
| 24 |
+
torch.backends.cudnn.allow_tf32 = False
|
| 25 |
torch.backends.cudnn.deterministic = False
|
| 26 |
+
torch.backends.cudnn.benchmark = False
|
| 27 |
torch.set_float32_matmul_precision("highest")
|
| 28 |
|
| 29 |
FTP_HOST = "1ink.us"
|