Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ if torch.cuda.is_available():
|
|
48 |
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
49 |
pipe.set_adapters("dalle")
|
50 |
|
51 |
-
pipe.
|
52 |
|
53 |
|
54 |
|
|
|
48 |
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
49 |
pipe.set_adapters("dalle")
|
50 |
|
51 |
+
pipe.enable_model_cpu_offload()
|
52 |
|
53 |
|
54 |
|