MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / __init__

Method __init__

diffsynth/models/lora.py:182–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180
181class FluxLoRAFromCivitai(LoRAFromCivitai):
182 def __init__(self):
183 super().__init__()
184 self.supported_model_classes = [FluxDiT, FluxDiT]
185 self.lora_prefix = ["lora_unet_", "transformer."]
186 self.renamed_lora_prefix = {}
187 self.special_keys = {
188 "single.blocks": "single_blocks",
189 "double.blocks": "double_blocks",
190 "img.attn": "img_attn",
191 "img.mlp": "img_mlp",
192 "img.mod": "img_mod",
193 "txt.attn": "txt_attn",
194 "txt.mlp": "txt_mlp",
195 "txt.mod": "txt_mod",
196 }
197
198
199

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected