Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ torch.set_float32_matmul_precision("medium")
|
|
13 |
# device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
14 |
device = torch.device("cpu")
|
15 |
torch.set_default_device(device=device)
|
16 |
-
torch.autocast(enabled=True, dtype="float16", device_type="cuda")
|
17 |
|
18 |
pl.seed_everything(123, workers=True)
|
19 |
|
|
|
13 |
# device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
14 |
device = torch.device("cpu")
|
15 |
torch.set_default_device(device=device)
|
16 |
+
# torch.autocast(enabled=True, dtype="float16", device_type="cuda")
|
17 |
|
18 |
pl.seed_everything(123, workers=True)
|
19 |
|