Ryan Dick
|
00e56863c2
|
Add utility function for detecting whether a state_dict is in the FLUX kohya LoRA format.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
7b5befad0d
|
Update convert_flux_kohya_state_dict_to_invoke_format() to raise an exception if an unexpected key is encountered, and add a corresponding unit test.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
04b37e64ea
|
Move the responsibilities of 1) state_dict loading from file, and 2) SDXL lora key conversions, out of LoRAModelRaw and into LoRALoader.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
8518ae9ccb
|
Remove unused LoRAModelRaw.name attribute.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
d0d91eaeec
|
Fix type errors in sdxl_lora_conversion_utils.py
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
fc380f077f
|
Start moving SDXL-specific LoRA conversions out of the general-purpose LoRAModelRaw class.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
ade75b4748
|
Get convert_flux_kohya_state_dict_to_invoke_format(...) working, with unit tests.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
c41bd59812
|
WIP - Initial logic for kohya FLUX LoRA conversion.
|
2024-09-15 04:39:56 +03:00 |
|
Ryan Dick
|
2b3e4e123d
|
Split LoRA layer implementations into separate files.
|
2024-09-12 15:53:30 +00:00 |
|