Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resize LoRA trained with OneTrainer #4

Open
AI-Casanova opened this issue Jun 7, 2024 · 0 comments
Open

Can't resize LoRA trained with OneTrainer #4

AI-Casanova opened this issue Jun 7, 2024 · 0 comments

Comments

@AI-Casanova
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant