Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,7 @@ if torch.cuda.is_available():
|
|
28 |
print(f'Device: {device}, GPU type: {gpu_type}')
|
29 |
print('BF16 enabled:', enable_bf16)
|
30 |
else:
|
31 |
-
|
32 |
-
torch._dynamo.config.suppress_errors = True
|
33 |
device, power_device, enable_bf16 = "cpu", "CPU", False
|
34 |
print('Running on CPU')
|
35 |
|
|
|
28 |
print(f'Device: {device}, GPU type: {gpu_type}')
|
29 |
print('BF16 enabled:', enable_bf16)
|
30 |
else:
|
31 |
+
# Currently not supported. Please run on GPUs.
|
|
|
32 |
device, power_device, enable_bf16 = "cpu", "CPU", False
|
33 |
print('Running on CPU')
|
34 |
|