Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,8 @@ 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 |
-
|
|
|
179 |
pipe.scheduler = sched
|
180 |
#pipe.vae=vae.to(torch.bfloat16)
|
181 |
#pipe.unet=pipeX.unet
|
@@ -250,7 +251,7 @@ def uploadNote():
|
|
250 |
f.write(f"SPACE SETUP: \n")
|
251 |
f.write(f"Use Model Dtype: no \n")
|
252 |
f.write(f"Model Scheduler: Euler_a custom before cuda \n")
|
253 |
-
f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc \n")
|
254 |
f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
|
255 |
f.write(f"Model HiDiffusion OFF \n")
|
256 |
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=10
|
179 |
+
|
180 |
pipe.scheduler = sched
|
181 |
#pipe.vae=vae.to(torch.bfloat16)
|
182 |
#pipe.unet=pipeX.unet
|
|
|
251 |
f.write(f"SPACE SETUP: \n")
|
252 |
f.write(f"Use Model Dtype: no \n")
|
253 |
f.write(f"Model Scheduler: Euler_a custom before cuda \n")
|
254 |
+
f.write(f"Model VAE: sdxl-vae to bfloat safetensor=false before cuda then attn_proc / scale facotor 10 \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")
|