tsqn commited on
Commit
eaf40d9
1 Parent(s): 01d14f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
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),