Closed fartist123 closed 6 months ago
Unfortunately, it didn't work out for me.
It would be great if the author fast-stable-diffusion or Paperspace would fix this. I'm not good at coding.
pip3 install -r /notebooks/sd/stable-diffusion-webui/requirements_versions.txt
that command includes the installation of gradio, try pasting all the lines into the prompt rather then just one at a time.
And I'm not good at coding either, I literally learnt linux 3 days ago if you can believe it.
Thanks for the support!
Run the Dependencies Cell
Run Install/Update Automatic repo Cell
Run Model Cell
Run LoRA Cell
Run ControlNet Cell
I'm having trouble at this step:
I've tried pasting all the lines at once and one at a time too.
I got it! It's incredible!
I pasted that line into the terminal and everything seemed to work:
pip3 install -r /notebooks/sd/stable-diffusion-webui/requirements_versions.txt
Thank you so much for your help!
Run the Dependencies Cell
Run Install/Update Automatic repo Cell
Run Model Cell
Run LoRA Cell
Run ControlNet Cell
Check out my youtube channel, you owe me. https://www.youtube.com/channel/UCHTWpAApt4alEyO-jLVlXMg
I subscribed to your YT channel and will be watching some videos soon. 🤝
this issue happens only if you choose a different starting template, most users don't face this issue because they start with the paperspace pytorch 1.12 template
I've literally tried all the templates, including starting from scratch, and they all load with Python3.9 missing.
My issues started after a "update" button appeared next to this:
Ever since I pressed the update, no matter what template I choose, this problem persists.
The reason I made this guide in the first place is I'm fully aware that if I'm having this problem, then many other people are having the exact problem as well, statistically. As they say, "there is nothing new under the sun".
I tried all the obvious fixes, nothing worked. Please assume I tried pytorch 1.12 template. The lack of support I've had with this problem drove me to learn basic Linux, and boy, I dont envy coders... not that I count anything in my guide as code.
The issue lies within paperspaces default gradient image, this I swear.
OK, I'll check it out
The problem has been fixed, everything works with the new python 3.11, no need to install anything, just make sure you use the latest notebooks, by copying them from the folder "latest_notebooks"
Very much appreciated! Your doing the lords work!
I can't believe it's working! Thank you very much for fixing this issue, @TheLastBen
This is a simple guide to repair the following paperspace error:
I still dont understand why the issue only started recently, but here is how to solve it:
First, open a new terminal on the paperspace console:
Then paste the following into the Termal prompt (all the text in one prompt):
sudo apt update sudo apt install software-properties-common sudo add-apt-repository -y ppa:deadsnakes/ppa sudo apt-get -y install python3.9 python3.10 python3.11 python3.12
Now run the following Code-cells in this order:
Run the Dependencies Cell Run Install/Update Automatic repo Cell Run Model Cell Run LoRA Cell Run ControlNet Cell
Then paste the following into the Termal prompt (all the text in one prompt):
python -m pip install pytorch-lightning pip install torchvision==0.15.2 torchaudio==2.0.2 tensorrt !pip install tensorflow[and-cuda] git+https://github.com/openai/CLIP.git export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.11/dist-packages/tensorrt_libs/ pip3 install accelerate==0.20.3 pip3 install -r /notebooks/sd/stable-diffusion-webui/requirements_versions.txt pip install onnx numexpr polygraphy onnxruntime onnx_graphsurgeon optimum pip install --force-reinstall --no-deps --pre xformers==0.0.20 set COMMANDLINE_ARGS= --allow-code --xformers --skip-torch-cuda-test --no-half-vae --api --listen --enable-insecure-extension-access --share
Then add the following commands to your "Start Stable-Diffusion" code-cell:
--allow-code --xformers --skip-torch-cuda-test --no-half-vae --api --listen --enable-insecure-extension-access --share
Then Run the "Start Stable-Diffusion" code-cell and it should boot.
Your welcome.
Checkout my youtube channel if you feel interested: https://www.youtube.com/channel/UCHTWpAApt4alEyO-jLVlXMg