Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ pipe.unload_lora_weights()
|
|
42 |
|
43 |
# Memory optimizations
|
44 |
pipe.transformer.to(memory_format=torch.channels_last)
|
45 |
-
pipe.
|
46 |
|
47 |
# CUDA Graph setup
|
48 |
static_inputs = None
|
|
|
42 |
|
43 |
# Memory optimizations
|
44 |
pipe.transformer.to(memory_format=torch.channels_last)
|
45 |
+
pipe.enable_attention_slicing()
|
46 |
|
47 |
# CUDA Graph setup
|
48 |
static_inputs = None
|