-
Notifications
You must be signed in to change notification settings - Fork 135
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
LoHa/LoKr with conv. Error with tensor size mismatch #182
Comments
Same error type on LoKr, it seems. pretrained_model_name_or_path="runwayml/stable-diffusion-v1-5"
mixed_precision="fp16"
sdpa=true
network_dim=16
network_alpha=8
network_module = "lycoris.kohya"
network_args=[
"algo=lokr",
"preset=unet-convblock-only",
# "preset=unet-transformer-only", # Comparision without conv
"dora_wd=true", # tested without and same error
"rs_lora=true", # tested without and same error
"dropout=0.5",
"rank_dropout=0.25",
"module_dropout=0.25"
]
|
@rockerBOO Does this problem still exist in latest dev? |
I realized after that you were reconstructing. I tested it with commit 7880753 and kohya dev commit kohya-ss/sd-scripts@0d96e10 . I got the following:
network_module = "lycoris.kohya"
network_args = [
"algo=loha",
"preset=unet-convblock-only",
"dora_wd=true",
"rs_lora=true",
"dropout=0.3",
"rank_dropout=0.15",
"module_dropout=0.15",
]
I can give a full config if you can't recreate. Thanks |
This is something bugs in kohya side It could be some problems about bucket resolution steps |
Trying to figure out what could be causing it generally as it only happens on the dev version of this repo, and only for LoHa/LoKr with convolution. When using Kohya with conv it works but not sure how to further isolate where it could be causing this to happen differently in dev? I can poke to figure out the cause but any place to look for isolation? Maybe I could list out the dimensions of my dataset files after processing? Maybe that would help indicate if it's abucket related issue? Or maybe I could make a dataset of just non-bucketed to compare. I will try to address some of these in a few days. |
Was testing conv models and did one with LoHa and errored about a size mismatch. Using Kohya.
Commit: daa559f on dev branch
Relevant parts of the config:
Not a big deal as I'm generally not doing this beyond making a conv version of LoHa for analysis purposes.
Thank you!
The text was updated successfully, but these errors were encountered: