Spaces:
Running
on
Zero
Running
on
Zero
Update raw.py
Browse files
raw.py
CHANGED
|
@@ -43,7 +43,7 @@ pipe.load_lora_weights(adapter_id2, adapter_name="real")
|
|
| 43 |
pipe.set_adapters(["turbo", "real"], adapter_weights=[0.9, 0.6])
|
| 44 |
pipe.fuse_lora(adapter_names=["turbo", "real"], lora_scale=1.0)
|
| 45 |
pipe.unload_lora_weights()
|
| 46 |
-
pipe.enable_xformers_memory_efficient_attention()
|
| 47 |
# save to the Hub
|
| 48 |
# pipe.push_to_hub("fused-t-r")
|
| 49 |
|
|
|
|
| 43 |
pipe.set_adapters(["turbo", "real"], adapter_weights=[0.9, 0.6])
|
| 44 |
pipe.fuse_lora(adapter_names=["turbo", "real"], lora_scale=1.0)
|
| 45 |
pipe.unload_lora_weights()
|
| 46 |
+
# pipe.enable_xformers_memory_efficient_attention()
|
| 47 |
# save to the Hub
|
| 48 |
# pipe.push_to_hub("fused-t-r")
|
| 49 |
|