#🤝|tech-support
1 messages · Page 99 of 1
I have tried to use export COMMANDLINE_ARGS="--no-gradio-queue" according to this thread: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9074
(!) This solved it, Make sure to reboot PC after the change: https://github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md
Your following an old guide. Checkout the first link of the pinned messages for a better AMD Guide
You need to adjust the path
Idk where you want to store the models so I put in an example
I copy paste the models folder in my ssd and delated the original folder from my webui
I did what was done in the youtube tutorial
Now I want to do what is in the tutorial https://www.youtube.com/watch?v=9UU3EuZDDVg It's 2:09
but it doesn't work. It doesn't create that "folder" in my webui
It says: You do not have sufficient permissions to perform this operation.
which guide should i stick to? i have rx6600 so i need zluda, but which guide is more relevant
Anyone have a good way to upscale in img2img,
using Forge UI, stable diffusion? In old stable diffusion I used latent upscaler, which I cant find in Forge UI.
ok now this is what im getting
Automatic1111 with ZLUDA
Internet connection error
Delete the venv folder and relaunch the webui-user.bat
(on the right is the image processed using lama cleaner, left inpainted) trying to use the cleaned image with controlnet to guide the inpainting
idk im keep getting same error every time
i'll keep searching for solution
You may need to change your DNS server then
Or sometimes a VPN can help
Hello ! well im here cause today my auto01 isn't responding anymore
like it was working prefectly yesterday
also when im in the ui prompt is not recognised it always show 0 /75
also can't press on the gen
my full cmdd
I tried to render something but it render me these kind of weird and bad image everytime for no reason
When I render a picture with my PC it take 15/20 second by image but here it take only 2 seconds and gave me this
and it happen with all the model I have
You are using an XL model, but are only set to 512x512. Change to 1024x1024.
Did you get the problem solved?
Anyone have a good systemd script so I can launch SD on reboot. Linux Mint 24, everything is in it's own directory (/ai/automatic1111 or /ai/comfyui or /ai/forge) I know I'd need a script for each, and the examples I keep seeing are running into their own issues. I can create a user specific for each instance of SD I want to run, if that helps.
It's on a headless (well, unless I plug a monitor in) machine with an nvidia card. I have it running without issue if I ssh to the box and start it with the --listen --enable-insecure-extension-access switches (baked into webui-user.sh)
Hello. Whener I try to use another model other than the default one "v1-5-pruned-emaonly", it generates gray images. I already deleted venv and ran it again but it keeps doing this
Is it a Pony model? Cause I had something similar where if you don't give it scores (i.e. score 9, score 8, score 7, etc.) like how it's supposed to be used it will generate blank images like that
it's a Lora
Hello, I'm currently planning to build a server for image generation. I'm not sure which graphics card would be more suitable, the RTX A4500 or the RTX 4090. Is there a significant performance difference between these two cards?
i have this when instaling auto
Loras goe into the models/lora folder
What python version did you installed?
but there is no Lora folder here
oh nvm you are right
it's in models/Lora
but i can't find my lora models
1 — Go to the "Settings" menu.
2 — Click on the sub-menu "Extra Networks".
3 — Scroll down and click on the option "Always show all networks on the Lora page".
4 — Click on the "Apply Settings" button (at the top of the page).
5 — Go to your Extra Network tab, click the "Refresh" button
try this
Loras are not models
Loras ar on the lora tab in txt2img
Loras cant generate images on their own
They need a model
the 3.10.6
How do I stop Stable Diffusion from naming files via the full prompt? I have the "Max prompt words" scale set to 1 but still generating files with the long names
i can't find my lora yet
nothing appears
did u put something in ur lora local folders ?
u put it here ?
can you show me the full cmd log?
yes
they only show up when a compatible model is selected
which model is ur lora for
so if you download loras for SDXL, you also need to use and SDXL model
same for every other base model
i'm using v1-5-pruned-emaonly as my model rn
should i use another one?
it's a nsfw lora lol
check the civitai site of each lora you download to see what its compatible with
Found the fix
what is urs
i'm using this one a "Raven Shadbase" lora
yes
a
sd 1.5 too
weird
maybe ur model is sd1.5 too, but sometime it doesnt match
check on github
whats your gpu btw? this log looks normal. when do you get the errors?
i'm gonna try using Counterfeit-V3.0
let me try
nvm i did do that but i think it's the model i'm using
Don't remember if this been mention or posted, but should Forge | Weight of GPU be lower by 500 MB? | In my case 23,539 to 23,039?
if your using flux you can try lowering it down by like 2gb
but yea dont use max vram
Okay, I been running generation and testing it with Flux, I had to get the Prun version because using Checkpoints the one with 20GB freezes my computer and lags, I guess that's probably why.
it is "working"
Yea but its not recommend to use the 23gb model anyway ^^ better use the fp8 16gb one or the nf4 flux
im on a 6800xt
i just did a full reinstall
now i have this
when loading a model
Oh and you use the directml Backend
Not recommended but works
If you want to get a much better performance checkout my AMD install guides from the link in the pinned messages
Thats one time only
Another question I have is when I first started using Flux on forge it didn't work even with the fp8 16gb model with (29be1da) -
But when I updated Forge it works, do you know why Flux doesn't work with F0017.7z (f92be1da) unless it updated?
Also, is the a difference in running the Run.bat file and "webui-user" in the webui folder?
because the old forge has no flux support
its a version from february
always start the webui-user.bat
Thank you, I was following this direction and other on youtube to do "Run.bat"
Should I do Run.bat first then webui-user.bat?
How can I tell if I'm using SD3?
version: v1.10.1 • python: 3.10.6 • torch: 2.1.2+cu121 • xformers: 0.0.23.post1 • gradio: 3.41.2
oh sry, for forge you can run the run.bat as it directs to the webui-user.bat anyway
SD3 is a model (checkpoint). Your programm is a so called Stable Diffusion Webui, its on Version 1.10.1
they are different things.
For SD3 you would need to download the SD3 model and put it into the models/stable-diffusion folder and then select it in the webui
Gotcha, I was trying to use the update BAT assumed that would work. Thanks!
Is this it?
yes
Sorry should I go with the smallest one? or biggest
the 10.9gb one
if you have a 4080 or 4090 you can also use the big one
does anybody know how to install stable diffusion? I'm trying to find the right website.
What if I have a 4060 Ti? 16gb
I appreciate you
guys i went to open my auto1111 and its really slow on my 6600xt out of nowhere on SDXL models how could i fix this it was not this slow with zluda
I used this guide, https://stable-diffusion-art.com/install-windows/
possibly found the issue
can you show the settings you tried to use in txt2img=?
you need to launch the webui-user.bat
ah ok
ah got it
much faster ty
should i do a zluda update
idk if that increases speed?
checkout my Guides:
https://github.com/CS1o/Stable-Diffusion-Info/wiki/Webui-Installation-Guides
i would say not by much, maybe a bit better cuda support was added
but doesnt hurt to update them
i see how would i update it without messing up anything
download the latest Zluda release build for either rocm5 or rocm6 depending if you installed hip sdk 5.7 or 6.1
Then replace all files in C:\Zluda and delete the old cusparse64_11 and cublas64_11 dll and then make new copies with the new files
so if i have sdk 5.7 i need rocm5 build?
yep
also make sure your webui is updated
should i do a 6.1 update also or stick with rocm5 build?
you can do that if you want. as 5.7 will be not supported in the future. (but nobody knows when)
but for the switch you also need compatible rocm files for your card.
these can be downloaded here:
https://github.com/likelovewant/ROCmLibs-for-gfx1103-AMD780M-APU/releases/download/v0.6.1.2/rocm.gfx1032.for.hip.sdk.6.1.2.7z
you then also need to uninstall hip sdk 5.7 and install 6.1
and then also downloading the rocm6 zluda files instead of rocm5
ok so i uninstall 5 then i download rocm6 sdk from AMD then whats after?
then you can follow my guide again at zluda setup Step 3 but with the rocm libs i linked you
ok
the rest is the same just that you have to do it for 6.1 instead of 5.7
after all you also need to delete the .zluda folder inseide the stable-diffusion.webui folder
Hi I'm trying to face swap a photo which has used a lora to create the facial expression. Every time I use Reactor to face swap it overwrites the lora and the facial expression is just bland. Does anybody know how to fix this?
hey, you would need to use controlnet + IP-Adapter Face to get expressions + faceswap working
what you still can try is to reduce the codeformer strenght in reactor first to test
So it is possible to do it then?
yep so i did follow the steps for zluda and now i have this
can you show me the full cmd log?
I have increased and decreased the strength and still not working
do you have a model in models/stable-diffusion?
if not place there a model
yes
have you installed hip sdk 6.1 ?
and how do your environment path settings look ?
doing this rn
i instaled hip 1 week ago
okay then wait ^^
thats okay
then just wait until the cmd shows something new
the zluda process part can sometimes take 15-40 minutes
on time only
alright 👍
yea then i would go the IP-Adapter route maybe
Okay, Do you know of any guides that would be able to help me set it up?
maybe this:
https://www.youtube.com/watch?v=_A7PraBHyg0
I'll give it a try thank you
Will Flux models work with SD A1111?
currently not, but in future i guess
Flux works in Webui Forge and ComfyUI and sdNext
Which one do you personally use? Not just with Flux
I primarily use Auto1111
Best Extension support
cmd is showing compiling in progress when generating thats fine correct
yep
this does once or?
yep only one time and it can hapen again after a torch reinstall or gpu driver update
ok so this is the 45 min first gen thing?
run this inside a cmd in the stable-diffusion-webui folder
venv\Scripts\activate.bat
you dont need to use cd
go into the stable-diffusion-webui folder.
Click into the file explorer bar and type cmd.
Then hit enter and in the cmd run the command
ohh okay
but the command should be the same only the you need to activate the activate.sh
instead of bat
you only have to run activate.sh in the scripts folder
@ornate elk i have 4 to 5 it/s now on rocm6
ouh nice, what you got before?
2 to 3
wow okay
seems like i will update my guide for 6.1 for older cards then too
just type
activate.sh or try
sh activate.sh
it's a bit long no?
for mac stuff i can refer to @karmic crown, he knows everything about mac and SD
yea it should have launched by now
try close and relaunch the webui-user.bat
okey nice
i will
sry for the wating time but it could be another 15-35mins
after that an image takes seconds 🙂
thats would be dope ahah
img to img also?
yep
and more stable them next
it always depends on model, resolution etc, but everything should be much much faster
and yea better useable than next xD
Is the generate button still grayed out?
And shows interrupt
Looks good
well it's working but during the img to img my mouse was no moving :/
Make sure you don't run any games and Also not Wallpaper engine in the background
Probably. Right click and Exit it. Pause it won't help
yeah it did exit
buut didn't know that this is causing the frezze
Wallpaper engine and SD dont like each other xD together they can even crash the PC
that whats just happen lol
working like a charms now i think
Perfect, no problem
What did you tried to do
Resize by takes up a lot of vram and ia not the recommended way to upscale an image
whatss the best way
In img2img you can use the SD upscale script at the bottom.
Then set the "resize to" resolution to either 512x512 or 1024x1024 depending if you use 1.5 or sdxl model.
(Its not the end resolution).
Then set the denois slider below 0.3 and select an upscaler at the bottom
how can i use xl models if i have 8gb of vram but it still crashes?
i tried setting my setting to medvram like this guide says https://rentry.co/2rq2n#-running-on-4gb-and-under-
https://rentry.org/voldy
He who shall not be named
The definitive Stable Diffusion experience ™
(Special thanks to all anons who contributed)
---FEATURE SHOWCASE & HOWTO---
Notable: GUI, Inpainting/Outpainting, Live generation preview, Tiling, Upscaling, <4gb VRAM support, Negative prompts...
What's in your webui-user.bat?
You only should use:
--xformers --medvram-sdxl --no-half-vae
And nothing more in the commandline_args=
Then sdxl models should work.
Also if you only have 16gb system memory you need to increase your Windows Pagefile
Yea then same thing add only the three commands I mentioned there
Then save and relaunch
got it, let's hope it helps 🙏
Linux and SD need a big swap file for sdxl (32gb)
Thx, no problem 🙂
yes, i'm noticing my swap file is around 4gb
how can i make it bigger
Idk sry
it's all good
I'm off for now gn
Hi Im getting an error with cuda 11.6 im using visual studio 2022 and an RTX 2080ti im new to using cuda so am I using the correct version 11.6 for SD or should I use 12.0?
2024-09-22 16:04:58.1913869 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\Shaun\Desktop\AI Program\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
I tried putting a set path to the dlls to the cuda toolkit but webui says python cant load
...is pytorch needed for cuda on win 10?
Hey you need python 3.10.11 64bit and cuda 11.6 is to old.
At least 11.8 is needed. But you don't need any manual cuda installation. The webui will install the right pytorch version with the cuda version compatible with your GPU driver.
So make sure that's updated too
Hi I'm having issues face swapping two people using Reactor. I have set the source image as 0, 1 and target as 0, 1 but Reactor always says ReActor - STATUS - Swapping Source into Target
08:34:43 - ReActor - STATUS - Detecting Source Face, Index = 1
08:34:43 - ReActor - ERROR - Age Detection: No face with index = 1 was found
08:34:43 - ReActor - ERROR - Gender Detection: No face with index = 1 was found
Hi! I have a 2080ti. How much more inference speed would I get with 2x 2080ti (nvlink)? how much with 4x 2080ti (2x nvlink)?
Stable Diffusion doesn't support nvlink
then why they recommend it on forums
Where and who?
I can give many links and chatbots also say so
Didnt found anyone that got nvlink working with stable diffusion
And a chatbot isnt a prove for aynthing
What you can use are two instances of a webui.
For each card one instance to generate images simultaneously
And LLMs work with nvlink. What also doesn't mean stable diffusion works with it
'You can use swarmUI and queue up a second generation with the other gpu at the same time'
sorry, so it is reasonable to buy 4x 2080ti right?
Swarm can use multiple backends and is good for multi GPU systems
As a 2080ti only has 11gb vram and Vram is the most important stuff I dont see a benefit here
I dont see how vram is so important. this is two times vram difference (inference speed - puget systems)
Vram is the most important stuff when it comes to ai tasks.
For example run a 23gb Flux model with a 24gb 3090 or a 10gb 3080 and it will outperform it by a lot
More vram = bigger models work faster
but thats for flux, I dont use it
Yea that was just an example
An other thing is that more vram can create higher native resolution
Or upscaling too
so for sdxl I think I can do better resolution? but it ll still take more time right so..
I can just upscale it on 11gb right
Yes you can upscale on 11gb
Depends on your use case. Why do sou want 4x 2080ti ?
to have 4 images generated in time of 1
You would need to test how long a specific image takes on a 2080ti because with more vram you can also use batch size which means "generate images at the same time"
just like swarm?
Swarm can do that too
it s 2.15 it\s for me currently
but I want to install tensorRT
That can improve the performance a lot but also limits the extension compatibility
can you explain a bit please
Here is also a benchmark for 1.5:
Some Custom Nodes may not work when using TensorRT as they are coded for the base cuda stuff.
Also TensorRT needs manual model conversion
I see thank you. maybe I ll consider 4070ti 16 gb instead of 2080ti
oh no they are expensive nvm
Yea 4070ti is crazy expensive
if you still have issues let me know, but i need to go to the hospital tomorrow, so i will probably not be able to answer in the next 2 days
who is a good python developer svlbto
I dont get it, is it a solution? https://github.com/comfyanonymous/ComfyUI/issues/162#issuecomment-2241298064 what you think?
Its a barebone code to make it work. It would need to be implemented in comfyui first to make it compatible with nodes too
I see thank you so much
I ll also need to switch intel to amd for more lanes. comfy does work with amd efficiently right?
Yep works flawlessly
is 6gb vram enough for sdxl? 🙃
any tips for hanging, takes a very long time to start gen when I switch model then after first gen they fly
Yes, can work
What's your GPU and what's inside your webui-user.bat?
4090 Trio X
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
@REM Uncomment following code to reference an existing A1111 checkout.
@REM set A1111_HOME=Your A1111 checkout dir
@REM
@REM set VENV_DIR=%A1111_HOME%/venv
@REM set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^
@REM --ckpt-dir %A1111_HOME%/models/Stable-diffusion ^
@REM --hypernetwork-dir %A1111_HOME%/models/hypernetworks ^
@REM --embeddings-dir %A1111_HOME%/embeddings ^
@REM --lora-dir %A1111_HOME%/models/Lora
call webui.bat
Im using forge if that makes a diff
i am getting 9.14s/it speed on sdxl....is this normal? it took 4mins to gen a 1024x1024 img..i see ppl saying that it only takes them 30 secs for a img like that...
What's in your webui-user.bat?
And it hangs after the generation is done or only when switching models?
i am currently using invoke ai via stability matrix...so i dont know how to access my webui file in here...i tried a1111 before but it was slow like this too....
Can't help much with invoke but with 6gb vram you should use Auto1111 or Forge webui
In Auto1111 I can give you some tips to improve the performance
forge works quite fine...but it has issues with some extensions...thats why i was looking for any other option...gotta stick with forge i guess....
Check if you can enable fp8 mode for sdxl in the settings
How much ram and which model do you use?
Okay and the model you tried?
flux1-dev-bnb-nf4
Looks like it doesn't trys to store models in the RAM, instead it loads them directly into the vram
Also make sure the models are on an SSD
should I have to install this every time I start??
Legacy Preprocessor init warning: Unable to install insightface automatically. Please try run pip install insightface manually.
how much time it will take? already like an hour
if you want to use faceswap stuff only
then oyu need to install it one time
relaunch and then try to generate again
Everything i launch it tells me that
without deleting venv folder?
yea dont delete the venv
yea because its not installed
if you install it one time into the venv correctly, it wont complain anymore
Ok I install in terminal says successful then asks every launch I'll try to see if it's just installing to the container instance or something
you need to activate the venv and then install it
what is this slowdown in iopaint? It seems that if I close it and reopen, time per iteration drops from 10 ~ 11 sec to 2s
kk ill try that ty
and i think it started compiling endlessly
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
FutureWarning: clean_up_tokenization_spaces was not set. It will be set to True by default. This behavior will be depracted in transformers v4.45, and will be then set to False by default.
i tried to generate something and it repeats Compiling in progress. Please wait...
how do i fix it?
that can be ignored
switch to a compatible model so they will show up
should I add the pip install insightface to my webbat?
sorry kinda a noob
your using forge right
I have everything in one place
on linux or windows?
okay wouldnt recommend that for nvidia stuff but okay ^^
then you have to run pip install insightface in your dockers terminal for the forge instance
what if i try use any other model? i have no clue what to do about infinite and repeating compiling, ill keep searching
whats your gpu?
rx6600
is it still compiling?
it repeats every time i click soomething in webui
if i try generate it sends me this
you have to generate one image first and dont click on other stuff meanwhile
so if the generate button is grayed out and showing interrupt, its fine, let it load
where do i change the model
sorry i'm a beginner
I got it here
I had to restart
thankyou
can forge spaces be integrated into the windows version?
omg it worked
Perfect 🙂
i just downloaded diffrent model and noticed lag spikes because of my ramn usage is 16gb out of 16
If you use sdxl models you need to increase your Windows Pagefile
wait can you tell me how do i know what im using rn, sdxl, sd3 or something else
Always check the models info box in Civitai.com
But you can also tell it at the file size.
2-4gb is mostly 1.5
6gb is sdxl/pony
so this one i downloaded is most probably sdxl
I need to create about 20 images for 1 that I like 
it takes a looot of time to generate pic, i think my pc is too weak for that 
what will happen if i add --medvram or --lowvram in the line?
can you shwo the txt2img settings you tried?
you can try add --medvram-sdxl
it speeds up the sdxl models
dont add --medvram, its for 6gb or less
yea dont go to high, better generate a bit lower and then use upscaling to get a higher resolution
but first add --medvram-sdxl to the webui-user.bat
almost at 95% !!
Yea to high native resolution
If you increase the windows pagefile, it also would be faster
No problem!
any python devs here want top help me with adding control net to to my script
probably find better help in #🧣|comfy-ui channel than here
Is there a way to identify a model
So I can find the actual model file and make my own pictures.
do you have an example?
looks like you used a latent upscaler with a denois above 0.5
oh thats maybe why
let me try without
in high res fix or imgg to img?
in highres fix. but if your in img2img then just lower the denois below 0.3 and selecet Esrgan4x Anime6b as upscaler
looks good
thanks for the help
no problem
Hello I am new with the stable diffusion. Trying to make "inpaint" for a product so I followed a tutorial. For inpaint people suggested foooocus so Im using that. For the outputs there is pixel changes on the area I drew at the inpaint tab but the product is not there. Tried to increase the weight but no visible change. Anyone has an idea ?
I dont even know what Im trying to do is feasible or not tbh
An help with comfyui
bet
Tech support
I need help finishing the download. I got to run but it keeps failing . Its like it will go all the way then boom can't do nothing. UI is up and all but doesn't want to work
I will send a few screen shots of the code
My system is amd
on the comfyui package i cant seem to use flux. while im using this exact workflow with all the models and nodes installed and everything, it just crashes when it reaches the load diffusion model node when i have a flux model in there
this seems to be the only thing that the console has to say from the time i click queue prompt to when it crashes
Using pytorch attention in VAE
Using pytorch attention in VAE
Did you manage to solve it?
im having the same issue icl
anyone know how to fix this? the inpaint keeps giving me a weird result, i wanted the person to have a big toothy smile but instead their mouth is yellow?
these are the settings im using
is there any chance somebody could get on voice chat and help me with installing stable diffusion? I'm trying to download it but there's so many codes and steps and so many different websites that I am lost and call me a dumbass but I really need someone to walk me through the download procedure cause I am lost as fuck.
@ornate elk Sorry for the long wait but here is my issue 🙂 if more is needed I will get it 🙂
boop
i got a video i can send that helped me
basically its prety straight forward tho
u type, git and then the stable diff repository into cmd, (provided u have git installed first)
then u just let it clone into C:, or whereever, once its done, u go to that directory, double click the file called "webui-user.bat" and then let it finish downloading dependencies, if u dont already, u will also want to install python
specifically python 3.10.6
i believe any higher than that and it wont run
and thats pretty much it =3
i forget what u have to do for AMD cpus, but, i think its relatively the same setup
I'm sorry but I am too dumb to grt all that
D;
Hey, check the pinned messages for install instructions
Try delete the venv folder and relaunch the webui-user.bat
What was your GPU? Nvidia or AMD?
You followed an old tutorial it seams.
For the AMD setup please follow my install Guide from the first link of the pinned messages.
i can move my stable diffusion folder to somewhere else without any problem?
i want to move it on another ssd, do i need to move it with zluda folder or only stable diffusion folder
You can only move the models folder and then link it in the webui-user.bat by adding --models-dir "D:\ExamplePathToAnyhwere\models"
Thanks a bunch that fixed it. Though I have a new problem involving Aria2. It won't start properly. its tied to an addon I have called "CivitAIbrowser-plus" with my A1111😬
Try updating your extensions
I checked for updates but nothing changed. Could I just delete the extension and reinstall it 🤔
on civitai i saw there are clip skip for the img, what extension do i need to download to add that to my ui?
and guidance is cfg right?
AMD
Sure
No need for an extension.
Go into the settings, User interface, Quicksettings, there add Clip_stop_at_last_layers
Then hit apply and relaunch
Your using directml then?
If so you have to add --no-half to the webui-user.bat to fix the Inpainting.
Anybody have an idea for this ?
Thats not how it works and its really difficult to do that
i need help
i tag "git pull" to update my webui, and then something get wrong. it can run well before that.
Hello! I need some help here. I am trying to change the location of both the Checkpoint and lora files, but whenever I use the command we are supposed to use, it only loads one or the other, Not both. What am I doing wrong here?
Not sure, I followed ur pinned link on how to install for AMD tho
Pretty sure I did already, ill check again tho
you ve modified launch.py, you re not supposed to do that. Revert its modification by running git checkout --theirs launch.py from sdwebui folder
what does the log says ?
where are the logs?
try --ckpt-dir "c:/AI/Models" --lora-dir "C:/AI/Loras"
i downloaded webui 1.10.0 , double clicked webui user.bat, and it says like this. it took so much time to download pytorch and then failed to make it. whats wrong with it? can anybody help me?
same
mine have lots of red words. looks like so many errors occurred.
Follow my install guide from the pinned messages
Idk where you downloaded the webui from. But you have to Git clone it
from automatic111
Okay, if your in Asia you need a VPN for the first install
yeah im using VPN now, but still don't work
Did the git clone worked without any errors?
How do the folders look like?
yes it works
What do you mean? they are just normal directores
Do they have the same name as shown in the log?
aiLoras ?
Because in your webui-user.bat is ai\loras
and there is nothing in those folders presently, yet when I get into SD all of the checkints are there, but the loras are gone
did i make anything wrong with the edit?
Looks fine
ok i'll try again
I was just using what someone posted, didnt look to see it was wrong
Try open up the cmd and type
Pip cache purge
Then delete the venv folder and relaunch the webui-user.bat
the lora folder wont load, its stuck in a loop
Whitelist the webui in any browser adblocker
Lora list sometimes gets blocked
sorry for disturbing, but what does the "At the line COMMANDLINE_ARGS= You add: --xformers --no-half-vae" work for? i didn't added it because i didn't see it in github
just curious
Its for performance and compatibility
Xformers boosts performance and needs less vram.
And no half vae is for VAE compatibility
Lora works, but the checkpoint folder does not switch
do you see them in the dropdown or not?
yes, but i shouldnt, because the directoy i told it to look in has nothing in it, so the list should be empty
and where does it get the models from?
where are they located?
the models that are showing in the list are in the old Sd directory. the inital one
ah okay
but you need put at least 1 model into the new directory
or you wont see if it works or not
well, its actually already got 1
and does it show up after a relaunch?
amd
i mean the exact name
oh 1 sec
inpaint with directml works only with --no-half, not with --no-half-vae
radeon 480
So its showing both directories, which is annoying, but ok
it will always show the default one, if there is a model in it
oh so delete '--no-half-vae' and add '--no-half'?
ok will delete that and add the other
yes then it will work, but also that increases the VRAM usage, so maybe make two different bats one with --no-half and one with --no-half-vae
thank you so much
btw, what if i don't add anything besides "--xformers --no-half-vae" , even though my card is GTX 16XX and 4GB? will anything get wrong?
oh alright so how do i create two different bats?
copy the webui-user.bat, then rename it for example to Inpaint-webui.bat and there use the --no-half
and for the other keep --no-half-vae
a GTX16XX always needs --no-half or it wil get problems with some models
also it needs --medvram as it only has 4gb vram
then your ready
alright done ill give it a try and see how it goes, thanks!
what if my webui is already launched without modifying it? should i add them and relaunch webui?
you can do that after its done installing and opened
thank you sooo much
for staying up so late and help solving my problem
For some reason my WebUI won't load. I get a "Invalid HTTP request received" in console, and ERR_SSL something in my browser. Has anyone else experienced this? Tried running it on different ports etc..
ComfyUI works fine?
what are inside those folders ?
(commuting back from work, gonna be a while till I answer)
hey so the images are now a lot better its giving me images which are no longer yellow, but the out put is still clunky any way i can sort this out?
OMG
still don't work
another error
I didn't follow everything, but if you're from china you might have to use a vpn.
Also cleaning pip cache might work (run pip cache purge)
run pip cache purge in where?🥲 webui folder cmd?sry i don't know that much about coding.
doesn't matter, open cmd and run it
it's gonna clean pip's cache globally
cmd in webui folder or just cmd
doesn't matter
done. trying installing again.
Hey guys, where do i find my Stable Diffusion install folder?? I had some problems back then and i delated everything and installed it again but i feel stupid because i dont know what is meant by that.
this is what i want to do
I copy&paste my models folder to my ssd
now i need to make this command so my webui still can use my models folder. BUT I'm stupid,. i just don't know how
what's the problem? you can't find your Stable Diffusion folder?
it should be wherever you ran the git clone etcetcetc command
what's the full log ?
I don't know where that was
yeah, the install folder
i mean i have that one but i dont think it is this
looks like it
looks like no model folder
cause they moved it
why not just move back😂
You do not have sufficient permissions to perform this operation.
because its over 500GB and I have no space left?
need to run cmd as admin
try running that command as administrator
open your command line window as admin, then you'll be admin
search for cmd in start menu, right click "run as admin"
Thats what I also tried to do. I copy&paste it and this is what I got:
C:\Windows\System32>D:\Users\moonshine\stable-diffusion-webui>mklink /D models "C:\Stable diffusion"
The command "D:\Users\moonshine\stable-diffusion-webui" is either misspelled or
could not be found.
cd into that directory and see if it exists
because there is no "models" folder in your current directory (c:\windows\system32)
also you're trying to run "d:\users\moonshine\stable-diffusion-webui>mklink"
instead of just mklink
the models folder is now in C
mklink /D models "C:\Stable diffusion"
where to put that cd?
cd is the command for change directories. you don't put it with the mklink command. when i said cd into that directory, what i was saying was for you to try to be in the directory and see the files in it
mklink /D x:\whatever\someLinkToSomething x:\TheSource\OfThelink
do not copy and paste that, btw - that's just an example of how you write the command
you need to use your actual directories, not the x:\whatever... text
lol I doubt they'd have enough drives to add up to x: and not know how to use cmd. But fair enough I guess.
Yeah I got that one haha,. I'm trying to find out what to put there,.
i swear,. i have no clue what to do.. I don't understand anything of these things haha
okay. what you are doing is creating what is basically an instruction to your system. you're telling it "when something wants you to make or read files here, they will actually be there" - iyou are creating what is called a 'symbolic link' from one place to the other
to do that, you use the make link command which is mklink
and then you tell it 'this is where you think they are, but this is where they really are'
IF you are using comfyUI - you can just add a statement in the extra path's file for where the models are
IF you are doing something else, or using something else, obviously that option is not avaiable
I use automatic 1111
you just need to add --models-dir "Path to models folder" into the webui-user.bat
nothing more
will there also be created a symbolic folder?
maybe i dont get what you are trying to do, but the command links the models folder (no symlink) but it will work normaly
no. go into your auto1111 filder and find the webui-user.bat file
edit it
add the line:
--models-dir <where yoru models are>
in this?
and replace <where your models are> with the actual directory like d:\models\mymodels
yes there
C:\Stable diffusion
in my C drive
i created a new folder in my new ssd and put the models folder there
no, only one,. i dont know what happend when i tried to move my whole C drive,. somehow c and d got switched up. 😅
D is your new drive i guess then. maybe you need to move your models first xD
I moved them haha, thats why its now gone from D to C. at least its not red anymore
and your webui is on C too or D ?
No i installed windows on D
but when I tried to move my whole stuff to my ssd everything went there expect for stable diffusion,. what i actually wanted to move.. i have no clue what i did
the windows logo says , Windows is currently on C
really strange what you have done xD
but its not that great
and the letters also got switched up. C was D and D was C when I bought my ssd.
Yes windows also moved to my ssd when I tried to move everything to my new ssd which was actually (D:)
Now it's (C:) i dont know why.
😂 complex situation
really why? I used a program to move everything. (dont remeber which one it was) Everything moved expect for stable diffusion. that was why i bought my ssd in first place..
i swear, i don't know what I did,... but I know something is not ok with my computer,. it's slower since i moved everything to my ssd and generating with SD also got very slow ....
because the best case is to have Windows installed on the smallest SSD drive on the system and use the big drives to store data.
The Drive where Windows gets installed is used more frequently and does more read/write cycles than any other drive, which wears the drives health out over the time.
Also for easy reinstalling its easier to wipe the whole windows drive than haveing to fear losing 2tb additional data on it
can't i just move windows to my, now, (D:) drive?
is your new drive an M2 SSd or a Sata SSD? because there is a huge speed difference between them
uhm wait
i bought this one https://www.amazon.de/dp/B0CY37V52M?ref=ppx_yo2ov_dt_b_fed_asin_title
Erweitern Sie Ihren Laptop oder Desktop-Computer mit der Crucial BX500 SSD, der einfachsten Möglichkeit die Geschwindigkeit wie bei einem neuen Computer zu einem erschwinglichen Preis zu erhalten. Beschleunigen Sie alles und speichern Sie bis zu 4 TB Ihrer unersetzlichen Dateien mit einer Crucial...
it says Sata SSD
yea thats a sata ssd, good for storing files and games
but slow for windows and big games
you said you used a tool at first. but idk if you just could move it again.
maybe thats why my windows got slower after moving it. Can't i just move my windows back to my (D:)?
Whats also weird is, that (D:) was my SSD
and (C:) was my computer drive
it needed over 1 full day to move everything.
did you turn the machine off, move the drives around, and then turn it back on?
If i rememer right, I used aomei backupper
the program did it. it started moving everything to my ssd and it needed over 1 full day
you need to start by putting everything back on C:
i still have it on my computer so it was def. that
but how? my models folder has already over 500GB. I dont think that will work or can i left that out?
and then juist make a directory on your SSD and hand copy the model files over to it
i dunno. can your backup software be told NOT to back up some directories?
yea your windows is now slower on the sata ssd.
What i would do is the following:
Check whats on your D drive and move everything over to C in a BACKUP folder.
Then you can Shutdown the PC.
Unplug the new Sata SSD (C drive) and keep it unpluged.
Then reinstall Windows on your old SSD with an USB Stick.
Then replug the Sata SSD and then you may need to give the drive a new Drive Letter (dont format it)
or Backup everything on an external drive if you have one. then reinstall windows
windows should automatically give it a new drive letter if C: is in use with system files on it
I really don't know. Actually I'm afraid using tha again. back then i used it and my whole computer is slow now. I want to do that but thats how this looks. I would like to change the language to show you,. but there is no option to change
but yeah, that's what I would do so. just shut down, remove that sata drive, reinstall windows. you have a reall mess there.
and do NOT use that backup software - ever again
backup software isn't desgined to just move folders and files around, anyway, which is what you needed to do with the models to move them from C: to D:
The problem is, i never plugged it in., my brother did that for me,.
and its inside of my computer,. I need to completely remove the ssd?
you dont need to remove it but if you want to be 100% sure you dont accidently format the drive (and lose all data) when reinstalling windows, then yes better remove it
oh,. that will be a mess,. since I don't even know where he put that in my pc...
i mean i try to do that but... it's a lot of stuff to do.
i need to buy a usb stick first..😅
maybe ask him for help when you do it
get him to help you. was that backup software his idea too?
he won't. he lives in another city now.
he only put my ssd in my computer.
ah okay, then write him and ask where he put it in xD
that's not the problem haha,
i need to find someone who can help me do all of that since i'm afraid i could loose everything
but thank you all for your help. I think i have a bigger problem thatn just moving my models folder 😅
and about that.. should i just delate it?
yea definitly get some help then ^^ and no problem, also feel free to ask us if you have any questions when your doing it
you still can use it but you need to change the path to "C:/Stable diffusion/models"
without < or >
on cmd?
like this
okay I try to open SD if it works
sadly it didnt worked, it states
The command "--models-dir" is either misspelled or could not be found.
any advice?
the outlined area's colour is different to the actual skin colour of the image
that could mean your webui is outdated
its a visible line where the inpaint was used
is there a way to update it?
because the command is pretty new
yea with git pull
wait thats weird,. now i have this folder but the models are not in it . odes it have something to do with --models-dir
i just use git pull on my cmd on webui right
it gets rebuild but is empty
so i used git pull and it did some updates. now i tried to open webui again but it says the same thing.
The command "--models-dir" is either misspelled or could not be found.
can you post a couple of the images so we can see them?
alright lemme make somenew ones tho cuz i deleted the error ones
what does the cmd shows when you git pulled
or share the whole cmd log when launching the webui-user.bat
so we can see the version
it says: Already up to date.
looks updated. try edit the webui-user.bat again and move the --models-dir + path before the --xformers
make sure all is seperated by one space
like this?
now it worked,. i also tried to generate something,. its very slow,. if i generate something,. i cant do anything else expect to wait for it to finish because nothing works
yea mostly because windows and the pagefile are on the slower drive
Yes thats the reason,. i need to somehow move everything back
set the inpaint area to "mask only" and the resolution to 768x768 (better for lower vram)
also dont use a realism model to inpaint an anime image. best use the same model as uses for the image
alright
yes. always use the model you generated with to inpaint with - or you'll get very unpredictable results
what if the image isnt generated and is a stock image?
that image above is a stock image
thenm ist more difficult. best is to use an inpaint model then
but its hard to not get the outlines
if it's a stock image, then try to find a model that will produce a look that's fairly close to it - you'd want a model that did good photographic images to use to inpaint a stock photo. or a model that did good cartooning images for a vector cartoon, etc
oh ok thanks then, is there anyway i can just use the head as a reference and then generate a new image from that?
I'm sorry dude I know I sound annoying but I checked the pinned message for installed instructions and I went to the webpage and I am overwhelmed as shit like there's so many steps and code words that I do not know of.
oh now problem, so at which step your stuck?
For an easy install guide use the Automatic1111 one
I installed python and git but then when I go to the automatic1111 step it's telling me to create a new file and create a new code then go to another website that shows at least a billion automatic1111 files and next thing I know I'm like "Wait what the fuck there's more than one? Which one is the right one??"
oh so your at step 3?
In a sense yes
yea thats not a link to go to
you have to create a new folder first+
on C drive or any other drive
call it AI for example
C:\AI\
Would OC (C:) count?
yes
go into the folder where your windows folder is
there create a new folder
Ok so created the new folder and labeled it AI
Then go into the folder you created in this case Ai, then click in the File Explorer bar (not searchbar) and type cmd then press enter.
also the 'mask only' tip worked thank you a ton, its now only focusing on that area and its giving a better result!
no problem, yea mask only is very important for inpainting and is faster
at the top
where you see the path
This PC - C - Ai
there click
now copy the command from the guide or here:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
and paste it into the cmd
then hit enter
all of it or just where it starts at https?
all
What now?
ok so hitting the x button now
how do I launch the run_nvidia_gpu.bat?
oh.....ok then I gotta scroll down some more
oop, sorry. Ok I'm there and it's saying to edit the web user, do I go back to files?
Yea edit the webui-user.bat
go into the ai folder
is there a stable-diffusion-webui folder?
no right click and edit it
ok so I did a right click and it's showing me these options. Now just wanna confirm with you do i click the button that says open?
nope
click show more options
Show more options
then click edit
This is what it's showing me so far I don't see a button that says edit
not the folder
go into the folder
and scroll down
to the webui-user.bat
then right click that file
hit show mor options
then edit
ok so i click on the stabl-diffusion-webui folder then scroll down the list till I find the webui-user.bat?
ok is this it?
thats it
you're not clicking on the file
you havent selectetd it
ok I'm not clicking on the file instead I'm selecting it? Like click hold left and drag the blue box towards it?
no. We mean, in the last screenshot you are not clicking the file
?
ok right clicked
click "show more options", then "edit"
I thought I clicked right the first time, guess not.
ok so I'm on the editing part of it, do i type COMMANDLINE_ARGS= under or above webui?
An help please
like right after the equal sign?
I dunno, lets see.
so I type the code in and hit enter?
context please
First check the GPU vram. Because you may need to add an additional command
how do I do that?
Open the taskmanager, click on the performance tab and then on the GPU
There you see "dedicated memory"
Generation with comfyui
probably gonna need to see the workflow then, but if I had to take a blind shot I'd say you're missmatching lora version and model version (eg : lora sd 1.5 with some stable diffusion xl model)
click here
ok so it says i have 6 gb of dedicated gpu memory storage.
Probabily you have right. Where can i see in comfyui if a model is made for 1.5 or XL?
a model is either 1.5, 2.1, xl, 3.0, etc.
a lora is made for a certain type of (sd) model.
And sadly you can't really tell what a lora is for, you have to be organized and name or sort them correctly. So make sure to read lora's descriptions when downloading them.
probably not, but you could generate an image and then do a face swap from the head to the face of the generated image
Fuck i dowloaded a bunch of lora
ah ok thanks anyways
is 6 gb good enough?
just make sure you have all the base models and then you can use those loras - just sort them out so you know what base model they are each for
You you need --medvram in the webui-user.bat too
Then save the file
Wait do I backtrack?
?
I'm confused on what you mean I need medvam
Last question how could i enable tiled decoding
there's a specific node for that "VAE Decode Tiled" I think
like how do I get medvram on the webui? Cause I didn't know what that is
You have to edit the file again
Like you did before with xformers
Edit? Wait I don't understand where am I supposed to edit it?
Ok so I type --medvram in the webui-user first?
And if your gpu is a GTX16xxxxxx something you also need to put --no-half in there, that's also why I asked for a screenshot of your GPU info in task manager
Ok so in the webui-user.bat file, you find the set COMMANDLINE_ARGS= line and turn it into a set COMMANDLINE_ARGS=--xformers --no-half --medvram
(--no-half includes the functionalities of--no-half-vae so there's no need for both)
--no-half includes the functionalities of --no-half-? arent those the same thing?
oh......ok so I don't need to type the one that says vae.
not the same things
yes, cause it's included with --no-half
welp time fix this mess I made
ok so, wait double click it? double click the code I just pasted in?
wait double click it in files?
double click this
ok I did and then it showed the black screen for a sec then exited out.
go back there, insert a new line at the end saying pause .
Then try to run it again
under set COMMANDLINE_ARGS=--xformers --no-half --medvram?
no, at the very end
Like this?
do I exit out of it now?
save and run it again yes
that's the result view of your search for it
I want to see what's next to this file
is it possible to hop onto voice chat to screen share?
not right now, I'm just about to go to sleep.
ok so you wanna see what's next to this file, like above, below, right, left? cause I don't know what you mean by next to this file.
as in "what's in the same folder"
there's just the one thing in the folder
there should be a bunch of stuf (can't screenshot everything)
ok it's probably windows being windows then.
run the second last one. It will be the same file as the one you edited. But running it outside of this weird "search result" context should work fine.
like stable diffusion? The software? Like the actual one where everyone can type in their prompts to generate an image?
stable-diffusion-webui the sofware written by Automatic1111 used to generate images using stable-diffusion models
so tldr, yes
and with that I'm off, bye
thank you so much, I'm no tech wizard so you saved my ass bigtime
To start the software you always have to run the webui-user.bat.
It will also start much faster after this first install process
The webui then opens in your default browser
ok so stable diffusion is called webui
different things.
your car run on gasoline (or diesel, whatever)
same situation here
?
you're using stable-diffusion-webui (you car) which is using stable diffusion models (gasoline)
ahhhhhhh
The webui is the interface to control everything
You need to update your nvidia graphics driver probably
Nope
You only need to restart the PC and the webui-user.bat
But first download the latest driver from Nvidia for your gpu
ok so I should head to the Nvidia website or do I have to go through a third party website?
You have a GTX 1660 ti
No please only use nvidias official site
Like here:
https://www.nvidia.com/en-us/drivers/
Which one?
The geforce experience
alright it's downloaded, do I open the file now?
Yea install it
ok so I installed it, now what?
Restart the PC and then relaunch the webui-user.bat
I don't think this is hurting anything but there's an error somewhere and I'd like to clear it up. Can you tell me where this issue is found to be repaired? :
To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: D:\Ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[ERROR] An error occurred while retrieving information for the 'Florence2ModelLoader' node.
Traceback (most recent call last):
File "D:\Ai\ComfyUI_windows_portable\ComfyUI\server.py", line 564, in get_object_info
out[x] = node_info(x)
File "D:\Ai\ComfyUI_windows_portable\ComfyUI\server.py", line 531, in node_info
info['input'] = obj_class.INPUT_TYPES()
File "D:\Ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2\nodes.py", line 148, in INPUT_TYPES
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
File "D:\Ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2\nodes.py", line 148, in <listcomp>
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
File "C:\Users\alton\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1017, in iterdir
for name in self._accessor.listdir(self):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\Ai\ComfyUI_windows_portable\ComfyUI\models\LLM'
Ok doing that and it says this
and fuck me sideways it actually works.
Nice ^^
