This commit is contained in:
Artiprocher
2025-04-15 17:52:25 +08:00
parent b925b402e2
commit b731628112
6 changed files with 243 additions and 23 deletions

View File

@@ -451,6 +451,7 @@ class WanModelStateDictConverter:
return state_dict_, config
def from_civitai(self, state_dict):
state_dict = {name: param for name, param in state_dict.items() if not name.startswith("vace")}
if hash_state_dict_keys(state_dict) == "9269f8db9040a9d860eaca435be61814":
config = {
"has_image_input": False,