#🤝|tech-support
1 messages · Page 13 of 1
deleted
if you run it as i told you it will update this one /Users/hong/stable-diffusion-webui since your home folder is /Users/hong
if you want to use it on some other place you can use -d option like -d a1111 and then it will use this folder /Users/hong/a1111
thank you. understood~
still reporting old ROCm?
what you get with this
pip freeze
@karmic crown If I want to uninstall SD, can I just delete the SD webui folder?
if you do not need anything from ther, yes, just remove that folder
you can use my script with same paras for a new install
shall I type pip freeze in the terminal folder of stable diffusion?
anywhere i want to see what you have in your global python installation
anybody here use Regional Prompter? I just today started having a strange issue where it creates pics with weird artifacts, blurs, burnt red looking people, etc. Always had perfect results until today. Anyone know why?
pip freeze returns:
are you using model with lcm baked in by any chance?
ok message to long, screenshotting it
how do I tell? I've only been using SD for a few months and I'm not sure what lcm is
which model you are using?
and which vae
realistic vision 5.1 with baked vae
i've used that model with Regional Prompter for the last months with no issue.
in that case it is not what i suspected, i though your CFG is too high
what python --version gives? and what you get with venv/bin/python --version
ah well, thanks anyways. Guess I'll have to just try different things and see if something specific is affecting it
Python3 -- version returns Python 3.10.12
does normal generation works fine with same model, same sampler, same number of steps? can you try?
yes, works completely fine.
venv/bin/python3 --version gives the same return 3.10.12
in that case you probably only have that one version on system
ok
can it be ROCm that is the problem?
I swear I am considering formatting the partition and reinstalling Ubuntu, doing a fresh reinstall of everything
give me a second to prepare something
When I find someone actually running SD on ROCm Ubuntu 22.04 with XTX
inga problem
go to this folder
and run this
pip uninstall -r requirements.txt
that will uninstall every single package used by webui from your system python
this is the folder
yes
now I will run pip uninstall -r requirements.txt
yes
Found existing installation: GitPython 3.1.32
Uninstalling GitPython-3.1.32:
Would remove:
/home/mr/.local/lib/python3.10/site-packages/GitPython-3.1.32.dist-info/*
/home/mr/.local/lib/python3.10/site-packages/git/*
Proceed (Y/n)?
shall I proceed?
yes
Successfully uninstalled GitPython-3.1.32
Found existing installation: Pillow 9.5.0
Uninstalling Pillow-9.5.0:
Would remove:
/home/mr/.local/lib/python3.10/site-packages/PIL/*
/home/mr/.local/lib/python3.10/site-packages/Pillow-9.5.0.dist-info/*
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libXau-154567c4.so.6.0.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libbrotlicommon-92722cb2.so.1
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libbrotlidec-db4b3db6.so.1.0.9
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libfreetype-cb9caf6f.so.6.19.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libharfbuzz-3543f599.so.0.60710.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libjpeg-f2134fdd.so.62.3.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/liblcms2-12745711.so.2.0.15
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/liblzma-95592ee6.so.5.4.2
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libopenjp2-78c47f58.so.2.5.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libpng16-cb42a3c6.so.16.39.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libsharpyuv-9340467d.so.0.0.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libtiff-b9364ff1.so.6.0.0
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libwebp-3ee34a0b.so.7.1.6
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libwebpdemux-785dd7eb.so.2.0.12
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libwebpmux-ddfacf1d.so.3.0.11
/home/mr/.local/lib/python3.10/site-packages/Pillow.libs/libxcb-3e83370d.so.1.1.0
Proceed (Y/n)?
Proceed (Y/n)? y
Successfully uninstalled Pillow-9.5.0
Found existing installation: accelerate 0.21.0
Uninstalling accelerate-0.21.0:
Would remove:
/home/mr/.local/bin/accelerate
/home/mr/.local/bin/accelerate-config
/home/mr/.local/bin/accelerate-launch
/home/mr/.local/lib/python3.10/site-packages/accelerate-0.21.0.dist-info/*
/home/mr/.local/lib/python3.10/site-packages/accelerate/*
Proceed (Y/n)?
ok I will continue to the end
so
we are cleaning your system python first
mr@Nodex:~/stable-diffusion-webui$ pip cache purge
Files removed: 283
mr@Nodex:~/stable-diffusion-webui$
I accedently deleded venv from home instead of the stable diffusion folder
ok or shall I undo it
?
you do not need one there
venv is a "virtual enviroment" that will a1111 use
it will add packages there instead to system python
I will try to run the webui from the terminal as usual
yes
yea
downloading 1.5gb
I have been through this before. pray that it will be different this time
🙂
you speak scandinavian viking?
i speak serbian, croatian, bosnian, english, russian (but i forgot many things since i learn it many years ago), and some slovenian (i understand much more than i can speak)
i understand some bulgarian
i know some words and phrases in italian, german and spanish
i am learning korean (chinese is next)
is it enough? 🤣
It is enough. I was just curious because of the name.
I am from the place once called Svíþjóð myself.
ah... the land of Sabaton 🇸🇪
ouch, this is slow
and those lads with the synchronized headbanging
yes it is
I am in Greece currently, on the countryside
internet is not great
ready for some sleep soon?
I think I am
maybe I check on it tomorrow
it is 1:35 am here.
they are 1 hour ahead of us (time here is the same as in swe)
can someone explain after reinstalling a1111, faceswaplab doesnt work anymore?
it worked before but now the extension doenst work
I making a brand new Installation of a1111. I installed Controllnet and Copied my Models from the old a1111 ves. 1.6.0 now i want to generate the exact same but this didnt work. Photo 1 Input Photo 2 Output. Same proccess with 1,6,0 version. But see in Picture 3 input und picture 4 output. Why its in the New version like Control net didnt have inpakt on the generation ?
Is there a way to remotely manage one instance of ComfyUI? I turned on --listen but when I connect to it it's a blank slate, not showing what's going on on the instance that the PC is running.
hey need some help, had to reset my pc and lost all my ai stuff is all i need the a111 web ui?
and what model should i use for a high fantasy face dnd style?
Regarding regional prompter and latent couple: Is anyone aware if the extensions can map overlapping regions appropriately? Or does the next region just overwrite any region underneath it?
Example: If I have a person lora and a clothing style and I map the person region first and then overlap the same region (minus the head) with the clothing style, will it be able to apply both? Can it do layers is basically what I'm asking. I can run some experiments myself but a) not in front of the system right now and b) it could potentially take a while and someone may already know. lol
Quick question: Am I allowed to change the name of the .safetensors model file to something a bit more readable if the naming from the author sucks or does it mess something up?
Yes you can, but keep in mind that that new name is what will be on the metadata. So 1) if you share it, they likely won't know the model unless you tell them verbally or the model file name is obvious (like realisticvision51.safetensor) and 2) if you wanna change the name of a model, make sure that's what you it to be called and do it right away so that when you use your own metadata they will match up. It's just useful to not have a scenario where older generations have a different model name despite being the same model.
Oh okay I see, well I dont really share a lot of my art tbh, I tend to feel overwhelmed by the lack of quality and yeah, just practicing rn. As for the other part, I have already used most models and some I havent even started to test so yeah.
As long as it doesnt break my stuff I am down for it haha thanks for the help!!
It should be fine. One generation with the exact same parameters with the same model just under the rename will tell you intantly if it's fine.
I attemped to make on online link with --listen but it's been stuck on the same scren for like 10 minutes can anyone help
But that is already open as far as the eye can see
For the listen, comfy ui listens to the port it opened in your computer. It opens the port to the network. There is a link to the addresss and port up above the last message
No it's for a1111 and also i am trying to get it running on my phone since it is already running on my pc
for a111 --listen? I think you might want to try out the --share option in your webui.bat file @lofty oracle that will create a link for your a1111 instance that you can access remotely!!
i just did that and i got another error
Does it say it couldn’t create the file?
'Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.'
gradio is up rn 💀
Oop
I’m not fully sure how to handle that one chief. I know how to work around the antivirus software stopping it but not this one. Let me take a look at the GitHub
Oh yeah I did get a virus warning
Fixed it working now thanks.
oh lmao then it was the antivirus blocking the windows server file np!
Could someone please tell me where the Styles folder belongs
hey all, I reinstalled A1111 with DirectML and none of my images are saving the parameters (prompts, settings, etc). Is there somewhere i can fix this? i dont see it in any of the obvious locations
sadly, core dumped again
I think I will just format and reinstall on the partition in question
unless this all can get resolved today
Hi i have been trying to get openpose and controlnet to work and I cant figure out why they arent. Using automatic111 and depth/canny work fine. Ive tried loading an image, setting preprocssir and Ive tried just loading in a already processed openpose image but in every case SD doesnt even attempt to usecontrolnet. Using model thibaud_xl_openpose. Working with XL models like juggernaut, dreamshaper. Cmd prompt does not show any errors so any suggestions?
Did you copied the controlnet models too?
In the first image is says controlnet undefined. Thats why it didn't work
Have you checked the metadata of the image. Load one into the PNG-Info Tab
Yes, and it says parameters = none
Thats strange, you can try delete the config.json and ui_config.json to reset all the settings
Make sure to select "None" as preprocessor
For openpose if the image is a pose
I tried that as its a common answer but I think the instalaation is broken so im redownloading some stuff now
Okay
I'm going to redo the whole install, as when i tried to convert a checkpoint, nothing is working right since...
While that happens, do you need to use the openpose lora in the prompt for it to work or does it call it itself?
No need for a lora for ControlNet
Do you need my install guide for AMD?
I mention it because there is one on this page https://huggingface.co/thibaud/controlnet-openpose-sdxl-1.0/tree/main
if its shorter than wathcing a YT video, yes please. I'm on a 7950X with a 7900XTX
Perfect, same gpu as me, give me a second
Control lora can only be used in comfyui i think
But not needed for auto1111
Here is a quick Guide to install Automatic1111 Directml AMD Webui (Stable Diffusion)
You need to install Git 64bit: https://git-scm.com/download/win
and Python 3.10.11, 64bit: (any python above or 3.10.6) No 3.11, 3.12 https://www.python.org/downloads/release/python-31011/
And check "add python to path" when installing Python.
- Make a new Folder on your drive (not on Desktop, downloads, documents, Programms, Onedrive) and name it Ai for example:
C:\Ai\ - You go into the folder you created in this case Ai, then click in the File Explorer bar (not searchbar) and type
cmdthen press enter. - Then you copy and paste this command:
git clone https://github.com/lshqqytiger/stable-diffusion-webui-directml && cd stable-diffusion-webui-directml && git submodule init && git submodule update - Press enter and after its done you can close the cmd
- Edit the webui-user.bat (right click), At the line COMMANDLINE_ARGS= You add:
--use-directml --medvram --opt-sub-quad-attention --opt-split-attention-v1 --no-half-vae --upcast-sampling
After that save and launch the webui-user.bat inside the stable-diffusion-webui folder.
After the Installation that can take a while. Youll get an URL http://127.0.0.1:7860
Thats the webui you open in Browser.
i'm on py3.10.6 for now, any reason to go to .11?
I used this previous, trying your method now, thank you
This is only for folks who are using Automatic1111 with DirectML and it is broken, if your version works properly, do not do anything!
Currently if you try to install Automatic1111 and are using the DirectML fork for AMD GPU's, you will get several errors. This show how to get around the broken pieces and be able to use Automatic1111 again.
...
You can keep your 3.10.6 if you want
If you run into problems you can still upgrade
waiting on first run now
i'm glad you'r ehere now, lol
let me get tings working, and I'll have another question to fix 😄
Sure 😄 I can help, I know the limits of the gpu with directml
sweet
Also In a few months we get Rocm for Windows and everything will work better 🙂
20 minutes wtf xD I'll take a look at that later
speed it up, dude talks SLOOW
TLD..W, added --use-directml and --onnx to bat file, added torch-directml to requirements_versions.txt, and commented out low_vram option for the 1.5 model
Oh rip xD he used olive onnx
While that is faster, its so incompatible to all the features and your stuck on locked resolutions and specific models.
Directml is slower but is compatible with mostly everything and gets better outputs and you can use every community made model
Not really slow. But you get 3-4it/s
While on olive you get like 16it/s
yea, thats what i thought, thats REALLY slow by comparison
Yea you have to decide for now.
Best speed?: Shark webui on windows.
Best usage on windows: directml.
Best usage and speed on Linux: Auto1111
Wouldn't recommend anybody to use olive. As the Shark webui is much more advanced and is also faster
i've used shark a little, and i'd love to roll linux as my main OS, but my CAD software can't run in nix and cant run virtualized 😦
Can it run via Wine or bottles ?
i hate shutting down more than i hate windows
Oh okay xD
restarting the process without onnx for now
Have you followed my install guide with the cmd args?
doing it now, i had added --onnx previously to your steps 🙂
Okay, you may need to delete the venv folder then to clear out the onnx stuff
i blew it ALL away
going to merge my extensions, LORA's, and outputs over next, waiting on first run still
i'll build a duplicate environment later that is onnx, and use it for testing, and leave this one alone once it works properly
woudl love to use ROCm and call it a day
Good idea
Yea rocm is the saviour haha xD
whenever we finally get it....
My guess is end of January. And then the webuis and ml stuff need to support it
true, so early feb 😄
Yea probably
But for me the directml version know is enough to play around with
Its still faster than my GTX1080
true, but we should be spanking 4090's with the 7900XTX
True, 20it/s is possible on linux
With --ckpt-dir "Path/to/models"
You dont need to copy models over
Symlinks are also supported
where are styles stored, I'm missing those still
Styles.csv
In the stable-diffusion-webui folder
If you plan using highres fix later, you need the Tiled Diffusion Extension with Tiled Vae
But I can give you my screenshot of the working settings
lol, using it now and waiting for this really slow 8it/s
If it errors out you need to relaunch the webui to clear the stuck vram
512x768, upscaled by 2, hires steps:10, denois:0.5 should work without problems
For anything higher the tiled vae is needed
standby, you're being too helpful, too fast 😛
Regarding regional prompter and latent couple: Is anyone aware if the extensions can map overlapping regions appropriately? Or does the next region just overwrite any region underneath it?
Example: If I have a person lora and a clothing style and I map the person region first and then overlap the same region (minus the head) with the clothing style, will it be able to apply both? Can it do layers is basically what I'm asking. I can run some experiments myself but a) not in front of the system right now and b) it could potentially take a while and someone may already know. lol
is there a good extension to get a gallery like shark has?
There is this, but idk how good it is:
https://github.com/dr413677671/PromptGallery-stable-diffusion-webui
I am reinstalling everything. This page says to add some quick settings like backend but in my version they are not available https://github.com/vladmandic/automatic/wiki/SD-XL I want some way of verifying that I am using SDXL
What's your GPU?
2080 ti
My guide should be enough, sdxl is just a model you download and put into the webui
Ive done that with this new install along with the refiner
The link you postet is for Vladimanics fork of auto1111
I wasnt sure what was broken with the old one so I made a fresh one, added in controlnet, downloaded the contronet models including openposev2, the sdxl base and refiner and dreamwaker
My guide is for the normal automatic1111:
#🤝|tech-support message
I didnt realise that guide was different I had just come across it on reddit but ill look at yours
Yes I cloned a new git repo, python is ver 3.11.7 and in path.
Thats a not supported python version
well shit
3.10.6 up to 3.10.11 is supported
If you follow my guide then you also need to edit the webui-user.bat
At the line COMMANDLINE_ARGS=
You need to add: --xformers --medvram-sdxl --no-half-vae
Then your ready for SDXL
Ok cool, chatgpt is telling me how to change pythoin version so ill do that first
Just uninstall the wrong version
yeah i use winget so thats easy but I wasnt sure if winget installs a specific version, but it does
And install the right version with "add python to path" checked
winget install auto does that
yes. never have to dl an installer ever again. Although installing git from it wont add git to path, its per app as to wehether its set or not
Ah okay
well...i'm not getting the 77 token error i was getting on my onnx intsall, but the images are slow as dogshit rolling uphill, and the quality is horrific now
Had to change python paths in venv that it cached, now running into this
I think that model is dogshit right?
yeah i immediately got new ones from civit, tons better
why was is so good on onnx then?
But other people will know better which ones are the best. Juggernautxl and dreamshaper seem very popilar
i just assumed that the pruned one is like a placeholder
onnx didnt have pruned, it was 1.5, but i cant find the direct download
it was internal to the onnx plugin
no idea on that one sorry
Lol don't use the 1.5 pruned full model and refiner for 1.5 with hires fix.
You should use community made models that are much better in quality. Then dont use and a refiner while using hires fix.
Also you can't upscale to 2k with hires fix on Directml
Delete the venv folder and relaunch
I recloned the whole repo instead since its fresh anyway
getting the big checkpints etc back in place first
i did with onnx
trying different settings now
what kind of gundam abomination is this?
wtf is happening on my install then?
idk what are your settings?
i went from instagram quality to wtf is this
Does the cmd shows any errors when switching models?
workss great now
none i can see
Can you try to set everything to default and prompt for a cat, then change the settings again starting with hires fix
Activate tiled vae, encoder to 1024 decoder 128.
That works for 540x960 to get FullHD
But you won't be able to upscale 1024 by 2
That has to be done in img2img with the SD upscale script
hmm, a lot of stuff to figure out now 😄
Feel free to ask if you have any questions 🙂
only question is why did onnx break and give me all these new headaches today 🤣
i'm thinking i need to go back, its taking this version 15+ minutes to generate the same size images
ok..wtf... i rebuilt the onnx directory and its working now....
well....aside from not saving parameters in the png
15 minutes wtf
What settings did you used?
Onnx isn't good supported in the directml version. The dev also dont will improve the integration as he waits for Rocm on windows. So olive is dead end
Shark is more future prove as AMD officialy acquired Shark a month ago
In order, ONNX(pink hair): 7.6 seconds. DirectML(wtf pic):4m36s. Shark:15.39s(blob)
where do i put loras again, i forgot...
Okay xD idk your settings but your directml isn't working correctly it seems.
But your cat image was good
Models/lora folder
what do you mean by settings, my prompt?
nothing modded
The txt2img settings like cfg, resolution, upscalers etc
just a few extensions and my LORA's
same as last image, one sec, i'll take curren pic
You should try figure out what is causing that issue. The cat with hires fix was fine before
Try Latent cubic as upscaler
bicubic?
Also 10-15 hires steps is faster and still good
i'll try that next run, just clicked generate
ok, also nice to know, when tiled vae is enabled, clicking interrupt is pretty fast and works better than without tiled vae
thank you
clicked it, still waiting
there we go
and generate again
wont generate now, no gpu mem available
ffs
ah, restart required
yep, generating now
this image took me 1:23 mins
i think my prompt is too long and getting truncated maybe
the image gets better the simpler it is
i have a load of weighted values
copied right out of the lora
keep the tokens below 225
no lpw for directml is there?
lpw?
long prompt weights
there is no prompt limit in auto1111.
onnx and shark have a 75 token limit
its just not usefull to use mega prompts xD
also more tokens = more vram
more loras = more vram
so if you go on 225 or more its more likely to error out
i'll have to tweak a bit then
bicubic made the images super small too
making icons now or something
smaller?
yea, i might do a web session tomorrow, watching new years stuff now, waiting for the ding
already ate my soba 😉
okay, here are my upscale settings rn, you can also switch to Resrgan4x+
soba 😄 nice!
i think you have to play around with your prompt, testing whats possible an what not
i just want to get back to the quality i was getting in onnx
with the settings of the screenshot
and back to 20it/s
onnx doesnt change quality, its just performance, you can get the same quality on a CPU and on a 4090, on cpu it would just take ages xD
How do i turn an image to anime style as i wanna turn my bg3 character to that style?
ive never done img to img
put the image in img2img, then prompt for the character and sytle.
then play around with the denois.
the lower the denois the more it will look like the input image. the higher the more will change
would be a good start
then adjust to your liking
also choose a anime model
what models would you reccomend?
im looking for a fantasy dnd style like this
its not ai i believe but i love the syle and wonder of it
hmm, maybe try Cetus-Mix, Toonyou, Animerge,
no problem 🙂
that style is pretty nice, you will need a good prompt for it too
dude, this tiled vae is soooo slow
looks good
vae is for colors
i like colours
you only need a few ones:
these are the most used and best. for realistic stuff use 84000-mse
for vibrant colors use the kl-f8-anime
i'm not using any specific one....
how do i use them?
you download them and put them into models/vae folder.
then go into Settings-> User Interface ->Quicksettings, there add sd_vae
Then hit Apply and reload UI
then you have a dropdown to select them
anything i should mess with to make it run quicker, my pc has a 3060 and i310105f
or anything i should mess with to make it overall better in general
probably an extension
3060 with 12gb ? then you only need --xformers in your webui-user.bat
yeah 12gb
what is xformers?
its a performance boost, to activate it you have to edit the webui-user.bat
at the line COMMANDLINE_ARGS=
you add: --xformers
with that your generate faster, and be able to upscale larger images, and using controlnet faster or other heavy extensions
ooo i see
are you using this one, or that is some other vae? https://civitai.com/models/118561?modelVersionId=131654
Anything / Kl-f8-anime2 / Vae-ft-mse-840000-ema-pruned / Blessed / ClearVAE, but fp16/cleaned - smaller size, same result. * my Telegram / Ko-fi / ...
how do i edit it?
ive downloaded them from their original upload places, on huggingface
right click, edit 😄
on windows 11 its under "more options"
this one i use is some kind of mix
thank you, i aint that bright
do i add it next to it or underneath..
any spaces......
yknow what we ball it breaks it breaks
Next to the =
If your webui isn't updated you'll get an error
gotcha gotcha
But every error is fixable if you get one
If youre new in SD then your webui should be already updated
I aint exactly new had to wipe my pc for a fresh start
just been a while since i did this
but yeah i got the new version
Thats hires fix in the image, not tiled vae
The upscaling takes the longest
Tiled VAE kicks in the end
For good quality you should use hires fix
Also the extension boorutag autcomplete can help with prompting or finding words
its just not there, quality in onnx is leaps ahead, and faster. this is the exact same prompt, sampler, checkpoint, and settings
Happy New Year!
@ornate elk i found a difference, onnx is using torch 1.13.1 and your version is using 2.0.0
i think i'll downgrade and try again
Torch shouldn't be an issue for such a change
You've seen my images with torch 2.0
No artefacts
wasnt there an issue with torch2 not supporting diectml yet?
can you post the result text for both?
lets see what is different
this thing
it must be different if you are getting different results with same prompt
i want to see what is different
the onnx doesnt really have that
Time taken: 5.0 sec.
A: 0.05 GB, R: 0.05 GB, Sys: 0.1/0.0546875 GB (100.0%)
post the one from a1111
Steps: 20, Sampler: Euler a, CFG scale: 6, Seed: 2934842649, Size: 512x512, Model hash: 1bb2108643, Model: perfectdeliberate_v5, Lora hashes: "Japanese-doll-likeness: 0450e1183d1a, gundam: ef694f6150c8", Version: 1.7.0
can you try without loras, just for test
letst try to get something decent first, than we will find the problem
ok, that is much better
agreed
try with cfg 6 now
btw, did you download another version of model or lora, or you coppied the existing ones?
copied over from other directory
if using SDXL definitely make sure the Lora is for SDXL .. you get an insane quality decrease if using SD1.5 Lora's
that is 1.5 model, so he should use 1.5 loras, but i agree with your statement
when you open loras tab, do you see both loras you are trying to use there or not?
yep
pink eyes,beautiful detailed eyes,1 girl,smile,cute,hair bangs,long hair,wearing robot armor,red armor with silver accents,lora:gundam:1,
that's the lora
btw i think we should continue this conversation in https://discord.com/channels/1002292111942635562/1011743094309396631 since your installation works fine (unless you add lora)
ok, lets go, tahnk you
someone know how to solve this (comfyUI, SDXL ip-adapter plus model, SDXL ClipVision model)
Error occurred when executing IPAdapterApply:
Error(s) in loading state_dict for Resampler:
size mismatch for proj_in.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([1280, 1664]).
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 636, in apply_ipadapter
self.ipadapter = IPAdapter(
^^^^^^^^^^
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 272, in init
self.image_proj_model.load_state_dict(ipadapter_model["image_proj"])
File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2152, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
whats the best sampling method to use for high quality like masterpiece stuff
depends on the model
unfortunately some models does not work with all samplers
in many cases sampler does not affect quality if there is enough steps
gotcha gotcha thank you
I'm trying to use a Lora that requires "peft", but I could not find a way to install it for my needs. Can anybody help me out? I use Automatic1111
Lora's usually don't require anything extra
please send link to lora
Anyone know a model that does dnd races like kobolds or dragonborn?
New version 3 is trained from the pre-eminent Protogen3.4. I found that training from the photorealistic model gave results closer to what I wanted...
thank you
ComfyUI v0246 frozen - cannot zoom in/out/pan etc nor add any w/flows
All up-to-date

Win 10 8Gb VRAM GTE RTX 2070, 64Gb RAM
good luck 🙂
dear god
ill try
for a style Lora and Embeddings are probably the easiest and fastest
Anyone running Automatic1111 on a ubuntu install with z790, I9 13900K and an 7900xtx feel free to DM me. I am curious how you made it work on your rig
excuse me, did you ever get a fix for this 'NoneType' object has no attribute 'lower'?
does anyone know why ControlNet is not being applied?
I generated an image with the same seed with and without controlnet enabled and it outputted the same image
I am probably missing something obvious but I'm not finding it
you need to select a 1024x1024 resolution maybe, as thats what sdxl is trained on
I set it to 1020, you think that's what's fucking with it?
In the image it says 512x512
good catch but I don't think that was it
enabled and disabled, same seed
hmm works for me
did you do anything besides enabling it?
i set preprocessor to None, as my input image is already a pose
i also used no lora or anything
only an sdxl model + sdxl vae
1024x1024
send me that image and I'll import the settings
here
I checked for updates
okay, whats your webui version?
you can check at the bottom in browser
1.7.0
keep getting this error
nvidia
model?
okay then you need to edit the webui-user.bat (right click)
at the line COMMANDLINE_ARGS=
you add: --xformers --medvram --no-half
thne save and relaunch
I am redownloading controlnet gimi 1 sec
i already had it
how much Ram do you have?
but im getting this error now for some reason
that gpu has 4 gig
i mean RAM nor vram
8 gb
yea thats on the edge
you need to increase your windows pagefile
also make sure to have 15-20gb free space on C drive
how?
Home Support Guides How to Change the Windows Pagefile Size How to Change the Windows Pagefile Sizes The Windows Pagefile is used for virtual memory operations by the Windows kernel. Windows pagefile sizes are set during installation, and normally do not have to be changed. However, if you add memory to your system after initialization,
First make sure its set to System managed for C: and disabled for all other drives.
Then you can increase it for C: to 16000 min and 20000 max
Then restart the PC
Make sure to have at least 15-20gb free Space on the C drive
and does it load the controlnet correctly?
oh my lord
oh wait I forgot to re-load the models
yea ControlNet is fucked
yesss
I don't know what's going wrong but it is
then you should reinstall controlnet
restarted the pc now the webui keeps shutting down
you have the wrong python version installed
3.11 is not supported
where and how do i install the right one
3.10.6 up to 3.10.11 works
do I have to reinstall it or just dorp the new stuff into the folder
uninstall the 3.11,
install 3.10 with "add python to path" checked,
delete the venv folder and relaunch the webui-user.bat
your webui is also not updated
you can do that by adding
git pull
into the webui-user.bat at an empty line before webui.bat
@ornate elk
this is embarassing, when I pulled the model I pulled the wrong thing
I am a god damn idiot
Ohh what did you download?
beacuse I did this
so it kept the same file name
Ohhh, well
No problem 🙂
Can anyone help me redirect my .bat file to the python location on my PC for stable diffusion...I had to move everything for space reasons, and the bat is lost
did all of that and it keeps shutting down
ANYONE KNOW HOW I CAN USE MY STABLE DIFFUSION CHECKPOINT DIRECTORY FOR ''FOOOCUS''?
How do i downgrade my Python from 3.12 to 3.10?
what OS?
ok, i'm trying REALLY hard not to stick with onnx, but the images are still extrely different, using the same ckpt and lora's, what gives. left is onnx and right is A1111
both windows with settings
changed to use same sampler and still.....
2 negatives for ONNX: no PNG info, and no output beneath render
get the trial of repo uninstaller (or the portable pro version from the high seas) and uninstall using that .. delete everything it finds, reboot pc, install python 3.10, make sure to select add to PATH, reboot pc to be sure it added to PATH (check in your system properties, advances properties, environment variables).
it really depends on his OS first though, there is no PATH in OSX or nix
windows, uninstall 3.12, then install 3.10, easiest solution
linux, apt/pacman/yum and install fixed version
OSX....buy a real PC
mac .. pay $4999 for a new one
gald we agree 😄
stand , power cable, and accessories sold separate
reminds me of a joke "if Apple sold cars, you'd have to buy the doors and seats separately"
to tank gas you need to buy the $699 proprietary gas adapter
lol
still trying to get my A1111 to work properly, colors and quality is still absolute shit
i've tried just about every sampler now
what VAE are you using?
"auto" aka, none specified
its at the top of the screen
I'm tempted to try a WSL build of SD and see how that performs
goto civitAI and grab any VAE
these fix color grading issues
no vae means it uses baked VAE if it exists or else just a grey image overlay
ok, doing that now, and will apply to both installs
vae-ft-mse-840000-ema-pruned_fp16 for realistic
kl-f8-anime2.ckpt for anime
sdxl_vae for sdxl
i grabbed the chillout since i'm using that model
but it reverts to "automatic" as soon as I select it
ok, used the vae ft one, and onnx reverts to automatic, but the a1111 keeps it, trying now
nope, even with defied VAE, its crap
I think when the experts are online in going to try and build a nix instance, as much as i hate shutting down, I really want to explore the capabilities of SD, as well as SDXL, and i can't get both to work in the same instance in windows currently
NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
anyone know how to fix this?
im usin AMD GPU
Are you sure the lora works on the onnx version?
Can you try the same seed and stuff just remove the Loras after
yea, even without the loras the quality is preemo on onnx
For me it looks like the loras dont work on the onnx version and break the image on the Directml
teh onnx is teh beautiful one, teh directml is the one thats garbage
funny enouhg, i disabled them on both, and now the directml has better quality
Try to lower the Lora weights of boath to 0.3 ans try again
On Directml
Thats what I'm saying. The loras are the Problem as they are overtrained.
You have to lower the lora weight to 0.5 or 0.3 for them to not break the image
Not every lora works good with :1
holy shit, that actually worked, 0.3 on both loras, now I'm getting this on the NON onnx version
and here's onnx
so directml is better now....
Yes, it was just the lora strength set to high
crazy, well, TDIL
guess i can shutdown onnx verison now
is it worth it for WSL?
my "work time" project is to build a ubuntu drive, got a spare 2TB NVMe, so i'll use that and try later this week
it's only gen4, first world problems 😄
I heard nobody that got WSL with AMD and SD working
Figures, hard to get ring zero when containerized
Who knows what's missing but you can get the LLM webui working on WSL
So I wonder why not auto1111
I'll just stick to the "next stage" being arch or Ubuntu directly
Yea thats a good idea
Trying to read if there's any gotcha between the distros for SD
Most use ubuntu, I would prefer arch. But there you need some additional steps I think
Are you my twin? 😂
Arch Gang Yewww
With symlinks yes
I use Arch BTW
What model did you tried to load?
You can edit the webui-user.bat
In there you can specify the path to python.exe at the line PYTHON=
What model did you tried to use?
In the settings, yes
ok good, want to use my synced directories for all my PC's so i can hit one directory to view the images
thank you for all the help, now its down to tweaking my prompts, adding extensions, and tuning settings. Here's my typical output now, much closer to what I was trying to create:
Looks good 🙂 no problem
dreamshaperXL_alpha2Xl10.safetensors [0f1b80cfe8]
With loras or not?
without
Can you show me the txt2img settings when you get the error?
oh it was img2img, sec i'll open the ui again
OK.. Reinstalled and . .. errors again on first run. (RuinedFooocus 1.28.2)
Using xformers attention in VAE
missing {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale'}
left over keys: dict_keys(['cond_stage_model.clip_l.transformer.text_model.embeddings.position_ids'])
Base model loaded: sd_xl_base_1.0_0.9vae.safetensors
App started successful. Use the app with http://127.0.0.1:7860/ or 127.0.0.1:7860
whatsup
need help, i finally got SD to run and generate image but this is what i got
this is cmd screenshot from that all black result
hey, whats your gpu and whats inside your webui-user.bat?
--medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check --skip-torch-cuda-test
rx 6600, got those command lines from reddit + added skip torch
okay, these are not the correct commands for your gpu, also you installed the wrong webui (the one for nvidia). You can delete the whole folder and start a fresh install with my guide for AMD:
Here is a quick Guide to install Automatic1111 Directml AMD Webui (Stable Diffusion) on Windows:
Preparation:
You need to install Git 64bit: https://git-scm.com/download/win
and Python 3.10.11, 64bit: (any python above or 3.10.6) Not 3.11, 3.12
https://www.python.org/downloads/release/python-31011/
And check "add python to path" when installing Python.
Important:
If you tried to install SD before and failed (or installed the nvidia one) do this:
open up a cmd and type
pip cache purge
to remove the nvidia stuff.
- Make a new Folder on your drive (not on Desktop, downloads, documents, Programms, Onedrive) and name it Ai for example:
*C:\Ai* - You 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.
- Then you copy and paste this command:
git clone https://github.com/lshqqytiger/stable-diffusion-webui-directml && cd stable-diffusion-webui-directml && git submodule init && git submodule update - Press enter and after its done you can close the cmd.
- Edit the webui-user.bat (right click), At the line COMMANDLINE_ARGS= You add:
--use-directml --medvram --opt-sub-quad-attention --opt-split-attention-v1 --no-half-vae --upcast-sampling
If you GPU has only 8gb Vram and you run into out of memory, you may need to change--medvramto--lowvram. - After that save and launch the webui-user.bat inside the stable-diffusion-webui folder.
After the Installation, that can take a while is done, the webui will autolaunch in your Default Browser.
oooh alright, glad this time someone actually fast responded with detailed instruction. thank you very very much!
download an sdxl model and put it into the folder with the other models
can i use multiple models in one image
nope
:(
no problem, feel free to ask if something isnt clear enough 🙂
Hey, a question
I'm tryna train SDV2 and one of the steps saying each instance of picture should have a unique identifier
Like this: https://i.imgur.com/d2lD3rz.jpeg
Tho my question is, for example I want to train a load of icons, but they are different icons and don't represent the same thing or meaning, but they all have the similar style.
Does this mean I should use same identifier for all of them while naming it or each should have their own identifier as name based on their meaning?
Could you help me to make a picture more details by using stable diffusion
anyone know a fix for this?
What's your python version?
Can you open up a cmd and type
Pip cache purge
Then delete the venv folder and relaunch the webui-user.bat
Then show me a full screenshot
ive had sd working before and then uninstalled everything including python before resetting my pc and now it dont work
yeah 1s
same thing
should i try a different version of python
whats your current methodology?
what pic?
Yes install 3.10.11
Then delete the venv folder again
And run pip cache purge again
Then relaunch
the exact same thing
And you ticked "add python to path"?
yes
Make sure you dont have a third party antivirus active. Also if your from Asia you need to use a VPN for install
nope just windows defender and real time prot is turned off
not from asia but i can try a vpn
same thing
this is my webui-user.bat file
i pur the right path for python no?
Wait
I know what's the problem lol
You installed python 32bit
Only python 64bit works
Check your dm
@ornate elk ty it worked ill lk if i run into any more issues
What's your GPU?
rtx 4060
Then add --xformers to your webui-user.bat
already did
For best performance
i used to use xformers and no half because my old gpu wouldnt run sd without using no half
i just upgraded my gpu yesterday
eh, people still run 32 bit OSes?
Is there logic to how loras interact for the art style? I have a 3d character lora and I was trying tags like realistic but it always looked 3d, when I loaded another lora in that is based on real life it suddenly changed to IRL photos without even needing further prompting? Does the order in which these are loaded matter? Can I force one way or the other somehow?
ok, trying SDXL now, aside from loras not working, expected since most of mine are 1.5's, but it seems hires.fix doesnt work either, keeps returning "RuntimeError:The parameter is incorrect."
Dont use --no-half for the new one
It makes it slower
yeah i wont
Seems if I lower the weight of the model it takes away the animeness, or if there are other models in there it must be a lower weight in comparison
You need to play around with the lora weight
Another question, what prompt should I use to get someons whole body in a shot, I put full frame shot but often it cuts off feet or sometimes head or lower half
i stoped using prompts fot that, just use hypernetwork, this one is good for what you want https://civitai.com/models/140117/latent-layer-cameras
First, please take the time to watch the video, you wont regret it. This is a very large project and these cameras have many capabilities and speci...
hassakumodel v13
Hires fix with sdxl will work but you need to remove 1.5 loras and maybe change the upscaler
Also you can't do upscale by 2 without running out of vram, so choose upscale by 1.5 and then set the encoder to 1280
Try esrgan as upscaler
ok, seems the prompt is also ignoring the ALONE part lol keep getting two people
In the screenshot it tries to load another model at the end
@karmic crown that is for 1.5 and im using xl but thanks ill look into equivalents for xl
1024x1024 image is great, 1920x1080 i get two people.... so much for making wallpapers
You need to use lower res and then upscale
Everything higher than native trained resolution will end in doublicates
For upscaling I was using extras tab and some downloaded upscalers that did an amazing job. Alternatively can do in img2img but I think its was more resource intense as its generating new images.
Upscaling works with hires fix in txt2img and SD upscale script in img2img
ok
what workflow do you reccomend then? 2x using one of those methods then extras after that?
so where do i go from a 1:1 to a 16:9 resolution?
Generate with hires fix > send to img2img and use SD upscale Script until you have your favour resolution > then send to Extras for max res like 8k or so
got it, thank you
NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
im going to give that a go now to try it out
you can get NaN if you just started SD and go right to img2img, if you generate a blank img in text2img first it fixes that
i've been running images
What are your settings?
I tried resize and fill to 10801080 from 10241024
should be resize or resize and fill?
and which model do you reccomend for the hires fix?
I don't want the main character size to change, I want the background and objects to fill though
you want to stretch the image then? then there is a script in img2img called outpainting
Ah, let me try that
im guessing I should be able to make a script that takes a set of generated images, reruns them through t2xtimg with upscale then to img2img, that makes me wonder if it exists in the UI somehwere
Hey, I got a question. I cannot generate anything when I got 2 mc client running? But once I close one it start generationg
Can I do something about that?
still getting nan errors with the scripts, calling it a night
You can show me your settings
I can check
My ComfyUI is not zooming in or out!! Manager works OK but cannot reposition nodes to work on them
ModuleNotFoundError: No module named 'encodings'
any idea what's this error and how to fix it?
what WebUi and are you using a Venv?
I'm using stable diffusion webui automatic 1111 v1.7
Venv?
also my python is v3.10.6
goto the webUI folder and open a command prompt or terminal: type:
python .\venv\Scripts\activate.bat
wait for the terminal to say: (venv): and type python pip -m install encodings
O_O
no no and no 🙂
remove python
venv\Scripts\activate.bat
run this
whatever you intented to run, i see he wrote
python pip -m install encodings
I am getting this error ModuleNotFoundError: No module named 'encodings'
anyway you activate venv correctly now, and python commands will work
what was the error?
wait
python pip -m install encodings this should fix it?
ok I'm waiting
ok
remove venv folder
and just run webui again
it will create a new one
did that error popup out after upgrade maybe?
yeah had python 3.6 when I ran the webui then upgraded to 3.10.6
ok
then it is expeceted
👍🏽
you had a mess in venv
i recommend to use 1.5 or sdxl and to forget about 2.x
1.5 will be downloaded by default
1.5 is "old" trained on 512x512 images and alow creating of nsfw images
2.0 and 2.1 are newer trained on 768x768, but not trained on nsfw stuff
sdxl is newest trained on 1024x1024, aloso not trained on nsfw
but
almost noone use default models
we use user trained models
you can find many on https://civitai.com/
Explore thousands of high-quality Stable Diffusion models, share your AI-generated art, and engage with a vibrant community of creators
1.5 modelas are smaller and works faster, sdxl are larger and works slower (takes more time to generate)
sdxl is usually better in quality
but there are some tricks to make 1.5 looks better
where to download the sdxl model?
I can't find a .ckpt file
and I see sdxl base and refiner, which one should I go for?
here
and download safetensors not ckpt
ckpt in theory can execute malicions code, safetensores version is safe
Hello, does anyone have a free tutorial to use SDXL ? I watch many and they all say differents stuff, my SD is like the screenshot :
I already put 1024x1024 to show, but if you have the 512x768 BUT for SDXL i'm here to take.
I know i have to use REFINER, but when i render it gives me the pic i send.
You installed the webui the wrong way and also two times inside itself
Ah okay, its still downloading the needed stuff
oh wait that's not it
Hey, you dont need to use a refiner. The problem is that you dont have the sdxl vae selected. And your webui is also not updated.
Oh hello ! maybe can you help me for that ? i already hit the update button of SD x) (webui only)
Something is wrong the model gets send to cpu, are you on a laptop?
nop desktop
Okay can you try a 512x512 image, 20 steps ?
Also how big is the model you use?
Inside the models/stable-diffusion
yes i had that issue at the very begining it said that i had both cpu and gpu selected and i bypassed it by watching a chineese tutorial that added this "self.logvar = self.logvar.to(self.device)"
in /repositories\stable-diffusion-stability-ai\ldm\models\diffusion
Sure, what's your GPU?
that's probably the reason
i edited ddpm.py
Everything here x)
okay good, first close the webui and cmd.
then edit the webui-user.bat with right click, edit.
at the line COMMANDLINE_ARGS=
you add: --xformers --medvram-sdxl --no-half-vae
Then in an empty line above webui.bat you type git pull
Then save the file and relaunch the webui-user.bat
Then the next step is to go into Settings - User Interface - Quicksettings, there add sd_vae
then hit apply and reload ui.
Then you need to download a sdxl vae like the official one from here: (its a direct link)
https://huggingface.co/stabilityai/sdxl-vae/blob/main/sdxl_vae.safetensors
put the file into the models/vae folder
then click on the reload button near the vae selection in txt2img at the top and select it whenever you use an sdxl model.
yea thats the problem here
you have to undo that
okay now relaunch the webui-user.bat
Why does many extension not show up in SD?
like Adetailer, faceswaplab, reactor
animatediff
wdym?
Have you restarted the webUI after installing the extensions/ restart PC maybe
i tried everything
this is old version
update the webUI
on SD 1.7.0 the didnt work either
i haven't left this chair for 7 hours straight, i'll try again after dinner tks for trying budy, right now it's not acting as if anything changed wish is woring me more coz he didn't revert to the old error
you need 1.7.0
Thanks !
what extension do u use for face swapping?
reactor
actually i do not use it, but i will use it 🙂
that one works nicely with new 1.7
oke lets see i installed reactor
with 1.7
nothing
am i doing something wrong that it wont show up?
i did brother
i updated the probram
downloading something?
after you install any extension, you need to click that button
i did
do you have any error in console (cmd)?
do you see that it installing or downloading something
?
np, if you want i can give you my install guide and you can start a fresh clean install
somethign about insight
Building wheels for collected packages: insightface
Building wheel for insightface (pyproject.toml): started
Building wheel for insightface (pyproject.toml): finished with status 'error'
Failed to build insightface
you have errros
thats why it would not show
im downloading insight rn
you need to follow the install guide for reactor on github, its not plug and play. For example it requires to delete roop, and installation of visual studio tools
Sounds great feel free to pm me, am geting some pizza outside befor i go on a mental breakdown lol
ok, you fixed your mistake 🤣 you arelady triggered me
I have an issue updating SDW, as you can see. It doesn't go further than what you see. If someone can help me :/
haha i was scared you saw it hahah ;D
find folder where your webui is installed, open that folder from cmd
type git status and show us the result
close stability matrix first
Pleas no Messages here rn i will copy my install guides to Pin them
Installing ComfyUI:
https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#installing
[AMD] Here is a quick Guide to install Automatic1111 Directml Webui for AMD GPUs (Stable Diffusion) on Windows:
Preparation:
You need to install Git 64bit: https://git-scm.com/download/win
and Python 3.10.11, 64bit: (any python above or 3.10.6) Not 3.11, 3.12
https://www.python.org/downloads/release/python-31011/
And check "add python to path" when installing Python.
Important:
If you tried to install SD before and failed, do this:
open up a cmd and type
pip cache purge
to remove the nvidia stuff.
- Make a new Folder on your drive (not on Desktop, downloads, documents, Programms, Onedrive) and name it Ai for example:
C:\Ai\ - You 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.
- Then you copy and paste this command:
git clone https://github.com/lshqqytiger/stable-diffusion-webui-directml && cd stable-diffusion-webui-directml && git submodule init && git submodule update - Press enter and after its done you can close the cmd.
- Edit the webui-user.bat (right click), At the line COMMANDLINE_ARGS= You add:
--use-directml --skip-ort --medvram --opt-sub-quad-attention --opt-split-attention --no-half-vae --upcast-sampling
- If your GPU has only 8GB Vram and you run into out of memory, you may need to change
--medvramto--lowvram. - GPUs with less than 8gb Vram need:
--lowvram - RX 5xxx cards additional need:
--no-half
- After that save and launch the webui-user.bat inside the stable-diffusion-webui folder.
After the Installation, that can take a while is done, the webui will autolaunch in your Default Browser.
[NVIDIA] Here is a quick Guide to install Automatic1111 Webui for Nvidia GPUs (Stable Diffusion) on Windows
Preparation:
You need to install Git 64bit: https://git-scm.com/download/win
and Python 3.10.11, 64bit: (any python above or 3.10.6) Not 3.11, 3.12 https://www.python.org/downloads/release/python-31011/
And check "add python to path" when installing Python.
- Make a new Folder on your Drive (not on Desktop, Downloads, Documents, Programms, Onedrive) and name it Ai for example:
C:\Ai\ - You go into the folder you created in this case Ai, then click in the File Explorer bar (not searchbar) and type
cmdthen press enter. - Then you copy and paste this command:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git - Press enter and after its done you can close the cmd.
- Edit the webui-user.bat (right click, edit), At the line COMMANDLINE_ARGS= You add:
--xformers --no-half-vae
Add the following command there too depending on your GPU Vram. (Check Task Manager ->Performance ->GPU ->Dedicated GPU-Memory)
- +11GB: Nothing to add besides the already added.
- 8-11GB:
--medvram-sdxl - 3-6GB:
--medvram - 2GB:
--lowvram - GTX 16XX cards additional need:
--no-halfinstead of--no-half-vae
6.After editing, save and launch the webui-user.bat inside the stable-diffusion-webui folder.
After the Installation, that can take a while is done, the webui will autolaunch in your Default Browser.
[MAC] Installing Automatic1111 or Forge on Apple MAC OS:
https://github.com/viking1304/a1111-setup
Anyone else getting this?!
what checkpoint do u guys use for realism?
do you use a third party antivirus?
that gradio package is for making the webui accessible in browser by "hosting" it. mostly done local or if available as setting worldwide. So i guess some antivirus doesnt like its function
ah you're here sir CS1o, i want to ask about that pip purge thingy
malwarebytes is what caught it.. that and I have windows defender
oh wait, it's CACHE not CHARGE LMAOOOOOOO
still got the same message tho, about pip not recognized as blabla
this is reason why i am saying not to run pip outside the venv
your python is not set in the windows path, did you checked "add python to path" when installing it ?
go to your webui folder and type
venv\scripts\pip cache purge
oh i see, alright then i'll do it again after i finish reinstalling everything
no sir i haven't done reinstalling
When I installed Fooocus it asked if I wanted to share and I said no.. now I can't see any of my other installed lora and checkpoints etc. How do I correct this?
@ornate elk when you are lazy enough not to activate venv first, just run like this venv\scripts\command
i am doint that all the time on linux and mac (but it is venv/bin/command)
i was shocked when i learned it is scripts on windows and not bin
❯ venv/bin/python --version
Python 3.10.13
see? 🙂
How do I get some checkpoints and lora back in to be seen by Fooocus ? I had said not to share because a lot didn't work, so I reinstalled. But now I can't add any.
i think i saw like 3 people who use focus here for 2 months
wait so me having it on the desktop could be the reason it's saying NansException: A tensor with all NaNs was produced in Unet. Use --disable-nan-check commandline argument to disable this check.
what's the full error log ? what model are you using ?
check for a file in Fooocus\config.txt it should indicates path a path for each category (checkpoints, loras, embeddings, etc)
Any clue where exactly, not finding it..
No its not the cause for that error, but will prevent other errors
what's that model ?
doll-likeness-by-edg
what version of stable difussion must i install? sorry the dumb question
the most recent one
just downloaded a new one 1.9gb will try it now