Skip to content

Can't resize LoRA trained with OneTrainer #4

@AI-Casanova

Description

@AI-Casanova

OneTrainer names a few keys oddly I think :/

Traceback (most recent call last):
File "/content/gdrive/MyDrive/resize_lora/resize_lora.py", line 310, in
main()
File "/content/gdrive/MyDrive/resize_lora/resize_lora.py", line 297, in main
paired = PairedLoraModel(lora_model_path, checkpoint)
File "/content/drive/MyDrive/resize_lora/loralib/init.py", line 120, in init
raise ValueError(f"Target layer not found for LoRA {lora_layer_keys}")
ValueError: Target layer not found for LoRA lora_te2_text_projection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions