-
Notifications
You must be signed in to change notification settings - Fork 5k
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
SDXL LoRA key not loaded "lora_te2_text_projection.*" (LoRA from OneTrainer) #8237
Labels
bug
Something isn't working
Comments
Crosspost: Nerogar/OneTrainer#314 |
You have to provide a fully reproducible code snippet for us to look into this further. |
The LoRA file: https://filetransfer.io/data-package/SKG6lXd3#link |
If at all possible, please also host the LoRA file on the Hub so that is easily retrievable. |
Thank you to all involved for prioritizing and resolving this issue superfast! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When trying to use a LoRA in Diffusers, created in OneTrainer:
These keys are not loaded:
Reading up on the topic here: Nerogar/OneTrainer#47 reveals that it is not considered a OneTrainer bug, and something which should be fixed externally.
This is how the bug is described:
![image](https://private-user-images.githubusercontent.com/1322593/333092974-516ac9ef-e36d-4883-92e5-c32216c37acf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMjkzMDMsIm5iZiI6MTcyMTMyOTAwMywicGF0aCI6Ii8xMzIyNTkzLzMzMzA5Mjk3NC01MTZhYzllZi1lMzZkLTQ4ODMtOTJlNS1jMzIyMTZjMzdhY2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTg1NjQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGVjODU3NmNkZTRjODg4YWUyNjg5ODRmYjExMDFmNzNlODRhYzNlYmU1ZjJhMmNkNTYxMzIzMWM2YzRkNzlmZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._RdYL5Gq-MQusRayXiqjbedU94wYHYEdGM_eHvCgBnM)
So the question is: can the attempt to load the extra text encoder, also be ignored, if not found, so we can use OneTrainer LoRAs in Diffusers?
Reproduction
Import a SDXL LoRA from OneTrainer into Diffusers.
(The one I've got is far too big to share)
Logs
No response
System Info
Windows 11, Diffusers latest alpha version.
Who can help?
@sayakpaul
The text was updated successfully, but these errors were encountered: