Open yoshihirosakamoto opened 1 year ago
no thelast ben is updating the book
Thanks, I install it by myself !pip install wget
For me worked run all of this:
!pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip install transformers !pip install open_clip !pip install diffusers !pip install triton !pip install bitsandbytes !pip install wget !pip install -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt !pip install open_clip_torch !pip install git+https://github.com/openai/CLIP.git !pip install xformers
For me worked run all of this:
!pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip install transformers !pip install open_clip !pip install diffusers !pip install triton !pip install bitsandbytes !pip install wget !pip install -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt !pip install open_clip_torch !pip install git+https://github.com/openai/CLIP.git !pip install xformers
Thank you for your help
Para mí funcionó ejecutar todo esto:
!pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip instalar transformadores ! pip instalar open_clip ! pip instalar difusores ! pip instalar triton ! pip instalar bits y bytes ! pip instalar wget ! pip instalar -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt ! pip instala git+ https://github.com/openai/CLIP.git !pip instala xformers
how do you download that?
Para mí funcionó ejecutar todo esto: !pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip instalar transformadores ! pip instalar open_clip ! pip instalar difusores ! pip instalar triton ! pip instalar bits y bytes ! pip instalar wget ! pip instalar -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt ! pip instala git+ https://github.com/openai/CLIP.git !pip instala xformers
how do you download that?
just add a code line and run it
For me worked run all of this:
!pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip install transformers !pip install open_clip !pip install diffusers !pip install triton !pip install bitsandbytes !pip install wget !pip install -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt !pip install open_clip_torch !pip install git+https://github.com/openai/CLIP.git !pip install xformers
Thanks, I just try it, but when it go to unet step and got this error subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/instance_images', '--output_dir=/content/models/cutecorgi', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/captions', '--instance_prompt=', '--seed=389667', '--resolution=1024', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=6000']' returned non-zero exit status 1. Something went wrong
shit, that's not enough text encoder works fine, but unet crushes because of out of memory. I think it's because of this at start maybe someone could manage this
At least the above works for inference
For me worked run all of this:
!pip install "fastapi[all]" !pip install "gradio[all]" !pip install "lpips[all]" !pip install "basicsr[all]" !pip install GitPython !pip install safetensors !pip install omegaconf !pip install transformers !pip install open_clip !pip install diffusers !pip install triton !pip install bitsandbytes !pip install wget !pip install -r /content/gdrive/MyDrive/sd/stable-diffusion-webui/requirements_versions.txt !pip install open_clip_torch !pip install git+https://github.com/openai/CLIP.git !pip install xformers
This temp solution works for me. Thank you very much!
r: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/instance_images', '--output_dir=/content/models/cutecorgi', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/captions', '--instance_prompt=', '--seed=389667', '--resolution=1024', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=6000']' returned non-zero exit status 1.
not enough, still missing other modules !pip install einops !pip install git+https://github.com/PyTorchLightning/pytorch-lightning !pip install piexif ...
r: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/instance_images', '--output_dir=/content/models/cutecorgi', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/captions', '--instance_prompt=', '--seed=389667', '--resolution=1024', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=6000']' returned non-zero exit status 1.
not enough, still missing other modules !pip install einops !pip install git+https://github.com/PyTorchLightning/pytorch-lightning !pip install piexif ...
yes, when you try to traning your model and go to unet part.... you will got error too
Do you get something like this?
Do you get something like this?
I got this: subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/instance_images', '--output_dir=/content/models/cutecorgi', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/cutecorgi/captions', '--instance_prompt=', '--seed=389667', '--resolution=1024', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=6000']' returned non-zero exit status 1.
Not working for me either.
Crap I should had stored a copy to my Google Drive :(
Yea i'm in the middle of streaming and some of this stuff was just not working, it wasn't even just THIS notebook, i had three KohyaSS notebooks bomb on me
Yea i'm in the middle of streaming and some of this stuff was just not working, it wasn't even just THIS notebook, i had three KohyaSS notebooks bomb on me
Yup me too. KoyhaSS is also nuked.
Does anybody have a copy of the old notebooks? LoRA or Checkpoint?
The only notebook that SOMEWHAT worked for me was an NGROK Saigodev one, i'm manually doing the commands but open clip won't install and any other versions just install old torch
I checked the revision history of this colab and nothing has changed. It must be something else.
This is the notebook i use as a backup: https://colab.research.google.com/github/sagiodev/stablediffusion_webui/blob/master/StableDiffusionUI_ngrok_sagiodev.ipynb NOW KEEP IN MIND this is not my local drive copy XD this is not the one i ahve running at extra credits per hour XD
I checked the revision history of this colab and nothing has changed. It must be something else.
It's likely google. XD Cause even the saigodev one has a xformers error and tensorflow
Final attack : Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 151, in model_hash OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 286, in
I give up, i'm going to my back up notebook XD lemme know when this one's fixed!
Final attack : Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 151, in model_hash OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 286, in File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 197, in webui File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 98, in initialize File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 91, in setup_model File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 126, in list_models File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 46, in init File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 152, in model_hash OSError: [Errno 107] Transport endpoint is not connected
I give up, i'm going to my back up notebook XD lemme know when this one's fixed!
Could you share your backup notebook. I'm stupid and did not make copies. :(
Final attack : Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 151, in model_hash OSError: [Errno 107] Transport endpoint is not connected During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 286, in File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 197, in webui File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 98, in initialize File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 91, in setup_model File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 126, in list_models File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 46, in init File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 152, in model_hash OSError: [Errno 107] Transport endpoint is not connected I give up, i'm going to my back up notebook XD lemme know when this one's fixed!
Could you share your backup notebook. I'm stupid and did not make copies. :(
No, LOL because i don't have a last ben copy- i only have the saigodev one which i linked before
This is the notebook i use as a backup: https://colab.research.google.com/github/sagiodev/stablediffusion_webui/blob/master/StableDiffusionUI_ngrok_sagiodev.ipynb NOW KEEP IN MIND this is not my local drive copy XD this is not the one i ahve running at extra credits per hour XD
This is the one i linked lol
That's not a training notebook :( But thanks for sharing. I'll sit on my hands until it's fixed xD
That's not a training notebook :( But thanks for sharing. I'll sit on my hands until it's fixed xD
Yea you COULD get dreambooth extension to work it's been updated but that one i'd suggest not to use with THIS notebook because YOLO it never keeps things in the same place twice
Default runtime has changed to Python version 3.9. You can switch to the old runtime (3.8) using the fallback runtime version in colab. More here: https://medium.com/google-colab/colab-updated-to-python-3-9-2593f8b1eb79
Default runtime has changed to Python version 3.9. You can switch to the old runtime (3.8) using the fallback runtime version in colab. More here: https://medium.com/google-colab/colab-updated-to-python-3-9-2593f8b1eb79
Sweet, thank you for this!
I checked the revision history of this colab and nothing has changed. It must be something else.
It's likely google. XD Cause even the saigodev one has a xformers error and tensorflow
yes, I'm sure google did it, for now... all users can't run it anymore and need to wait for update
Which basti pasted earlier, XD
Its google updated Python 3.9 from 3.8, and idk why thelastben is so slow this time
fixed
fixed
Legend
fixed
still no wget error for me :/
Still getting a ton of errors after a fresh install, but the UI seems to be running somehow.
eg: Error loading script: api.py ImportError: cannot import name 'KarrasDiffusionSchedulers' from 'diffusers.schedulers' ModuleNotFoundError: No module named 'dreambooth.dreambooth' Error loading script: main.py
is this the dreambooth extension ? if so, it doesn't work well with the UI, I suggest the dreambooth notebook.
Yeah I added the Dreambooth extension to the UI. Will go back to using the notebook. cheers
Is that mean google is banned for fast-stable-diffusion?
Thanks