mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-19 23:08:13 +00:00
6 lines
218 B
Python
6 lines
218 B
Python
def NexusGenAutoregressiveModelStateDictConverter(state_dict):
|
|
new_state_dict = {}
|
|
for key in state_dict:
|
|
value = state_dict[key]
|
|
new_state_dict["model." + key] = value
|
|
return new_state_dict |