fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

How do you install dependencies?

Open torchesburn opened this issue 3 years ago • 3 comments

Not seeing a requirements.txt to be able to install from there.

installing with pip one by one when the errors come up.

Also where do i put the huggingface token?

torchesburn avatar Dec 12 '22 04:12 torchesburn

the deps are compressed in one file and then extracted directly to the packages folder, it reduces the installation time from 4-5 minutes to les than 50 seconds.

you put the token in the "model download " cell

TheLastBen avatar Dec 12 '22 06:12 TheLastBen

i appreciate that it's faster, but it's really shady to be downloading binaries directly..

japherwocky avatar Dec 14 '22 15:12 japherwocky

The binaries are in the repo : https://github.com/TheLastBen/fast-stable-diffusion/tree/main/Dependencies You can check them, they are public. or you can simply make the list and pip install them by yourself if you want.

TheLastBen avatar Dec 14 '22 15:12 TheLastBen

You said the deps are compresed in one file, and then extracted into the packages folder? Which file is this, how do you extract it?

Cant seem to unzip dependeny.0 etc with 7z

torchesburn avatar Dec 17 '22 10:12 torchesburn

@torchesburn the loop :

for i in range(1,6):
    !wget -q "https://github.com/TheLastBen/fast-stable-diffusion/raw/main/Dependencies/Dependencies.{i}"
    !mv "Dependencies.{i}" "Dependencies.7z.00{i}"
!7z x -y Dependencies.7z.001

TheLastBen avatar Dec 17 '22 12:12 TheLastBen

Im trying to run this using jupyter-lab and running the cell with the dependencies gives an error. Is it actually possible to run it locally without google drive?

torchesburn avatar Dec 17 '22 14:12 torchesburn

Im guessing thats impossible due to google drive?

torchesburn avatar Dec 19 '22 11:12 torchesburn

install the dependencies separately using pip

TheLastBen avatar Dec 19 '22 11:12 TheLastBen