You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inclusion of Lycoris support via the following PRs worked great and greatly expands the possible training options. Lycoris LoKr also works perfectly when training, sampling and generating videos via musubi repository.
However convert_lora.py does not recognize the lokr-specific keys produced. This results in an empty .safetensors when trying to convert a training LoKr .safetensors.
This produces warnings as such: WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_proj.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_proj.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_qkv.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_qkv.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc1.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc1.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc2.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc2.lokr_w2 in default LoRA format
To train Lycoris LoKr the following lines have been used:
The inclusion of Lycoris support via the following PRs worked great and greatly expands the possible training options. Lycoris LoKr also works perfectly when training, sampling and generating videos via musubi repository.
However
convert_lora.py
does not recognize the lokr-specific keys produced. This results in an empty .safetensors when trying to convert a training LoKr .safetensors.This produces warnings as such:
WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_proj.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_proj.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_qkv.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_attn_qkv.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc1.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc1.lokr_w2 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc2.lokr_w1 in default LoRA format WARNING:__main__:unexpected key: lora_unet_double_blocks_0_img_mlp_fc2.lokr_w2 in default LoRA format
To train Lycoris LoKr the following lines have been used:
Attachements:
convert_lora.log
test_lokr.zip
The text was updated successfully, but these errors were encountered: