Spaces:
Paused
Paused
Update aduc_framework/managers/wan_manager.py
Browse files
aduc_framework/managers/wan_manager.py
CHANGED
|
@@ -70,7 +70,7 @@ class WanManager:
|
|
| 70 |
print("Loading models into memory. This may take a few minutes...")
|
| 71 |
|
| 72 |
n_gpus = torch.cuda.device_count()
|
| 73 |
-
max_memory = {i: "
|
| 74 |
max_memory["cpu"] = "120GiB"
|
| 75 |
|
| 76 |
transformer = WanTransformer3DModel.from_pretrained(
|
|
|
|
| 70 |
print("Loading models into memory. This may take a few minutes...")
|
| 71 |
|
| 72 |
n_gpus = torch.cuda.device_count()
|
| 73 |
+
max_memory = {i: "43GiB" for i in range(n_gpus)}
|
| 74 |
max_memory["cpu"] = "120GiB"
|
| 75 |
|
| 76 |
transformer = WanTransformer3DModel.from_pretrained(
|