Spaces:
Running
on
Zero
Running
on
Zero
bugfix
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ import boto3
|
|
23 |
from datetime import datetime
|
24 |
|
25 |
DEVICE = torch.device("cuda")
|
26 |
-
|
27 |
|
28 |
torch.autocast(device_type="cuda", dtype=torch.bfloat16).__enter__()
|
29 |
if torch.cuda.get_device_properties(0).major >= 8:
|
|
|
23 |
from datetime import datetime
|
24 |
|
25 |
DEVICE = torch.device("cuda")
|
26 |
+
MAX_SEED = np.iinfo(np.int32).max
|
27 |
|
28 |
torch.autocast(device_type="cuda", dtype=torch.bfloat16).__enter__()
|
29 |
if torch.cuda.get_device_properties(0).major >= 8:
|