We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f38bafd commit 5b49881Copy full SHA for 5b49881
modules/sd_models_xl.py
@@ -37,7 +37,7 @@ def get_learned_conditioning(self: sgm.models.diffusion.DiffusionEngine, batch:
37
def apply_model(self: sgm.models.diffusion.DiffusionEngine, x, t, cond):
38
"""WARNING: This function is called once per denoising iteration. DO NOT add
39
expensive functionc calls such as `model.state_dict`. """
40
- if self.model.is_sdxl_inpaint:
+ if self.is_sdxl_inpaint:
41
x = torch.cat([x] + cond['c_concat'], dim=1)
42
43
return self.model(x, t, cond)
0 commit comments