Comments (16)
from fast-stable-diffusion.
After updating my paperspace gradient version, I've been having the same error.
This problem has not been solved, and I'm shocked more people arent talking about it.
from fast-stable-diffusion.
@fartist123 try running the notebook inside the folder "latest_notebooks"
from fast-stable-diffusion.
from fast-stable-diffusion.
I get this error if I update torch torchaudio torchvision xformers
from fast-stable-diffusion.
Paperspace support sent me that, still wont work
To install Python 3.9 on your machine please follow the next steps:
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt install python3.9
Note: When prompted, press [Enter] or [Y] to continue.
Verify that the installation was successful by typing:
$ python3.9 --version
Finally, verify that the directory dist-packages exist running:
$ ls /usr/local/lib/python3.9/
from fast-stable-diffusion.
Unfortunately, the problem is still relevant. Please help me to fix it.
FileNotFoundError Traceback (most recent call last)
Cell In[1], line 8
3 force_reinstall= False
5 # Set to true only if you want to install the dependencies again.
6
7 #--------------------
----> 8 with open('/dev/null', 'w') as devnull:import requests, os, time, importlib;open('/notebooks/mainpaperspaceA1111.py', 'wb').write(requests.get('https://huggingface.co/datasets/TheLastBen/PPS/raw/main/Scripts/mainpaperspaceA1111.py').content);os.chdir('/notebooks');time.sleep(3);import mainpaperspaceA1111;importlib.reload(mainpaperspaceA1111);from mainpaperspaceA1111 import *;Deps(force_reinstall)
File /notebooks/mainpaperspaceA1111.py:31, in Deps(force_reinstall)
29 call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
30 if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
---> 31 os.chdir('/usr/local/lib/python3.9/dist-packages')
32 call("rm -r torch torch-1.12.1+cu116.dist-info torchaudio* torchvision* PIL Pillow* transformers* numpy* gdown*", shell=True, stdout=open('/dev/null', 'w'))
33 ntbk()
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/dist-packages'
from fast-stable-diffusion.
don't update torch and xformers
from fast-stable-diffusion.
Run each command step-by-step, I was able to get stable diffusion to boot, but it only generates a local address.
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.9
sudo apt install python3.10
sudo apt install python3.11
sudo apt install python3.12
Run the Dependencies Cell
Run Install/Update Automatic repo Cell
Run Model Cell
Run LoRA Cell
Run ControlNet Cell
python -m pip install pytorch-lightning
pip3 install accelerate==0.20.3
pip3 install -r /notebooks/sd/stable-diffusion-webui/requirements_versions.txt
!pip install git+https://github.com/openai/CLIP.git
!pip install tensorflow[and-cuda]
pip install tensorrt
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.11/dist-packages/tensorrt_libs/
pip3 install torch==2.0.1
pip install --force-reinstall --no-deps --pre xformers==0.0.20
set COMMANDLINE_ARGS= --xformers --opt-sdp-no-mem-attention --listen --enable-insecure-extension-access
pip install torchvision==0.15.2
pip install torchaudio==2.0.2
These I'm not sure about:
pip install tokenizer
pip install -U paperspace
pip install -U notebook
from fast-stable-diffusion.
I figured it out!!! Do all the steps from my previous post, and then add "--share" after webui.py
Your welcome, please upvote me to the moon if you could
from fast-stable-diffusion.
Do all the steps from my previous post, and then add "--share" after webui.py
Excuse me, where do these commands run?
from fast-stable-diffusion.
@fartist123 Thank you very much, I will try to do that. I haven't been able to start SD on Paperspace for a week now.
from fast-stable-diffusion.
@fartist123 done) it is workit
from fast-stable-diffusion.
@fartist123 only every time you start, you have to enter everything into the terminal again.
from fast-stable-diffusion.
No need to do anything, start a new machine with the latest notebooks and everything will work out of the box
from fast-stable-diffusion.
I confirm, it's already working as it should!
from fast-stable-diffusion.
Related Issues (20)
- Error when starting "Start Stable-Diffusion" while "fast_stable_diffusion" is running etc... HOT 2
- Chechpoint/model consistency
- Google Colab Pro | No share link in Start Stable-Diffusion Cell HOT 10
- automatic1111 won't start up HOT 11
- Google Colab | No share link without Cloudflare Tunnel HOT 5
- Unable to launch ComfyUI in Paperspace, tensorboard link "Service Unavailable" HOT 5
- Google collab is not working for more than 3 months already - What's the point then?
- Could not create share link. Missing file: /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2.
- gradio link not showing up HOT 1
- faststablediffusion
- GOOGLE COLLAB works well for 2 days, then breaks. Why? HOT 4
- Something went wrong
- HOW TO USE MODEL FROM SDXL in TheLastBen Stable Diffusion? HOT 3
- Error merging checkpoints: Error while serializing: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
- Problem using SDXL model on colab HOT 1
- RunPod / RNPD-A1111 not able to start
- Official Runpod model does not work: runpod/stable-diffusion:fast-stable-diffusion-2.4.0
- (Fix Guide) Paperspace Python3.9 is missing HOT 12
- Xformers Google Colab ERROR HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-stable-diffusion.