Giter Site home page Giter Site logo

Comments (13)

orionaskatu avatar orionaskatu commented on April 27, 2024 2

Seems you're missing dependencies in conda and your default python installation.
They are automatically installed in a virtual env by the webui.bat

The easiest way for you is then to change line 5 of webui.bat to:
set COMMANDLINE_ARGS=--precision full --no-half

And then it should work by launching webui.bat

from stable-diffusion-webui.

UrielCh avatar UrielCh commented on April 27, 2024 1

Thx that better with --precision full --no-half.
Now I need a new GFX, 6GB in f32 is... limiter

I did not see this line under RUNNING ON 4GB section My GFX is 6GB

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 27, 2024 1

Where is realuncher.py?

i can't find it...

There is no relauncher.py in this repo, parameters have to be passed directly to webui.py

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 27, 2024 1

It won't work that way, you don't have to modify the content of .py files.
You just have to launch webui.py from command line with the wanted parameters like:
python webui.py --precision full --no-half

Also don't mix files from the hlky repo and this one, it won't work as they are very different.

from stable-diffusion-webui.

ZeroCool22 avatar ZeroCool22 commented on April 27, 2024 1

It won't work that way, you don't have to modify the content of .py files. You just have to launch webui.py from command line with the wanted parameters like: python webui.py --precision full --no-half

Also don't mix files from the hlky repo and this one, it won't work as they are very different.

Ok, very thx for the info, i always used the GUI'S ones, so i don't know much about the correct way use of command lines.

Will try it.

from stable-diffusion-webui.

ZeroCool22 avatar ZeroCool22 commented on April 27, 2024 1

It was telling me always something was missing, so i run pip install -r requirements.txt, and now it start with no problems.

from stable-diffusion-webui.

AUTOMATIC1111 avatar AUTOMATIC1111 commented on April 27, 2024

--precision full is there

from stable-diffusion-webui.

UrielCh avatar UrielCh commented on April 27, 2024

I tryed to change start line in relauncher.py to

os.system("python scripts/webui.py --precision full")

after ensuring the presence of:

  • model.ckpt
  • GFPGANv1.3.pth
  • RealESRGAN_x4plus.pth
  • RealESRGAN_x4plus_anime_6B.pth

and a new Test for a 128x128 Img, I foubnd in my browser console:

CRASHED:<br><textarea rows=\"5\" style=\"color:white;background: black;width: -webkit-fill-available;font-family: monospace;font-size: small;font-weight: bold;\">expected scalar type Half but found Float</textarea><br><br>Please wait while the program restarts."

type Half but found Float...

yep... expected fp16 but get fp32? that is the purpose of this test ...

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 27, 2024

You seem to be using the hlky fork from here : https://github.com/hlky/stable-diffusion-webui

Found on the installation guide (https://rentry.org/GUItard) :

If your output is a solid green square (known problem on GTX 16xx):
Add --precision full --no-half to the launch parameters above, it should look like this:
"python scripts/webui.py --precision full --no-half --optimized"
Unfortunately, the full precision fix raises ram use drastically so you may have to moderately reduce your output to 448x448 if on 4gb

from stable-diffusion-webui.

ZeroCool22 avatar ZeroCool22 commented on April 27, 2024

Where is realuncher.py?

i can't find it...

from stable-diffusion-webui.

ZeroCool22 avatar ZeroCool22 commented on April 27, 2024

Where is realuncher.py?
i can't find it...

There is no relauncher.py in this repo, parameters have to be passed directly to webui.py

Can you teach me the correct way to do it please?

I just copy the one i want from here: https://github.com/hlky/stable-diffusion/blob/d667ff52a36b4e79526f01555bfbf85428f334ce/scripts/webui.py

And add it like this?:

Screenshot_3

Or i need to add some more lines?

from stable-diffusion-webui.

ZeroCool22 avatar ZeroCool22 commented on April 27, 2024

It won't work that way, you don't have to modify the content of .py files. You just have to launch webui.py from command line with the wanted parameters like: python webui.py --precision full --no-half

Also don't mix files from the hlky repo and this one, it won't work as they are very different.

Trough Anaconda:

Screenshot_2

And DIRECT from cmd:

Screenshot_4

When i execute the webui.bat everything runs fine, but fro mthe console get that error.

from stable-diffusion-webui.

AmmBe avatar AmmBe commented on April 27, 2024

I installed the PyTorch 1.12.1 cuda 11.6 and extracted the cudnn 8.5 archive to the \torch\lib folder. Now I can generate without using --precision full, but only at 320 and 640 resolutions and the speed is twice as slow.

from stable-diffusion-webui.

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.