support ltx2.3 inference

This commit is contained in:
mi804
2026-03-06 16:07:17 +08:00
parent c5aaa1da41
commit 73b13f4c86
17 changed files with 1608 additions and 351 deletions

View File

@@ -27,6 +27,7 @@ def LTX2VocoderStateDictConverter(state_dict):
state_dict_ = {}
for name in state_dict:
if name.startswith("vocoder."):
new_name = name.replace("vocoder.", "")
# new_name = name.replace("vocoder.", "")
new_name = name[len("vocoder."):]
state_dict_[new_name] = state_dict[name]
return state_dict_