Files
DiffSynth-Studio/diffsynth/utils/state_dict_converters/wan_video_vace.py
2025-11-13 17:30:19 +08:00

4 lines
159 B
Python

def VaceWanModelDictConverter(state_dict):
state_dict_ = {name: state_dict[name] for name in state_dict if name.startswith("vace")}
return state_dict_