Hi, I’m using the checkpoint and lora safetensors from civitai. I have successfully loaded the checkpoint using StableDiffusionPipeline.from_single_file() function but when I do pipe.load_lora_weights and provide the path to the safetensors I get the following error
empty_state_dict = model.state_dict()
File "C:\Users\ravik\anaconda3\envs\tryCivitAi\lib\site-packages\torch\nn\modules\module.py", line 1310, in state_dict
module.state_dict(destination, prefix + name + '.', keep_vars=keep_vars)
File "C:\Users\ravik\anaconda3\envs\tryCivitAi\lib\site-packages\torch\nn\modules\module.py", line 1310, in state_dict
module.state_dict(destination, prefix + name + '.', keep_vars=keep_vars)
File "C:\Users\ravik\anaconda3\envs\tryCivitAi\lib\site-packages\torch\nn\modules\module.py", line 1310, in state_dict
module.state_dict(destination, prefix + name + '.', keep_vars=keep_vars)
[Previous line repeated 3 more times]
File "C:\Users\ravik\anaconda3\envs\tryCivitAi\lib\site-packages\diffusers\loaders.py", line 109, in state_dict
return super().state_dict(*args, destination=destination, prefix=prefix, keep_vars=keep_vars)
TypeError: state_dict() got multiple values for argument 'destination'
Can you please help me debug this issue