mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-21 03:40:16 +08:00
Merge branch 'comfyanonymous:master' into master
This commit is contained in:
commit
48bbdd0842
@ -620,6 +620,9 @@ def convert_config(unet_config):
|
|||||||
|
|
||||||
|
|
||||||
def unet_config_from_diffusers_unet(state_dict, dtype=None):
|
def unet_config_from_diffusers_unet(state_dict, dtype=None):
|
||||||
|
if "conv_in.weight" not in state_dict:
|
||||||
|
return None
|
||||||
|
|
||||||
match = {}
|
match = {}
|
||||||
transformer_depth = []
|
transformer_depth = []
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user