Open eps696 opened 1 year ago
in fact, here is a workaround with a dummy argument:
change this line to def forward(input_tensor, temb, scale=None):
no idea if it breaks something about lora (as no idea if lora is compatible with tokenflow in general ::)
@eps696 Really helpful. Thanks! :-)
everything runs ok on diffusers version 0.20 or below, while getting this error on diffusers 0.21:
i've got python 2.0.1, xformers 0.0.21 (but again, it's only diffusers version that brings this error or not). UPD: the error is only for
pnp
method,sdedit
works ok.there were some similar issues on their github, maybe it helps: https://github.com/huggingface/diffusers/issues/3348 https://github.com/huggingface/diffusers/issues/5028