Spaces:
Paused
Paused
ResearcherXman commited on
Commit ·
f43f8b1
1
Parent(s): da665db
update
Browse filesFiles changed (2)
130 unmodified lines131132133134135136137130 unmodified linespipe.cuda()pipe.load_ip_adapter_instantid(face_adapter)print(pipe.image_proj_model.device, pipe.unet.device)pipe.image_proj_model.to("cuda")pipe.unet.to("cuda")# load and disable LCM130 unmodified lines131132133134135136130 unmodified linespipe.cuda()pipe.load_ip_adapter_instantid(face_adapter)pipe.image_proj_model.to("cuda")pipe.unet.to("cuda")# load and disable LCM
612 unmodified lines613614615616617618612 unmodified lineselse:prompt_image_emb = torch.cat([prompt_image_emb], dim=0)prompt_image_emb = self.image_proj_model(prompt_image_emb)bs_embed, seq_len, _ = prompt_image_emb.shape612 unmodified lines613614615616617618619620612 unmodified lineselse:prompt_image_emb = torch.cat([prompt_image_emb], dim=0)print(prompt_image_emb.device)print(self.image_proj_model.device)prompt_image_emb = self.image_proj_model(prompt_image_emb)bs_embed, seq_len, _ = prompt_image_emb.shape
app.py-1
pipeline_stable_diffusion_xl_instantid_full.py+2