Spaces:
Sleeping
Sleeping
disable low_vram mode
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
34 |
print(device)
|
35 |
|
36 |
# Flag for low VRAM usage
|
37 |
-
low_vram =
|
38 |
|
39 |
# Function definition for low VRAM usage
|
40 |
def models_to(model, device="cpu", excepts=None):
|
|
|
34 |
print(device)
|
35 |
|
36 |
# Flag for low VRAM usage
|
37 |
+
low_vram = False
|
38 |
|
39 |
# Function definition for low VRAM usage
|
40 |
def models_to(model, device="cpu", excepts=None):
|