Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -156,10 +156,10 @@ def load_and_prepare_model(model_id):
|
|
156 |
pipe.to(device)
|
157 |
pipe.to(torch.bfloat16)
|
158 |
|
159 |
-
apply_hidiffusion(pipe)
|
160 |
|
161 |
#pipe.unet.set_default_attn_processor()
|
162 |
-
|
163 |
|
164 |
print(f'Pipeline: ')
|
165 |
#print(f'_optional_components: {pipe._optional_components}')
|
@@ -224,8 +224,8 @@ def uploadNote():
|
|
224 |
f.write(f"Model Scheduler: Euler_a custom after cuda \n")
|
225 |
f.write(f"Model VAE: juggernaut to bfloat before cuda then attn_proc \n")
|
226 |
f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
|
227 |
-
f.write(f"Model HiDiffusion
|
228 |
-
f.write(f"Now added pip 24 \n")
|
229 |
upload_to_ftp(filename)
|
230 |
|
231 |
@spaces.GPU(duration=30)
|
|
|
156 |
pipe.to(device)
|
157 |
pipe.to(torch.bfloat16)
|
158 |
|
159 |
+
#apply_hidiffusion(pipe)
|
160 |
|
161 |
#pipe.unet.set_default_attn_processor()
|
162 |
+
pipe.vae.set_default_attn_processor()
|
163 |
|
164 |
print(f'Pipeline: ')
|
165 |
#print(f'_optional_components: {pipe._optional_components}')
|
|
|
224 |
f.write(f"Model Scheduler: Euler_a custom after cuda \n")
|
225 |
f.write(f"Model VAE: juggernaut to bfloat before cuda then attn_proc \n")
|
226 |
f.write(f"Model UNET: default ford442/RealVisXL_V5.0_BF16 \n")
|
227 |
+
f.write(f"Model HiDiffusion OFF \n")
|
228 |
+
f.write(f"Now added pip 24 torch \n")
|
229 |
upload_to_ftp(filename)
|
230 |
|
231 |
@spaces.GPU(duration=30)
|