mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
debug
This commit is contained in:
@@ -210,6 +210,7 @@ def convert_state_dict_to_diffusers(state_dict, original_type=None, **kwargs):
|
||||
if original_type not in DIFFUSERS_STATE_DICT_MAPPINGS.keys():
|
||||
raise ValueError(f"Original type {original_type} is not supported")
|
||||
|
||||
print(f"*******From state_dict_utils.py: {original_type}*******")
|
||||
mapping = DIFFUSERS_STATE_DICT_MAPPINGS[original_type]
|
||||
return convert_state_dict(state_dict, mapping)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user