DeepCache icon indicating copy to clipboard operation
DeepCache copied to clipboard

It is not work when using the base model in safetensors format.

Open l-dawei opened this issue 1 year ago • 5 comments

When I use the basic model in safetensors format, the error is as follows:

T60E5dvnjQ

Who can help me?

l-dawei avatar Dec 25 '23 07:12 l-dawei

Hi @l-dawei,

Could you check which UNet2DConditionModel the code would call? The one in diffusers or the one in DeepCache/sdxl/unet_2d_condition.py

horseee avatar Dec 25 '23 08:12 horseee

Hi @l-dawei,

Could you check which UNet2DConditionModel the code would call? The one in diffusers or the one in DeepCache/sdxl/unet_2d_condition.py

I checked and found that if I use the from_single_file function to load, the UNet2DConditionModel of diffusers is still called.

l-dawei avatar Dec 26 '23 09:12 l-dawei

Hi @l-dawei,

Could you check which UNet2DConditionModel the code would call? The one in diffusers or the one in DeepCache/sdxl/unet_2d_condition.py

When I use from_pretrained and from_single_file the different unet_2d_condition is called.

l-dawei avatar Dec 27 '23 05:12 l-dawei

Hi @l-dawei,

Could you check if the new implementation works?

horseee avatar Dec 27 '23 06:12 horseee

Hi @l-dawei,

Could you check if the new implementation works?

It's so powerful.

l-dawei avatar Dec 27 '23 07:12 l-dawei