Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
90f0781
1
Parent(s):
3866186
main.py
CHANGED
@@ -14,7 +14,8 @@ import time
|
|
14 |
from typing import Any, Dict
|
15 |
from ldm.models.diffusion.ddpm import LatentDiffusion, DDIMSampler
|
16 |
|
17 |
-
|
|
|
18 |
SCREEN_WIDTH = 512
|
19 |
SCREEN_HEIGHT = 384
|
20 |
NUM_SAMPLING_STEPS = 8
|
|
|
14 |
from typing import Any, Dict
|
15 |
from ldm.models.diffusion.ddpm import LatentDiffusion, DDIMSampler
|
16 |
|
17 |
+
torch.backends.cuda.matmul.allow_tf32 = True
|
18 |
+
torch.backends.cudnn.allow_tf32 = True
|
19 |
SCREEN_WIDTH = 512
|
20 |
SCREEN_HEIGHT = 384
|
21 |
NUM_SAMPLING_STEPS = 8
|