Giter Site home page Giter Site logo

Comments (16)

fartist123 avatar fartist123 commented on June 2, 2024 1

term1
term2
term3

from fast-stable-diffusion.

fartist123 avatar fartist123 commented on June 2, 2024

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.

TheLastBen avatar TheLastBen commented on June 2, 2024

@fartist123 try running the notebook inside the folder "latest_notebooks"

from fast-stable-diffusion.

fartist123 avatar fartist123 commented on June 2, 2024

from fast-stable-diffusion.

fartist123 avatar fartist123 commented on June 2, 2024

I get this error if I update torch torchaudio torchvision xformers

error2

from fast-stable-diffusion.

fartist123 avatar fartist123 commented on June 2, 2024

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.

kocten7 avatar kocten7 commented on June 2, 2024

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.

TheLastBen avatar TheLastBen commented on June 2, 2024

don't update torch and xformers

from fast-stable-diffusion.

fartist123 avatar fartist123 commented on June 2, 2024

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.

fartist123 avatar fartist123 commented on June 2, 2024

I figured it out!!! Do all the steps from my previous post, and then add "--share" after webui.py

figured

Your welcome, please upvote me to the moon if you could

from fast-stable-diffusion.

kocten7 avatar kocten7 commented on June 2, 2024

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.

kocten7 avatar kocten7 commented on June 2, 2024

@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.

kvlchuk avatar kvlchuk commented on June 2, 2024

@fartist123 done) it is workit

from fast-stable-diffusion.

kvlchuk avatar kvlchuk commented on June 2, 2024

@fartist123 only every time you start, you have to enter everything into the terminal again.

from fast-stable-diffusion.

TheLastBen avatar TheLastBen commented on June 2, 2024

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.

kocten7 avatar kocten7 commented on June 2, 2024

I confirm, it's already working as it should!

from fast-stable-diffusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.