Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
cd49d85
1
Parent(s):
715671d
modules/default_pipeline.py
CHANGED
@@ -11,9 +11,9 @@ xl_base_offset_lora_filename = os.path.join(lorafile_path, 'sd_xl_offset_example
|
|
11 |
|
12 |
xl_base = core.load_model(xl_base_filename)
|
13 |
xl_base = core.load_lora(xl_base, xl_base_offset_lora_filename, strength_model=1.0, strength_clip=0.0)
|
|
|
14 |
|
15 |
xl_refiner = core.load_model(xl_refiner_filename)
|
16 |
-
del xl_base.vae
|
17 |
|
18 |
|
19 |
@torch.no_grad()
|
|
|
11 |
|
12 |
xl_base = core.load_model(xl_base_filename)
|
13 |
xl_base = core.load_lora(xl_base, xl_base_offset_lora_filename, strength_model=1.0, strength_clip=0.0)
|
14 |
+
del xl_base.vae
|
15 |
|
16 |
xl_refiner = core.load_model(xl_refiner_filename)
|
|
|
17 |
|
18 |
|
19 |
@torch.no_grad()
|