Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,6 +55,8 @@ pipe = diffusers.ZImagePipeline.from_pretrained("dimitribarbot/Z-Image-Turbo-BF1
|
|
| 55 |
custom_vae = AutoencoderKL.from_pretrained(
|
| 56 |
"AlekseyCalvin/AnimeVAE_by_Anzhc_for_Flux_ZiT",
|
| 57 |
torch_dtype=torch.float32,
|
|
|
|
|
|
|
| 58 |
device_map=None # Do not use device_map here
|
| 59 |
)
|
| 60 |
|
|
|
|
| 55 |
custom_vae = AutoencoderKL.from_pretrained(
|
| 56 |
"AlekseyCalvin/AnimeVAE_by_Anzhc_for_Flux_ZiT",
|
| 57 |
torch_dtype=torch.float32,
|
| 58 |
+
ignore_mismatched_sizes=True,
|
| 59 |
+
low_cpu_mem_usage=False,
|
| 60 |
device_map=None # Do not use device_map here
|
| 61 |
)
|
| 62 |
|