ford442 commited on
Commit
7c353fa
·
verified ·
1 Parent(s): d6e2519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def load_and_prepare_model():
112
  #pipe.unet.to(memory_format=torch.channels_last)
113
  #pipe.enable_vae_tiling()
114
  pipe.to(device=device, dtype=torch.bfloat16)
115
- pipe.vae = vaeXL.to(device) #.to('cpu') #.to(torch.bfloat16)
116
 
117
  pipe.unet.set_attn_processor(AttnProcessor2_0())
118
  pipe.vae.set_default_attn_processor()
 
112
  #pipe.unet.to(memory_format=torch.channels_last)
113
  #pipe.enable_vae_tiling()
114
  pipe.to(device=device, dtype=torch.bfloat16)
115
+ pipe.vae = vaeXL #.to(device) #.to('cpu') #.to(torch.bfloat16)
116
 
117
  pipe.unet.set_attn_processor(AttnProcessor2_0())
118
  pipe.vae.set_default_attn_processor()