Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,10 +14,10 @@ from PIL import Image
|
|
14 |
|
15 |
import torch
|
16 |
|
17 |
-
torch.backends.cuda.matmul.allow_tf32 =
|
18 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
19 |
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
|
20 |
-
torch.backends.cudnn.allow_tf32 =
|
21 |
torch.backends.cudnn.deterministic = False
|
22 |
torch.backends.cudnn.benchmark = False
|
23 |
torch.backends.cuda.preferred_blas_library="cublas"
|
|
|
14 |
|
15 |
import torch
|
16 |
|
17 |
+
torch.backends.cuda.matmul.allow_tf32 = True
|
18 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
19 |
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
|
20 |
+
torch.backends.cudnn.allow_tf32 = True
|
21 |
torch.backends.cudnn.deterministic = False
|
22 |
torch.backends.cudnn.benchmark = False
|
23 |
torch.backends.cuda.preferred_blas_library="cublas"
|