-
Notifications
You must be signed in to change notification settings - Fork 40
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
Issue with loading PixArt Sigma Loras #60
Comments
Hi. If you don't mind, could you share one of the LoRA files so I can implement it? The current implementation is largely based on the peft LoRA from the example training script. |
Will do, thanks! I'm just in the middle of a training run but I'll upload a file as soon as possible. |
Example workflow. These are the warning messages:
|
No clue if that fixes it but I made it match the correct keys. It still has a bunch of "missing keys" listed but looks like OneTrained just doesn't train those? Also, I can't really realistically load the T5 part until I switch over to the SD3 code for that, so I'd turn off training the text encoder until then. |
Yeah I've not been training the text encoder as it's too big. I'm afraid I get an error now running that example workflow I attached:
|
EDIT: Removing the contents of this post as it turns out it was unrelated. Above issue still stands. |
I didn't see this issue also, here is a lora file to test this. |
Did you upgrade your extra nodes recently? |
I have, I still cannot get a PixArt LoRa to have any meaningful effect like it did in OneTrainer. |
Same issue here. Looks like none of the keys in the lora are correctly being matched. Dug a little - among other things, the helper methods get_depth and get_lora_depth both returning zero. |
Will try it later today. Thanks! If you want a collaborator to help with refactoring the code, lmk |
I've switched over to training diffusers loras for the sigma line of models using the sigma lora repo, here's an example of one for sigma 900M which is working inside of comfy https://civitai.com/models/610726/pocket-creatures-sigma-900m |
@boricuapab Nice! Would you mind sharing your training config? |
I don't have a one trainer training config for it, I'm training them using this repo |
I've also trained this dreambooth lora with this script: |
Hey all. I am getting issues when trying to load a Lora created in OneTrainer for PixArt Sigma. No matter what options I try/train the Lora with, I always get a load of warning messages in the ComfyUI console when it hits the PixArt Lora Loader node:
NOT LOADED diffusion_model.lora_transformer_transformer_blocks
The OneTrainer training run completes successfully, I've tried on various fp16/fp32/bf16 settings. Can anyone offer any guidance on this?
The text was updated successfully, but these errors were encountered: