Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ def load_and_prepare_model(model_id):
|
|
175 |
#pipe.vae.do_resize=False
|
176 |
#pipe.vae.do_rescale=False
|
177 |
#pipe.vae.do_convert_rgb=True
|
178 |
-
pipe.vae.vae_scale_factor=
|
179 |
|
180 |
pipe.scheduler = sched
|
181 |
#pipe.vae=vae.to(torch.bfloat16)
|
@@ -251,7 +251,7 @@ def uploadNote():
|
|
251 |
f.write(f"SPACE SETUP: \n")
|
252 |
f.write(f"Use Model Dtype: no \n")
|
253 |
f.write(f"Model Scheduler: Euler_a all_custom before cuda \n")
|
254 |
-
f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc / scale
|
255 |
f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
|
256 |
f.write(f"Model HiDiffusion OFF \n")
|
257 |
f.write(f"Model do_resize ON \n")
|
|
|
175 |
#pipe.vae.do_resize=False
|
176 |
#pipe.vae.do_rescale=False
|
177 |
#pipe.vae.do_convert_rgb=True
|
178 |
+
pipe.vae.vae_scale_factor=8
|
179 |
|
180 |
pipe.scheduler = sched
|
181 |
#pipe.vae=vae.to(torch.bfloat16)
|
|
|
251 |
f.write(f"SPACE SETUP: \n")
|
252 |
f.write(f"Use Model Dtype: no \n")
|
253 |
f.write(f"Model Scheduler: Euler_a all_custom before cuda \n")
|
254 |
+
f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc / scale factor 8 \n")
|
255 |
f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
|
256 |
f.write(f"Model HiDiffusion OFF \n")
|
257 |
f.write(f"Model do_resize ON \n")
|