Comments (13)
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.
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.
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.
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.
It won't work that way, you don't have to modify the content of
.py
files. You just have to launchwebui.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.
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.
--precision full
is there
from stable-diffusion-webui.
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.
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.
Where is realuncher.py?
i can't find it...
from stable-diffusion-webui.
Where is realuncher.py?
i can't find it...There is no
relauncher.py
in this repo, parameters have to be passed directly towebui.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?:
Or i need to add some more lines?
from stable-diffusion-webui.
It won't work that way, you don't have to modify the content of
.py
files. You just have to launchwebui.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:
And DIRECT from cmd:
When i execute the webui.bat everything runs fine, but fro mthe console get that error.
from stable-diffusion-webui.
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)
- AttributeError: 'UiControlNetUnit' object has no attribute 'enable'[Bug]: at last version HOT 10
- ERROR Calling AnimateDiff HOT 10
- [Bug]: Can't create venv at the first launch HOT 2
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument weight in method wrapper_CUDA___slow_conv2d_forward)[Bug]: HOT 2
- Torch is not able to see GPU HOT 6
- [Bug]: sd-webui-prompt-all-in-one extension is glitching the prompt bar HOT 2
- [Bug]: LORA's with .zip extension do not display in list with other LORA's HOT 1
- [Feature Request]: HOT 5
- [Feature Request]: Image Formats passed to api calls HOT 1
- [Feature Request]: Add GPEN to Face Restoration models HOT 1
- [Bug]: Error
- [Bug]: AttributeError: 'NoneType' object has no attribute 'lowvram' -- Clean install on Mac
- [Bug]: --share not work with paperspace HOT 1
- [Bug]: Error loading specific Upscalers: "RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found" HOT 1
- [GET THE OLD SAMPLING METHOD BACK]: HOT 14
- [Bug]: Prompt in textarea cannot be drag and drop since 1.9.0 HOT 3
- [Bug]: SDXL inpainting results in 'NansException' occurred with 1st settings. Error when VAE is present on MacOS
- [Bug]: HOT 9
- Can't load PonydiffusionXL HOT 4
- [Bug]: Stuck on Installing requirements
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 stable-diffusion-webui.