Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -69,8 +69,6 @@ pipe.text_encoder = pipe.text_encoder.to(device=device, dtype=torch_dtype)
|
|
69 |
pipe.text_encoder_2 = pipe.text_encoder_2.to(device=device, dtype=torch_dtype)
|
70 |
pipe.vae = pipe.vae.to(device=device, dtype=torch_dtype)
|
71 |
|
72 |
-
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead")
|
73 |
-
pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead")
|
74 |
|
75 |
pipe.load_photomaker_adapter(
|
76 |
os.path.dirname(photomaker_ckpt),
|
|
|
69 |
pipe.text_encoder_2 = pipe.text_encoder_2.to(device=device, dtype=torch_dtype)
|
70 |
pipe.vae = pipe.vae.to(device=device, dtype=torch_dtype)
|
71 |
|
|
|
|
|
72 |
|
73 |
pipe.load_photomaker_adapter(
|
74 |
os.path.dirname(photomaker_ckpt),
|