TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.48k stars 1.3k forks source link

Lyco/Lycoris Extensions not installing right plus other errors #1979

Open duskfallcrew opened 1 year ago

duskfallcrew commented 1 year ago

AssertionError: Bad Lora layer name: lora_te_text_model_encoder_layers_0_mlp_fc1.hada_w1_a - must end in lora_up.weight,

-- basically it's not loading the lora OR LYCORIS weights- Recognizing that A LoHa should be under LoCon/lycoris - and if it's Loha or Locon(Lycoris) that it should go in the Lycoris folder, well if it goes under there it won't load it or "FIND" it - but if i change the command back to LORA instead of "LYCO" - it works "SOMEWHAT" - it won't change the weight of the file and it acts like ti's broken.

I can promise you on my grandmother's gravesite, that it is not - it's a kohya SS trained lycoris by me, and i tested it three times in the last two weeks, and on top of that it's been on civit for that long and nobody's had this beef.

Also: Batchlinks won't work. Aria2c / Aria2 install breaks within this setting, so clearly extensions don't work so well with this as usual..

I DID Try going back to runpod with this, and every time i go back to runpod, the same thing happens and/or my gradio server breaks.

CivitAI's extension won't stay connected, even if it put my API and link key in.

I dunno, I usually prefer this notebook because i can put EVERYTHING in one place, but ti seems like with colab this isn't possible.

duskfallcrew commented 1 year ago
Screenshot 2023-04-12 at 6 18 01 PM

Here's the errors i was getting, because i'm still connected it's hard to actually copy and paste them.

Screenshot 2023-04-12 at 6 19 54 PM Screenshot 2023-04-12 at 6 20 13 PM
anonderpling commented 1 year ago

Batchlinks won't work. Aria2c / Aria2 install breaks within this setting, so clearly extensions don't work so well with this as usual..

This is because of a mismatch in installed packages. Batchlinks uses colab syntax for running OS commands, so it doesn't matter which. I was thinking of suggesting it to @etherealxx but I'm actually not sure if it's an issue caused by google or by some packages being installed by @TheLastBen (I haven't looked yet)[^1]. To fix, add this to either the top of your first batchlinks run (unnecessary after that) or to the top of one of the cells in the notebook before you run it. It will fix the problem regardless of where it occurs. Batchlinks uses colab syntax, so it's fine to put it in either place. I run a terminal in my colab so I can fix this[^2]

!apt-get install --fix-broken; apt-get install aria2

[^1]: Also, while the currently broken package is a -dev package and thus irrelevant, it might be something more important in the future. If Google is breaking the environment, trying to fix it could cause trouble in the future... [^2]: And so I can play around while waiting for things...

etherealxx commented 1 year ago

@kieranxsomer @anonderpling batchlinks dev here👋 Sorry the repo was unmaintained for a while bcoz my PC was broken. I'll fix things hopefully in a short time. Thanks for the tag.

duskfallcrew commented 1 year ago

Ah! well, no rush! It was working in nocrypt's notebook that was why i'd literally been hankering for it LOOL. Right now i'm hoping the lycoris issue gets fixed in this notebook - cause i can't use lora/lycoris right now but 'll be running my notebook again now to see if it's still an issue, but yes i'll run that in terminal in colab :3

TheLastBen commented 1 year ago

Everything should work fine now