Support Anima (#1317)

* support Anima

Co-authored-by: mi804 <1576993271@qq.com>
This commit is contained in:
Zhongjie Duan
2026-03-02 18:49:02 +08:00
committed by GitHub
parent 880231b4be
commit 6d671db5d2
18 changed files with 2252 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
def AnimaDiTStateDictConverter(state_dict):
new_state_dict = {}
for key in state_dict:
value = state_dict[key]
new_state_dict[key.replace("net.", "")] = value
return new_state_dict