mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-19 06:23:43 +00:00
staticmethod
This commit is contained in:
@@ -252,7 +252,8 @@ class FluxLoRAConverter:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def align_to_opensource_format(self, state_dict, alpha=1.0):
|
||||
@staticmethod
|
||||
def align_to_opensource_format(state_dict, alpha=1.0):
|
||||
prefix_rename_dict = {
|
||||
"single_blocks": "lora_unet_single_blocks",
|
||||
"blocks": "lora_unet_double_blocks",
|
||||
|
||||
Reference in New Issue
Block a user