#🤝|tech-support
1 messages · Page 18 of 1
He is asking how to generate an image
i understand that much, but still 🙂
english is my 3rd language
but i speak english not serbian here 🙂
Error in CR Multi-ControlNet Stack - 'NoneType' object has no attribute 'lower'. I'm not sure what that means
Here is the whole error message...
I have a Realistic Lineart and DWPose Estimator input to the CR M-CN Stack
lower is just a python function that put text to lowercase, but the problem is that it didn't get anything to convert, so python throw an error
that is just a consequence, we need to figure out the reason
i am to tired to think, but looks your model (or controlnet model) is missing
There is this note in the comfy manager...
Does this mean that I can't use the controlnet preprocessors?
I guess I'm not sure what "this installation" is specifically referencing
ahh
if you have any further questions about prompts later, ask in https://discord.com/channels/1002292111942635562/1011743094309396631
with kohya_ss
see if this tutorial helps
https://www.youtube.com/watch?v=RlvqEKj03WI
Quickstart tutorial on how to train a Stable Diffusion model using kohya_ss GUI.
please help how do i solve this
When do you get that error?
When i launch it and then try to select model on stable diffusion checkpoint
When i select the model it shows error
so i m not getting is there anything i need to change
excat word wriiten there
error message is:
OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'.
it also gives a solution:
make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer
do you have it in that place?
do you have folder openai and clip-vit-large-patch14 inside?
I do have a folder for Openai in my stable diffusion folder
and do yoi have clip-vit-large-patch14 inside
and does it have all necesary files inside (if that is a folder and not a file)
Dnt have tat one
hello, I just installed stable diffusion but I cant run it, can somebody help me out please?
What python version u using?
Yea
so i installed 3.10 now im getting this eror
Happened with me
you are using 3.12
please remove it if you do not really need it
Yea might uninstall and restart helps
okay i'll uninstall it
if you do, we will find to find another solution
I m stuck man
please do, it will make things easier
It's 3am dude
hi there! anyone know what this means??
Do i need to install all the file and which folder do i put in then
based on your error
make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer
you need to create a folder clip-vit-large-patch14 inside
and to put all files there
but i am stabbing in the dark
i have no idea what are you doing
i am just reading your error and trying to help
Yup i can understand, let's give it a try
Look like other peoples earlier have the same issue
almost everyone here use some user interface, mostly A1111 or comfy
and we can help with those we use
but in cases like yours, we can only guess
Yup , i m downloading let's give it a try hope works
hey, I uninstalled python 3.12, I only have python 3.10 installed but it's insisting on using python 3.12
I even located python 3.10 here
delete your venv folder and relaunch
exactly that
what gpu do you have? i hope nvidia
something in the venv folder saves the python directory used before
nvidia gtx1060 3gb version
but?
find apropriate command line params for your card there
definitley need to use --lowvram in the bat file launch commands
i guess --xformers --no-half-vae --lowvram is for you
alright
is it gonna prevent me from generating hyper realistic images? or is it just gonna be slow to generate
alright
I could use another pc that has gtx3060 12gb
what would be the difference?
like comparing the speed of a plane and a car 🙂
Lol alright thanks a lot
for other pc, use this guide #🤝|tech-support message
Where I will find the Venv folder if I delete it?
will be auto made on first/relaunch
it will be created again
Lol
Noted
I'm trying to use the imag2img mode to modify an image but it's not working. The image with the transparent background is the input, the one with the white background is the output, and the prompt is "A golden retriever sitting on the moon". How do I make it follow the prompt?
I have tried both 1.5 and XL 1.0 and my hardware is a 4070 GPU, 14900KF CPU, and 64GB of ram
what is your denoise strenght?
I have tried moving the slider around a lot, right now it's 0.25
that is your problem
what you get with 1?
what model is that?
- for 1.5 use 512x512, 512x768 or 768x512 (that will make disfigured images)
you will have to use a mask to put the dog subject in a different background there is an extension that can do this super easy
- for xl use 1024x1024, 1024x768, 768x1024 or 768x768
How do I do that?
ok, set it to 1024 pixels tall and 768 pixels wide
I already have a completely transparent background
that extension can generate a mask for you that you can use with the controlnet viking is suggesting
it is faster with canny + openpose 🙂
or just open gimp or whatever and select all transparent areas and invert selection fill white 😄
I think it broke it
did you changed webui-user.bat and added parameters required to your card?
When I added it it got an error about running out of memory
what is your gpu and what you have in webui-user.bat?
4070
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers --autolaunch --update-check --no-half
call webui.bat
it was fine before I added --no-half
Remove --no-half
Then check the model size
anyone had any luck with this, its been super painful to try setup
it's 6.7gb on my ssd, and it gets a different error when I remove --no-half
What's the error?
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.
Can you show the settings you used ?
Steps, cfg, resolution etc, any loras used ?
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
call webui.bat
@ornate elk whatsup mate! it'sa me
not using any loras
just trying to draw my dog on the moon with img2img
it was drawing a copy of the original image before I added this: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg
@rose skiff try set the resolution to 1024x1024
same error
Yes its pretty easy to install it but pretty useless for actual playing around with. Because Olive with ONNX is not very good supported.
I would recommend you installing the normal directml webui for AMD.
A guide for that is in this Channel when you checkout the Pinned Messages.
An extension active?
And when not using it it works?
when not using it it draws a copy of the original image
And you want the dog to be on the moon?
yes
Then I would suggest using inpaint
or anything other than the original image at this point
Click on inpaint. Mask the complete Dog.
Then select inpaint area "not masked"
And then prompt for the moon
Also set the resolution to 1024x1024
how do I mask the dog? I've been messing with it for a few minutes and nothing has changed
In inpaint you should be able to draw over it
I need to afk for a bit so I will have to try to make it work later
dog wants to go on a walk
Oh your dog image is with transparent background. That may not work then
Paste it into an white square image and then mask it again to test
I'm off for now.
Hive Mind been running SD for a few weeks now want to add it on my razer laptop with egpu amd stuck with add skipcuda__test and trying to set CUDA_VISIBLE_DEVICE=1 just gets me the skip test error its trying to run on the interanal. loads but won't accept prompts cram errors out. anybody have a minute to help me with this? it would be hugely appreciated.
os?
there is a amd guide in pinned messages of this channel, but i have no idea will it work for you properly or not
guide to switching gpu in SD ? been stuck for like an hour i am thinking its just a couple commands and it could be running.
a few weeks ago guy with amd egpu on Mac, had a completely different problems that we had on a "normal mac" with AMD
amd on windows guide -> #🤝|tech-support message
Copy I will check that out right now, much appreciated viking ! in MN by chance ?
i like that logo so much, but not even close to that country 🙂
Copy ! I read what you sent in the link i am going to reset to original files and try seting visible device befor launching web ui. thanks agian !
ComfyUI noob question, https://youtu.be/g9JXx4ik_rc?si=5aHu314EzDj4_qRm&t=889 how is he seemingly starting the queue at a certain point in the tree instead of from the beginning? 😛
"supermerger extension" anyone got a link to this?
weird question but is there a list of all the quotes that are written in the terminal when comfyui starts
hey guys using a model, I used some prompts that gave a certain style to the images. restarted SD, used the same model, same settings, same sampling method yatti yatta, but the images now look like they're in a different style. I also did some gens with other models prior to that, anyone have an idea what's going on
thanks, it works now
now I just need to mess with the prompt
@ornate elk Hi mate im merging models rn, do you have a standard prompt i can use to see how well it does?
@ornate elk it looks like whenever i do some gens with a model, then change models, it keeps elements from the last model I used. like I was using an anime model then a realistic one and when i switched back to the anime the anime character was realistic, is that possible?
Hello does anyone know how to get the sd15_hand_..... model the new depth model for fixing hands
To show up on the adetailer section where it supposedly goes. Right now I am getting this None message and no option to even set it
Any idea why using the Stylez and/or StylePile addons would immediately break access via gradio.live? When either or both are enabled the connection will error out almost immediately and upon a reload gradio will say no interface is running. The local URL works fine through all of this (and does require a login/password, just like the public one).
At least Stylez used to work as of a few days.
When I share a workflow can people see the list of files I see in my imageloader and videoloader nodes, or do they only see the filenames they have in their own loaders?
Think I found the answer:
Are you referring to the Input folder in the Comfyui installation folder?
Comfyui runs as a server and the input images are 'uploaded'/copied into that folder. If this is what you are seeing when you go to choose an image in the image loader, then all you need to do is go to that folder and delete the ones you no longer need.
Can anyone help me get ControlNet preprocessors to run? I've tried on ComfyUI and now with A1111 and I have issues with both UIs.
I would prefer to run it on ComfyUI
i answered you in #📝|prompting-help which is apropriate channel for questions like that
just a friendly request for everyone, please do not tag some people for any single question you have. i do not care if someone is tagging me or not, since i have no notifications enabled, but that might be really annoying for some other people
controlnet models goes in a different folder (ControlNet) than chekpoints (Stable-diffusion)
you need to download appropriate controlnet models and put them in a proper folder, for a1111 that is a folder ControlNet
if you have some specific issues, like which preprocessor is better for a specific use case, that is more for #📝|prompting-help
I tried installing this repository in the ControlNet folder then restarting A1111... https://github.com/Mikubill/sd-webui-controlnet
When I go to the Extensions tabs, I still don't see them
I also did that from the Available tab, searched ControlNet, found sd-webui-controlnet manipulations.
no, I don't see that as an option... let me look again
that is in my list of installed extensions
I don't have that as an option... I loaded from https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui-extensions/master/index.json
but it is not there
sd-webui-controlnet manipulations is the only module tha tI have in my list
show how it looks
No its not possible. Only one model is usable at a time
the second one
click install
if installation succeeds you will see it where i see it
I tried that and I got the follwing error
There is a file in that location when I go look, but it appears empty
I deleted the folder, restarted A1111, from Available Extensions installed the sd-webui-controlnet manipulations and got this error...
and that tmp folder is back
the one I previously deleted
you can try to install it the other way
manually from git-hub?
OK, will try that
i am going out (it's non-working day here) so i will check later, but someone else might jump in and help you even earlier
i hope it will work
if you open stable diffusion webui folder from cmd and type git status what you get?
That says Version 10.0, but I have Windows 11. Is that a conflict?
civitai browser+ for example
nope, that is windows 11 obviously
they always used some "nice" version numbers since windows 95 🙈
please try to restart webui (ctrl+c first), and install any other extension
and see if that works
I tried civitai browser+ (not uninstall/reintall) but got the same thing. I will try the un/re now 😩
wait
yep
i would try to remove venv first
since your files from wbeui repo are uptodate
if that doenst work, try compleate reinstall
the venv folder?
and use one of the pinned guides from this channel (realative to your GPU)
yes
inside C:\AI\stable-diffusion-webui
deleted venv. Sorry, feel like a nube, guides pinned to the channel?
got it. thanks
i am out
hi , can someone help me with this please?
i get this in the cmd : Already up to date.
exit code: 1
stderr:
C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe: No module named pip
Launch unsuccessful. Exiting.
Press any key to continue . . .
What python version do you have installed?
had 2 - 3.11.3 and 3.10.6, now uninstalled bothe, and install new one, what version i need?
Better to install python 3.10.11
And make sure to checkmark the "add python to path" when installing.
Also disable third party antivirus software
thanks, what dose it mean third party antivirus software?
Some antivirus software can bkock parts of the python installation.
Software's like McAffe, Avira, Avast, Norton etc
noe getting this : Already up to date.
Couldn't launch python
exit code: 9009
stderr:
'C:\Users\User\AppData\Local\Programs\Python\Python310' is not recognized as an internal or external command,
operable program or batch file.
Launch unsuccessful. Exiting.
Press any key to continue . . .
Did you checked "add python to path" ?
yes, i also cannot delet the 3.11.3 version, i always get a fatal error with this no. : 0x80070643
Oh how did you try to uninstall it?
not in the right way i guess, i deleted the launcher before uninstall, by mistake
Yea you should uninstall it the correct way
Best would be to install python 3.11.3 again and then uninstall it again
ok. ill do that, thanks!
Correct way would be in windows over Settings>Apps or with the System Control Panel
ok, so, until we get rocm in windows, it seems i cant use controlnet on sdxl workloads.... even with 24GB of vram
RuntimeError: Could not allocate tensor with 335544320 bytes. There is not enough GPU video memory available!
On windows?
yea
Use the smaller openpose model for xl
Then it should work
Also try reducing the width to 768
Make sure to restart before trying
done, it was uninstalled, i download the 3.10.11 version, and getting this error : Already up to date.
venv "C:\AI\stable-diffusion-webui1.6\stable-diffusion-webui\venv\Scripts\Python.exe"
No Python at '"C:\AI\stable-diffusion-webui\Python\Python310\python.exe'
Press any key to continue . . .
Delete the venv folder
Then relaunch the webui-user.bat
Oh and pls don't download the webui as zip
You can follow my install guide from the Pinned Messages in this Channel
its downloding now, seams it ok now, thanks!
If you downloaded the webui as zip you should delete it and follow my guide.
If not you will get problems in the future if you want to update SD
ok, net is running, still slow, 31.83s/it
i already had webui, i just had the python problem,
Alright, then your good 👍
Does anyone use the auto-photoshop plugin? I need help, please!
can help me ?
Depends in the issue
I'm trying to install this super easy plugin https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin?tab=readme-ov-file#one-click-installer
but whenever I open photoshop to use it, it indicates that I didn't change the webui flag to --api, and I did it in all of them, including
3060
one moment
@ornate elk
I did it on all of them and it still says I didn't change it.
Dont edit any other file than the webui-user.bat
but I had only edited webui -user .bat , I edited the others to see if it worked, because editing webui -user .bat didn't work
@ornate elk
ok, images finished with those changes @ornate elk , thank you! looks like crap, but that's where the tuning starts, at least it completed
any file with .sh extension that has export in it is not for windows, those are for use on macs and linux
you need to edit webui-user.bat only (do not edit webui.bat)
Remove the changes you did in the other two files and then also add --xformers to the line with --API
Then relaunch the webui-user.bat ans show us the cmd
but that's what I said, I had only edited the webui .bat and it didn't work, it kept saying that I didn't change it to --api , so I tried the other files, so it didn't help either
ok
are you sure it is case insensitive?
i havent try to be honest
or you just wanted to emphasize that he should add --api?
No its not, I'm on Smartphone and my keyboard likes to play around with caps 🙂
Can you show us a screenshot of the cmd after launching the webui-user.bat?
you were faster 🙂
@ornate elk oh god hahaha
It started to work because I ran the SD through webui -user .bat , as I was running it through webui.bat which in this case does not execute the commands within the webui -user .bat file
It worked
Thank you for this, I've been racking my brain over this for hours
on windows, you need to be sure to run webui-user.bat
Yes, because I didn't even imagine that haha
does it reuare any pluing on a1111 side, or just --api?
Perfect NP xD
Did you added --xformers too?
Its for better performance
i found the answer, it requires an extension:
(Don't skip) Install the Auto-Photoshop-SD Extension from Automatic1111 extension tab. The extension will allow you to use mask expansion and mask blur, which are necessary for achieving good results when outpainting and inpainting.
basically it's a folder that you put in the PS plugin, install the extension on the SD1111 with the github link and then connect the --api
for controlnet
Okay good 🙂
Do you have a tutorial on how to create checkpoints and models? I'm new to SD, very layman, I barely understand anything
For getting checkpoints (models)
You should visit civitai.com
Its the largest database for SD stuff.
They have models for nearly everything.
You can also train your own model If needed. For that you should checkout some tutorials. Its not so easy.
To create my checkpoints would it be with Lora?
CS1o is typing... if file size... 🤣
A lora is not a model. Loras are trained on a specific style or character to help the model generate.
Loras dont work alone.
For training a lora you should use the Khoya_ss tool
on this civitai website, how do I do it? Do I have to download the models or something like that and then where would I have to go, if that's the case?
For example download the Dreamshaper v8 model from civitai.
Then put it into the models/stable-diffusion folder
i think that you can use Khoya_ss to train a model too (but i might be wrong)
Yes you can
But its not easy xD
so easy ?
You have to reload the checkpoint dropdown in auto1111 after adding the models
i dont think it is too complicated, but it would probably take forever on my hw 😦
how do you do this?
True 
When you launch the webui-user.bat it should also open a browser tab for the webui
There in the top left corner
Is the checkpoint dropdown
And a refresh button
I'll download one here to test
You need to log in based on what I'm seeing
In civitai?
You dont need an account, only for nsfw stuff
or for creating images
It was necessary to log in, it was not possible to download the model
but I did that super easy procedure, putting the model in the models/SD folder and opening the SD here and it is working perfectly. What happiness hehe
Some models require a login that's right. But the majority not
there is even esier way, install civitai browser+ extnsion
Perfect 🙂 if you try out different models check what base version they are.
Some are 1.5 and some sdxl for example.
1.5 models are trained on 512x512 resolution and sdxl on 1024x1024.
Keep that in mind when you use them in Photoshop
it will download model and put it in right folder
oh yes, true there is still that detail
Thanks for the tip, but I don't think it will be necessary
@ornate elk @karmic crown If you use auto-photoshop one day, I did the test here and the webui-user.bat didn't work when using the SD1111. I went to generate the images and everything was gray, it only serves as a plugin for photoshop. I ran webui.bat and it worked normally
So does it work now or not?
Only ever run the webui-user.bat
I meant that webui -user .bat is not working to run SD1111, everything is bugged
webui -user .bat = PHOTOSHOP PLUGIN
webui.bat = SD
Do you have any tutorials on how to create models?
I separated the two executables, one serves only as a plugin and the other runs the SD
Hello i want to use the refiner, before I always loaded the same model as I was using but it says "its base model use refiner extension disabled" Should I just use sd_xl_refiner instead?
That was a clutch bro , it worked after i downloaded those file
i wish i could fix my problems with download 🤣
Found that the sdxl refiner crashes if used with controlnet
Deep 
link + user + password on some publicly accessible webui with a100 would also solve my stable diffusion problems 🤣
Is their any history in stable diffusion I mistakenly generate new lol
Nvm I made the image better
What are the best model ? I can use @karmic crown
open https://civitai.com/ and find the one with gallery that you like the most
Explore thousands of high-quality Stable Diffusion models, share your AI-generated art, and engage with a vibrant community of creators
i pesonally like https://civitai.com/models/241445 and https://civitai.com/models/119012
This SD 1.0XL-Checkpoint is capable to produce nearly everything.. It is very good creating extremly realistic pictures, anime and art. But beware!...
Merge everything. v3.0.0: Experimental v2.0.0: Stable Recommend Negative Embeddings: unaestheticXL or NegativeXL See HuggingFace for a list of the ...
Noted ,need a guide I think on those tools let me download
since you are using code, you need to download a model, but also to change your code
you should use one of those instead of base sdxl model (sd_xl_base_1.0.safetensors)
I didn't even know you could create nsfw with stable diffusion
seriously? that's like 85% of the userbase, lol
hahahaha
once i had a problem with a "normal" model with a specific seed, i added nfsw, nude, naked, topless... in negative prompt, but i always got a topless girl, even after I added weights like (nsfw:1.5)
These guys are really horny lol
Let me try then , i think u need to write promet only
Noted
it will not work for you as long as you are using default sdxl model
sd_xl_base_1.0.safetensors was trained on swf images only
I have another model realistic model
It worked
Just created

Hope i dnt get ban lol
why would you get banned? you didnt post image here, and you didnt insult anyone
No like on stable diffusion app
85?? Bruh
How do you create models? Do you have a tutorial to share with your friend here? +)
start with something easier, like lora
No i downloaded 2 model one was realistic model another was default one
Their is a section called lora , but nothing there
this is lora for example https://civitai.com/models/11722/iu
I'm going to download Lora through Pinokio
Let check yt tutorial on that
ur UI looks different
oops, i misread 🙂
like this section
you have to download and install them first 😉
mine like this
yes i have custom theme for a1111, sorry, i thouth you were talking about IU (Korean singer and acctress) 🙂
IU my fav
How do you configure the interface?
i saw her kdrama
go to extensions tab, load available and search for lobe theme
install and relaunch
i have blue on my sons pc, and green on my mac, so i know which one is which without looking at the address bar 🙂
my son is 21, so guess 🙂
recently i found my business card from last century 🙂
nothing here dude
click available tab
i m 25
now?
for loras, go to civitai
i didnt downloaded yet
I put lobe theme but many options appear
okay its downloaded
Stranger doesn't appear to me
i m cloning
but in some (rare) cases, it is best to restart the whole ui, so ctrl+c
and launch it again
u can see lora there
shall i untick those build in
lora queue helper is something we didnt talk about
we talked about loras (in general) and my custom user interface
if you want my user interface you need to install lobe theme extension
if you want loras, go to civitia.com and find some you like
put them in modes/lora folder inside your installation
W
I downloaded it here, it was good, but it's a bit confusing... maybe I'll have to get used to it
THIS one right
just remember to scroll up and down to navigate trough main navigation, than it will be easy
for lora usage, always check the info on page where you download it, and examples on the same page. if you still have problems with lora usage, ask for help in #📝|prompting-help
Hello I am back here once again to ask for help aobut a weird ass error I am getting
Basically I downloaded everything and pretty much have all the models isntalled, but I tried running it through an image and it threw this error immediately
what are you even trying to do xD
i see controlnet
I am trying to use the new hand depth model, its only to fix up hands, I was trying to see how it masked stuff and try to use it later on when in inpainting to fix the hands using that controlnet and a prompt, but the test failed with that
screenshot your whole webpage
there you go, it shows the error on the controlnet, I can send the error message to, although its the same as the txt I sent
reload your webui, check the " allow preprocessor" in controlnet and before generating click the "explosion logo" so we can see what the preprocessor gives
also is the model you re using sd15 based ?
yeah
also
I tried doing that, im running some images without the controlnet for hands so im not sure if I can stop it rn
and only activate one controlnet module for now
Rn yeah I am running only one, yesterday I ran like three togther so Im sure its not neccesarily other preprocessors that give me these issues
when there some error, you always isolate it. It s easier and faster to work that way
Fine fine give me aprox 2 minutes to finish adetailer pass and then Ill rerun evertyhing, webui and all to test out only that one error
@vocal burrow Base settings, want me to increase preproccesor resolution maybe?
"allow preview" and click the explosion logo
Hi everyone! I'm trying to get fooocus to work, is this the right channel?
Yep it is !!
Also it says the backend might not be allowed, like propbably amd is not available as a backend for this thing, do you think I could change the backend
tried the hand refiner, got the error too
why are you using an inpainting controlnet model ?
inpainting where?
Im using depth, like normally you would use, to at least get the mask
literally the model that was given out in the hugging face thingy
I might be dumb and using it in the wrong place but idk im trying now in the impaint tab
can you try with the control_v11p_sd15_depth ?
Should I try with a mask over the hands or just let it do its thing?
(it s all relatively news so I wouldn t be surprised if the main version is broken, it might be necessary to switch to the dev branch)
try like you just did but using control_v11p_sd15_depth model and depth_hand_refiner preprocessor
im on it ^^
okay good! so I followed a video tutorial to download fooocus and I've managed to get the program to generate images, but I'm having some issues. The tutorial showed that my checkpoints folder is supposed to have sd_xl_base and sd_xl_refiner files that are downloaded when you first run the program, but they've not appeared, even after re-installing. Also, it's taking an incredibly long time to generate photos, 5-10 minutes per photos at 7 seconds per iteration when the github page states that a low-end laptop can do 1.5 sec per iteration. My computer specs are Nvidia GeForce GTX 1660 SUPER, 16 GB 3200MHz RAM, AMD Ryzen 5 5600G and installed on a 1T SSD drive.
I cant test stuff right now I m at work and will probably be very busy tonight, so I ll just give you some resources to take a look at https://github.com/Mikubill/sd-webui-controlnet/discussions/2400
Thanks Fannovel16 for his hard work extracting dependencies out for hand refiner in https://github.com/Fannovel16/comfyui_controlnet_aux/. Previously users need to use extensions like https://githu...
It returned the smae image no changes, kinda weird but it still gives me the error,
Its weird but thanks for trying ^^
I might have time to try it out on dev branch later
hey, what model do you currently use?
@ornate elk
let me check
It seems like I can only manually install extensions 🤔 but not from the UI. I also tried fixing the dubious ownership with ChatGPT but seems like it still persists
it's the latest version, filename is Fooocus_win64_2-1-831.7z
you installed Auto1111 webui the wrong way (by downloading it as zip). When did you installed it?
no i mean which model do you use to generate images?
oh! uh Juggernaut
I bet your g: partition is fat32 and not ntfs
Like an hour or two ago, I'm trying to move it to my new portable ssd
i run the realistic one
exFAT
Juggernaut or juggernaut xl ? because XL models are larger and slower
yeah so just like fat32 it doesnt have any support for permissions / ownership
I have this file in my checkpoints folder 🤔 juggernautXL_version6Rundiffusion.safetensors
Crap, okay. Thanks
so the XL
I had it as exfat because that was the only way to use it on a phone too :/
I'm not chosing anything when I try to generate an image though, just typing in the prompt and hit generate
yea thats why its so slow. with your gpu you should stick to 1.5 models (the ones that are 2-4gb) not 6gb
oh, okay! that's what was downloaded by default so I assumed it would be fine
i can find smaller models on civit ai?
yes, there is also Juggernaut Aftermath
its 2gb
So yup, use a proper filesystem with permissions / ownership support and it should be fine. Otherwise you can try to force git to ignore those by running something like git config core.fileMode false (run it in your stable diffusion folder of course)
Idk maybe I was just stupid as CS1o said and installed SD incorrectly, could you please link me a tutorial on how to correctly install it?
I'm not sure if this is relevant, but I already have it on my main SSD and I'm simply trying to get it on my other on as well.
okay, so I want to download this to the checkpoints folder and get rid of juggernautxl?
https://civitai.com/models/46422/juggernaut
SURPRISE ;) Merry Christmas, everyone. As a little Christmas gift for you all, I've been working on a new version for the SD 1.5 version of Juggern...
Hi, I'm getting black mask when using these inpaint SD XL ControlNet models, any clue? https://civitai.com/models/136070?modelVersionId=271562 I'm on Automatic1111, Ubuntu, RX 6700, using --medvram-sdx --opt-sub-quad-attention --opt-sdp-attention --no-half-vae
NEW: bdsqlsz : canny | depth | lineart-anime | mlsd-v2 | normal | openpose | recolor | segment | segment-v2 | sketch | softedge | t2i-color-shuffle...
I mean he also is right. I see that master in your stable-diffusion-webui-master folder... meaning you downloaded the whole thing as a zip probably instead of using git or the release archive.
So yes you should probably reinstall it properly. But it will also probably not fix that specific issue.
Like this?
try using --no-half on top of that or instead of --no-half-vae
it s gonna increase your vram usage by a lot but it might fix it
yes
I don't think it worked
and check pins for install guides
yes that one will be faster
Thank you!!! 🫶
great thanks, I'm trying it
fp16 model may be better?
or fp32 should work?
it shouldnt matter for that.
maybe try a proper reinstall before that
Okay!
so i have the regular run.bat, and then a run_realistic.bat. will they both use the better juggernaut model and be quicker? realistic downloaded another checkpoint called realisticStockPhoto_v10.safetensors when i first ran it
these are presets (so it loads a model thats realistic) but you can change the model to your liking in the webui
okay! bless you for the help, im not too great with computers
I got an error - NotImplementedError: You have selected base model other than SDXL. This is not supported yet.
hmm, i thought foocus supports 1.5 models
can you set the styles to None?
same error :(
can you try close it again and start the run.bat not the realistic one?
I have been running the run.bat
oh okay
I'm trying again with realistic, using that model
Does someone know if its possible to use control net combined with multi diffusion and if yes is there something i need to know? For example ipadapter doesnt work at all when i tried it sadly
so after doing a bit of research, Fooocus mainly supports SDXL and is testing 1.5 support.
i know it works with Tiled VAE, but didnt tried with Multidiffusion, do you get an error?
`raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout {name}'s hash: {commithash}.
Command: "git" -C "G:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" checkout cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf
Error code: 128
stderr: fatal: detected dubious ownership in repository at 'G:/AI/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
'G:/AI/stable-diffusion-webui/repositories/stable-diffusion-stability-ai' is on a file system that does not record ownership
To add an exception for this directory, call:
git config --global --add safe.directory G:/AI/stable-diffusion-webui/repositories/stable-diffusion-stability-ai
Press any key to continue . . .`
I'm gonna run that command and get the same kind of errors
@cyan fable for your GPU it would be the best to install the Automatic1111 webui. Its always slow to run 6gb models on a 6gb vram gpu but on Auto1111 you could use the smaller models and improved performance aswell as more features in general.
I made an hopefully easy to understand Install Guide here at the Pinned Message of this Channel.
Try that, and for any questions feel free to ask here 🙂
the realistic model ran better, 5.8s/it, but still super slow. so i should forgo fooocus entirely? dang, i spent all day trying to get this thing to work lol
Yea its made for sdxl and higher end GPUs it seems.
Your better with auto1111
Its the most used webui here so plenty of helpful people too
my SD folder is not a git directory 🤔
Because you installed it the wrong way (by downloading it as zip)
No
Can you show me the error?
Here
Is that on your external drive?
Because it says problem with ownership
It's a portable SSD, not the built in one
Best thing is to reformat it and then try again. Make sure its ntfs
Thanks! Willy try
But save your personal stuff before formatting
hey guys, any way to see seeds from previously generated images, same way SD has a folder with past gens?
in img2img?à
Here!
yoooo thanks dude
😉 👍
@ornate elk @vocal burrow Thank you guys! Seems to be working. If not, then you know the drill
Perfect np 🙂
Yeah when i turn on tiled diffusion and have ip adapter selected in control net i get the following error:
File "F:\AI\AUTOMATIC1111\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\tile_methods\abstractdiffusion.py", line 499, in prepare_controlnet_tensors if len(control_tensor.shape) == 3: AttributeError: 'dict' object has no attribute 'shape'
Hey guys, I just wanted to say, for how long should the "Installing requirements for CodeFormer" part of the bat file occur? Cause it's been there for me for a good 5 minutes
Hey, can you show a screenshot?
Actually
Now I'm getting this error
I never used discord so it's a bit hard to get used to
before closing it can you show the full log of the installation (copy paste the whole thing in a .txt and drop the file in here)
Hey, I'm getting infinite loading times now.
check for errors in console log
What does the cmd shows?
No errors 🤷♂️
And where does it load? When generating? Or selecting a model?
How fast should an m2 macbook generate on sdxl turbo in automatic? I'm getting 1 minute 25 seconds when I prompted with simply "spaceman"
Wait what the
Ok
So
So I got this error:
And then my keyboard and mouse died 😹
Did you download multiple files at the same time?
I downloaded some extensions yeah
weird I don't see anything wrong.... Is this a fresh install ?
depends of the settings you've used
@karmic crown how do you generate prompt? I wanna create an Ai model , but prompts are not that great
Kinda, I had stable diffusion installed on another PC, I copied and pasted the files from there in here, in order to get the Loras and models here as well, maybe that could influence it?
Here are the settings
Ok I need to restart my PC some of the usb ports died lmao
yup don't copy paste from another computer. There's many things that could go wrong doing that
Do a clean install instead (and then copy paste models, loras, etc)
I am using a pixel art lora from civit and when I do the native 1024x1024 model it gives weird glitches like this, but if I use hires fix 2x the pixels are perfect but the proportions are all wrong. Anyone know how to fix this?
it will probably fix everything
using hires fix and it has weird proportions on all the outputs
Upscale via scripts
hello, i am new to this whole ai thing and i installed the automatic 1111 webui, but no matter what propts i use, i get a black square. Can someone help me?
How do you mean via scripts?
1/ that seems a little slow, but the last mac I owned was an apple2 so I don't got any proper point of comparaison
2/ that's not how sdxl_turbo is supposed to be used, you're meant to set CFG scale at 1 and sampler steps at 1 (or use this extension, https://github.com/seshelle/CFG_Rescale_webui with CFG scale at 7 + CFG Rescale at 0.7 + sampling steps at 1)
So uhh what does this mean? I simply opened webui.bat
Danke
it means it's starting up ?
what does the console log say ? what settings are you using ? what's your hardware ?
I'm fun
do you mean gpu?
it should start printing something else pretty much immediately, make sure the cmd windows is not paused / has the focus
among other things yes
The startup time took 180 seconds for some reason
better using those scripts https://github.com/Coyote-A/ultimate-upscale-for-automatic1111
Yes
This better @proper pike
gpu: geforce GTX 1650 and cpu: Core I5-9400F
ok then what about the rest. what does the console log says ? what settings are you using ?
with console log, do you mean my cmd?
yes
don't use --disable-nan-check
but then it doesn`t work
and it doesn't work with it either
But do you know why the native 1024x1024 has weird artifacts?
like the title says it's only gonna disable some check.... So instead of having a meaningful error message the program is just gonna ignore any errors and poop its pants without telling you anything useful.
use --no-half
ok 1 sec
it's mandatory for 16XX gpus
Yeah it's still horrendous, I'm simply trying to change models and the processing is at 370 seconds
btw is that a problem? "Style database not found: X:\AI\stable-diffusion-webui\styles.csv"
no, the file should create itself the moment you save a style
ok
If I understand correctly, then I think that if the model is not an XL one, then that kind of resolution will not work because they aren't optimized for it
what happend to deepfloyd? :( will it come back??
ok it works thx : )
Ye ok I waited 666 seconds Idk
what's the problem exactly (kinda got lost with all the noise) ?
Lol you're good. Just infinite loading times
And then best i can do is just close SD
looks good (apart from the lack of command line arguments so you're probably leaving perfs on the table there)
startup time 20.1s
This is the lora https://civitai.com/models/120096/pixel-art-xl
Pixel Art XL Consider supporting further research on Ko-Fi or Twitter If you have a request, you can do it via Ko-Fi Checkout my other models at Re...
What's the checkpoint?
hmmm faster but not dramatically so, most of the time is spend without any progress being shown then the progress bar goes by super fast
sdxl base model
I did batch 50 lol
waht does the log says ?
Damn...
99% are elongated torsos.
Bad lora?
probably bad settings, prompts, etc. Try asking for more help in #📝|prompting-help
This is with hires fix, right? So thats when it has weird torso or features. However if I keep it at 1024x1024, it keeps proportions BUT the image gets weird artifacts. As if its not a pixel image
Prompt
1024x1024 has weird artifacts
again, looks like incorrect settings, try to play with the cfg scale, weight of loras, etc #📝|prompting-help
Best results without using, pixel art in the prompt
Whatever that is
Hope you're using it
how do I view that?
it's printed in the console / cmd
Total progress: 100%|███████████████████████████████████████████████████████████████████████| 1/1 [00:07<00:00, 7.35s/it]
this time 38 seconds so a little faster
what's the FULL log
from the beginning
Yeah seems like SD completely shitted for me...huh
Not sure why Imma just leave it. Thanks for the help though! @vocal burrow
I'm still waiting on your reproduction steps tho. What's causing the problem ?
And then if I do anything that requires the little loading animation it stucks
try cleaning your browser cache
Okay
if it does nothing delete the venv folder
still nothing, clean reinstall just to make sure.
You're using python 3.9.6, you're lucky it even runs with that. SD is meant to be used with 3.10.6 up to 3.10.13.
Try reinstalling following this guide https://github.com/viking1304/a1111-setup/discussions/2
yeah I missed that step smh
alright I upated that and pip and then reran
@vocal burrow damn now it took over 2 minutes
did you reinstall following the tutorial ?
Yeah still bad...I'll just reinstall another time. It seemed like when I started getting my extensions, that's when SD just shitted
delete them (they should be in extensions folder) and clean venv once again to confirm
Already did :/
did you clean the venv after deleting them ?
Yes
:/ ok maybe the reinstall will fix it. I have to go for now
Bye and thanks!
I just updated python using the command in the tutorial since it's the only thing I didn't do before and then updated pip, do I need to reinstall everything after updating python?
I'd say a clean reinstall would ensure that you're not piling up on errors from the past.
Plus if you changed your python without deleting the venv folder it's still using the outdated venv

Idek what venv is and Google's no help
the venv folder in stable diffusion's folder
it basically holds a copy of everything python related necessary to run SD
that way instead of messing with your system's python files, it messes with things within its own little sandbox
venv , virtual envrionment
Well, I'm having this issue now
C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui>git pull
Already up to date.
venv "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Installing torch and torchvision
C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip
Traceback (most recent call last):
File "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\modules\launch_utils.py", line 378, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "C:\Users\Alberto\Documents\Stable Diffusion\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 1
Presione una tecla para continuar . . .
Couldn't install torch
What do where python, python --version and py --list-paths say ? (run those in cmd)
For where python: C:\Users\Alberto\AppData\Local\Programs\Python\Python310\python.exe
For python -- version: Python 3.10.6
For py --list-paths: Installed Pythons found by py Launcher for Windows
-3.10-64 C:\Users\Alberto\AppData\Local\Programs\Python\Python310\python.exe *
what's in the C:\Users\Alberto\AppData\Local\Programs\Python\Python310\Scripts folder ?
do you have those in your stable-diffusion-webui\venv\Scripts folder ?
hi guys, followed this tutorial, and when i select the .cpk file as a model it just glitched out and automatically switches to my last used model, any idea what could be causing this?
Nope, Only got python
And pythonw
ok how much space do you have on your c: drive and whatever drive you have installed SD on ?
107 GB I got
ok delete the venv folder and try to launch webui-user again
what software are you using ? what .ckpt ? what do you means "it gliched out" ? what does the log says ?
it's a custom .ckpt i made following a tutorial to build your own model
let me get back to u with the log
I deleted venv and tried to git clone and it didn't reappear. How do I reinstall?
git clone the venv folder ?!?
what
the venv folder will reconstruct itself upon running webui-user
no the whole automatic
I was just using that to see if it actually updated it
ok ... so you deleted your whole stable-diffusion-webui folder ? and git cloned it again ?
Open up a cmd and type
Pip cache purge
Then delete the venv folder
And relaunch the webui-user.bat
hey ! spoiler ! that was my next step.
they vanished anyways :p so maybe rebuilding the venv was enough
I only deleted venv and got cloned automatic and venv didn't show up again so I don't think git cloning did anything
you don't update with git clone but with git pull
so I have no idea what your git clone did because it depends what you folder you ran it from
I did git pull first and it said it was up to date
Anyways like I said you don't "reinstall venv"
you simply run webui-user again and it will rebuild itself
I didn't try to reinstall venv
Okay so delete venv and then run it?
Before you said not to just run it and that it had to be reinstalled
< wait what.... so you didn't delete stable-diffusion-webui.... you git cloned it AGAIN somewhere.... so presumably you might have it twice.... And you're asking me how to reinstall "it" again ?!?
I'm lost
I said that it would be better if you reinstalled it yes. Meaning if you reinstalled it completly, uninstalled all that you did, delete your stable-diffusion-webui, your python install, etc
Wait I need to delete Python from my system?
And then you follow the tutorial I've sent you. This way we're sure you're following an approved and tested procedure.
Is there a step by step process for reinstalling somewhere
yes, in the Pinned Messages of this channel is a all in one install script, that also makes the needed settings for best performance on mac
- delete the whole stable-diffusion-webui folder
- make sure that you have a proper and compatible python, if not uninstall it and install a proper one (3.10.6 to 3.10.13)
- install stable-diffusion-webui following the guide provided.
So just run that script and it'll ensure everything is fresh and fixed
I've just stated what you have to do
So you think the script is a bad idea
yea the 3 steps areyetis told will do it, the script will do the rest
I did but now it runs out of memory, I tried with Low Vram in ControlNet
OutOfMemoryError: HIP out of memory. Tried to allocate 1.04 GiB (GPU 0; 11.98 GiB total capacity; 11.11 GiB already allocated; 568.00 MiB free; 11.30 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_HIP_ALLOC_CONF
Also I'm getting
ControlNet - WARNING - A1111 inpaint and ControlNet inpaint duplicated. ControlNet support enabled.
I'm inpainting with a SD XL inpainting model and I did some modification in configuration files, don't know if that is related
AMD and inpainting ain't working pretty great.... I'm not an AMD guy so I don't know the exact commands that can make it work for sure for every single cards out there.
Usually the rule is if inpainting f*** up with AMD hardware => go --no-half
So maybe you can try --lowvram --no-half --opt-sub-quad-attention --opt-split-attention-v1
it will be even slower than before tho :/
well I just tried with --lowvram ( --lowvram --opt-sub-quad-attention --opt-sdp-attention --no-half-vae --no-half ), it started but with a black masked, and awfull slow like 9s/it
@ornate elk do you remember the magic amd values ?
inpainting with regular SDXL models and the inpainting model worked for me with --medvram-sdx --opt-sub-quad-attention --opt-sdp-attention --no-half, but with this ControlNet inpainting model it seems doesn't like it
I wanted to fly too high xD
Its --medvram --opt-sub-quad-attention --opt-split-attention --upcast-sampling --no-half-vae
Use the smallest xl controlnet files and enable lowvram mode in controlnet
let me try, I'm trying these one https://civitai.com/models/136070?modelVersionId=271562
NEW: bdsqlsz : canny | depth | lineart-anime | mlsd-v2 | normal | openpose | recolor | segment | segment-v2 | sketch | softedge | t2i-color-shuffle...
Yea these are to large
is there other inpainting CN model for SD XL?
I dont think so
yes me neither, it was the first one I saw xD
small sdxl controlnet files can be found here, but no inpainting
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
it generate but black mask sadly
--no-half is still needed for inpainting
ty anyway, I'm happy with these inpainting SD XL model I found https://civitai.com/models/245423/juggerxlinpaint
FOR Automatic1111 -> inpaint, please read that this is not yet fully implemented @KandooAI (confirmed thx) original: https://civitai.com/models/...
But about the size, I run different CN models and a few at the time (only had to use Low VRAM when using like 4 or 5), and they worked
Some OpenPose or Depth model that were like 6 GB
Havent seen any controlnet model larger than 5gb
yes 5 GB
If you can always use the smaller ones
But yea big ones can work too, make sure to enabled tiled vae too
Maybe not using hires upscale by 2
that one worked without changing anything, but well these ones I don't know, I guess there will be more in the future
Yea I think so too
some guy say this but it didn't worked for me
got
but well as I said those new juggernaut inpainting models seems to work pretty well
hi guys, so I used DreamBooth to create a model based on some pics, went through the whole tutorial which ended in downloading the created .ckpt file. I put in in the models folder, and when I try to load it it sends me back to the last model used and it says
changing setting sd_model_checkpoint to SP.ckpt [125ff6233c]: AttributeError
Traceback (most recent call last):
File "C:\stable-diffusion-webui\modules\options.py", line 146, in set
option.onchange()
File "C:\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
File "C:\stable-diffusion-webui\modules\initialize_util.py", line 174, in <lambda>
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
File "C:\stable-diffusion-webui\modules\sd_models.py", line 773, in reload_model_weights
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
File "C:\stable-diffusion-webui\modules\sd_models.py", line 330, in get_checkpoint_state_dict
res = read_state_dict(checkpoint_info.filename)
File "C:\stable-diffusion-webui\modules\sd_models.py", line 314, in read_state_dict
sd = get_state_dict_from_checkpoint(pl_sd)
File "C:\stable-diffusion-webui\modules\sd_models.py", line 253, in get_state_dict_from_checkpoint
pl_sd = pl_sd.pop("state_dict", pl_sd)
AttributeError: 'NoneType' object has no attribute 'pop'
my bad i'll send screenshots this is a clutter
Where should I go to get started with comfy ui? I installed it a couple of months ago, but never actually got around to using it/didn't have the time. "
First and foremost: I have a very precariously set up a1111 and my primary goal is to NOT break it or its extensions. What do I need to do to make sure anything comfy ui related (in terms of install or update) doesn't completely break my a1111?
I also don't want my kohya ss to break. And it seems like both that and a1111 can be casualties of setting up comfy ui. I'd really like to avoid that.
I feel like it would just be easier to re-set up your computer every time you want to change python versions
hi guys, so I used DreamBooth to create a model based on some pics, went through the whole tutorial which ended in downloading the created .ckpt file. I put in in the models folder, and when I try to load it it sends me back to the last model used and it says
Hello guys, I'm experiencing some weird things with my upscalers, I tried all types of upscalers, different models, amounts, and every time I upscale my model looks deformed, or pixelated, or something like that, I just want it to upscale and specially add detail
Any ideas??
so now it's way faster but it's just a blur
okay I learned that it's not worth trying to use this on a mac, it's so much simpler on windows
hi guys, so I used DreamBooth to create a model based on some pics, went through the whole tutorial which ended in downloading the created .ckpt file. I put in in the models folder, and when I try to load it it sends me back to the last model used and it says
install Comfy, activate the Automatic1111 venv, then run Comfy inside that venv, that won't mess your Automatic1111 installation, and won't take extra space
I did that to save extra space, and I haven't had any issue
then in Comfy you need to install the "manager" (file/extension manager, don't remember), and one by one install all missing nodes, put some models and files in especial folders of Comfy folder for some workflows, some other workflows will use the models in the automatic1111 folders like sd checkpoints and Lora's
I got this far and am not sure what to do now.. lol. I actually don't think I mind the extra space it would take up and that's simpler for me than running a venv. Or are you saying that's the only way to do it? Idk if the screenshots are helpful info in this struggle. Dx
I already did a git clone on the manager, but I guess I got ahead of myself a little since the thing itself doesn't want to even launch yet.
nah you can follow the Comfy installation guide and it will create its own venv and launch thing
I don't know about that, prob some other user here would know. You can start over again and check if you followed all the installation guide (things like python version, etc)
Will updating python or reinstalling xformers risk breaking a1111?
haha I used to be worry about that kinds of things also, and asked that question. Just check what python version it is needed for Comfy, check your current version. in Windows there is some "add path" thing in the installation of python that was important at least in the past. I don't think it will mess the Automatic installation, but I wouldn't put my hands in the fire. Also I think you can have different versions of python installed and the each venv will use a different version, afaik.
Worst case scenario reinstall Automatic1111, first rename the directory as "stablediffusionOLD", then copy your launch file and models in the corresponding directories. It is a good practice to do that, I've done that when I think my installation was messed up.
https://martinfritz.medium.com/work-with-multiple-versions-of-python-on-windows-10-eed1e5f52f07 I think this might be what you're talking about? Where it looks like they tell you to add it to paths and then how to I guess activate the specific version you need?
Install, manage several Python versions on a Windows computer and use them from the terminal and in virtual environments.
yes that's that, Add python x.x to Path
Ok thanks. You've at least given me some direction. lol. Although I'm sure I'll make that change and if I'm lucky, it keeps a1111 unbroken, but the comfy ui bat still will have those other issues.. Dx
no problem, and keep asking here so the guys that know more show xD
how can I train a lora on a GTX 1650 (4GB)? I dont care if it takes hours to train, but I want to train on my own computer
it can be textual inversion too, idc
you cant train loras with that gpu and textual eats like 6-8gb or vram you could try to train textual inversion with cpu but you would have to search online how to do it
isnt there a way where I can combine the power of my gpu and my cpu?
no,it can only use one at a time
:C
someone managed to make it work with a 4gb ampere gpu with kohya-ss and sd-scripts from here https://github.com/kohya-ss/sd-scriptson by using bitsandbytes and xformers but it was an ampere gpu not a turing like yours but you could give it a try
thanks, I will see it later
link is giving 404
https://github.com/kohya-ss/sd-scripts right link
yes that one
you would have to search on youtube tutorials on how to use kohya-ss then u install those scripts to use it together with kohya
alright question probably easy one (I don't wanna move all the files to test)
if I have Stable Diffusion on my C drive, can I move the models and loras (and previews) to my E drive and it still works? Or does the program specifically need the folder to be inside its file structure like that?
Also, can I move the whole thing to the E drive and run it from there?
TIA
I run all my AI stuff from a different drive
4TB nvme
OS is installed on the 2TB gen5
just move the whole folder (after you close everything)
I'm working on training my LORA again, task from last night failed.... will post the error if it bombs again, currently at 28%....40s/it
91%
ModuleNotFoundError: No module named 'bitsandbytes.cuda_setup.paths'
since i'm on AMD, it should be using only CPU, but seems its still attempting an nvidia.
also in the same error log
ImportError: No bitsandbytes / bitsandbytesがインストールされていないようです
going to try as a 1.5 instead of an SDXL for now, while i wait for the brains to come online
There is currently no way to train with AMD on Windows that I know of
well that sucks, lol
so i need to hurry up and decide which green gpu to add to the system
12gb at least. 16gb or more if you want to train sdxl
You can move the models and loras And then add --ckpt-dir "D:/Path/to/Models" and --lora-dir ..
To the webui-user.bat
Can you show an example with the txt2img settings?
can any of these "apps" SD, Textgen, etc, benefit from the dedicated workstation style cards, or am I wasting money?
How can I use SD Auto1111 in production. I've 10k+ user requests. How can i handle scaling?
exFAT should be used for external drives if you want to be able to use the same drive on both PC and Mac without 3rd party software on Mac - and that's it - in short: just use NTFS for all Windows internal drives
show me what you have at the bottom of your UI, something like this:
version: v1.7.0 • python: 3.10.13 • torch: 2.1.2 • xformers: N/A • gradio: 3.41.2 • checkpoint: a88bfb6ffa
I can help you fix your Mac installation, and turbo will work, but it will still be much slower than on your PC
for comparison, this is a result on my iMac (Intel) with Radeon Pro 580X 8 GB
You can reduce the time by using Euler A instead of DPM++ 2M Karras
i will try on M1 Macbook Pro later, and post the results from that machine
hi guys, so I used DreamBooth to create a model based on some pics, went through the whole tutorial which ended in downloading the created .ckpt file. I put in in the models folder, and when I try to load it it sends me back to the last model used and it says
alright I got a similar result except with too many arms which I posted in #1178805966335119472 but it took 55 seconds
Euler a only reduced it by 4 seconds
I have an 11GB 1080ti, but when I try to run SDXL with xformers it's excruciatingly slow, even with medvram. no xformers runs fine on high vram
am i lacking ram? is 16gb enough?
@ornate elk Hey there! Thanks for all your help recently, it got me back up and running. Do you have a list of useful extensions? It can be difficult knowing what's out there.
these are my top 3
I've heard of adetailer but never tried it. I'll check out the other two, thanks!
hey, no problem 🙂 Beside "Tiled Diffusion" whats needed for AMD, i can recommend "ControlNet" (its the most feature rich extension out there and very powerfull),
also for prompting the extension called "Booru tag autocompletion" is very helpfull. "Adetailer" is okay too for face and hand fixes. For FaceSwap "Reactor" is great, but can also be done with ControlNet.
There is also the "lobe Theme" Extension for a nice looking UI.
And then it depends on what you want to do. There are tons of Extensions for example for video stuff etc.
I use ControlNet a lot and ReActor all the time, but I'm having trouble with Canny and Depth in SDXL. Is there a different version I need? I'm hesitant to install stuff if I'm not sure about it after I broke my install last time. lol
here oyu find all sdxl controlnet models:
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
Thanks!
maybe use sai or t2i adapter canny version
Ooh, okay, now it makes sense.
I immediately saw what I had been missing.
Could I suggest that maybe there be a channel just for extensions? There are so. many. extensions out there.
@karmic crown 👋 Thanks for the help sorting my batch issues on github , its usable now, not the way I tought it should be,but hey..it works
i think hat wouldnt help as then everyone asks about their issues there, like they do here rn.
Because there are so many extensions there wouldnt be a big change to here.
we have #📝|prompting-help where also everything extension related can be ask for better outputs and here if its more on the technical site.
sure, and we have #1072238304042438758 where also every sd thing can be discussed
Is there a good extension for prompt history?
yes there is this:
https://github.com/ArtVentureX/sd-webui-agent-scheduler
Hey guys! I updated comfyUI and when i started i got a grey screen that i cant do much.. So i tried to load a workflow and this is the error message i get
hey sorry I fell asleep--did you mean to add these after "set COMMANDLINE_ARGS="?
yes
cool ty very much, cant wait to free up a few hundred gigs on my solid state
Can anyone help me regarding this issue pls ? 🥹 🙏
do you know if spaces are allowed (ART/Stable Diffusion/models as opposed to ART/Stable_Diffusion/models)?
yeah, just put it between " "
@ornate elk hi guys, so I used DreamBooth to create a model based on some pics, went through the whole tutorial which ended in downloading the created .ckpt file. I put in in the models folder, and when I try to load it it sends me back to the last model used and it says this
in theory yes, but just to be safe and because not every extensions is built equally, I d say it s best to avoid weird characters, spaces, etc
hey, what was your gpu again?
@ornate elk 1070
I just generated about 20 images (with spaceman as a prompt), and only one had extra arms. A good negative prompt or text inversion should help, but unfortunately, some seeds might generate deformed images even with a good negative prompt or text inversion (like 3090860638, for example). I tried a few different negatives, but none helped
your speed is too low. what do you currently have as your command line parameters? please try those two:
--skip-torch-cuda-test --opt-sub-quad-attention --upcast-sampling --no-half-vae --medvram-sdxl
--skip-torch-cuda-test --opt-sub-quad-attention --upcast-sampling --no-half-vae
if it still takes more than 30 seconds, try to disable acceleration in your browser since i experienced cases when the browser took more than 35% of my GPU (check activity monitor)
hello, please try those two command line params (and let me know if there is any difference in speed or usability of controlnet):
--skip-torch-cuda-test --opt-sub-quad-attention --upcast-sampling --no-half-vae --medvram-sdxl
--skip-torch-cuda-test --opt-sub-quad-attention --upcast-sampling --no-half-vae
also, check if your browser takes too much of your GPU (check the activity monitor). mine was used more than 35% in some cases, if your browser takes too much of your GPU, disable acceleration in browser
okay, i didnt used dreambooth before, but while training a lora i got the same issue. (its GTX card related). make sure the model is 1.5 based and the sizes of the images are mostly 512x512. Also if there is any Setting for bf or fp set it to fp16. Also Uncheck AdamW8bit or (activated it AdamW) if possible.
Also i would recommend using khoya_ss tool for training Loras or Checkpoints. Its a seperate tool that wont break you SD webui like Dreambooth will. It also has more Settings.
i will be back in a few hours, buy for now
will do, tks, and will answer back
@pure forge please check https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/5461#discussioncomment-8050803 so you can see what parameters are really required for Macs and which are "optional", so you can experiment yourself
Mac users: Please provide feedback on if these instructions do or don't work for you, and if anything is unclear or you are otherwise still having problems with your install that are not curren...
@hot spindle since that was my anser for you, you already saw that 🙂
I always do my bechmarch using benchmark option in system info extension - with SDXL model loaded wich is the one I usually use - do you think its a fair assesment or should I use img2img (my most typical scenario)?
@ornate elk ty! Ill try that out
with the first set of parameters it took 26 seconds
I would recommend testing with real image generation. When I am doing the test, I usually generate 4 images (4 batches of 1 image - that works faster and uses fewer resources than 1 batch of 4 images) and see how long that takes. When you generate only 1 image, timings can be a little inaccurate. I noticed that in some cases, the last step takes too much time compared to other steps
i have almost never noticed that slowdown at the last step with Euler A, but I have noticed that from time to time with DPM++ 2M Karras and some other samplers
my browser used .1% GPU but Python used 85%
ok,tks , like I said before, for some reason img2img on my rig crashes when doing more than 1 image batch , but it works ok if I generate them at same time
my m1 and my iMac are much slower than your Macs, so you should get better results than me
that should not happen, i will get back to you later, i am late for a meeting
Batch count more than 1 - crash current generation (but not A1111) , Batch size is ok with 4
ok,sure, dont wanna take your time, will test all that and report back with findings
batch count = 4 + batch size = 1 should work faster and use less resources than batch count = 1 + batch size = 4
yes, I realize that, no idea why..it has allways been so. Tks and talk later
So, I have only succeeded at moving the LoRA directory. For some reason, the checkpoints have remained at the old location. Here's the argument I typed in, in full context:
set COMMANDLINE_ARGS=--xformers --medvram --no-half --ckpt-dir "E:/Life/Projects/ART/Stable_Diffusion/Models" --lora-dir "E:/Life/Projects/ART/Stable_Diffusion/LoRA"
I know word wrap makes that look like a mess, but I'm hoping you can tell me why one would work and the other fail--I got no error messages in the launch.
(the lora directory is empty and the models directory has exactly one checkpoint with preview image)
so all the other models are now moved but dont show up?
what is the one model in the models folder? sdxl or 1.5 based?
No, the models are still on the C: drive in the old location, and the new folder on E drive is empty. I have redirected SD to the new folder, but it still shows me the models on C drive.
The model in the folder on E is "anylora", a 1.5 model
The clients display for Loras tells me that the directory is empty, and if I'm successful with moving, then it should also tell me that (rather than a lot of models), there is only 1 model
so loras are now on E and also shown in the webui?
can you try end the path with /" ?
trying that now
let me be a bit more clear---before today, all models + loras on C drive
I want to go to E drive (get it off my SSD)
so I've made 2 empty folders on E: and I want SD to understand that before I move a lot of files
Right now only 1 ckpt and 0 loras are on E because I want it to work before I swap, make sense?
this is the message for loras
(success on that one)
but models is showing my old list of models on C, rather than just the 1 on E (which would be correct)
added slashes at end, no change
I am sure the machine is updating the list, because the one model I moved over (anylora ckpt) is no longer in the list
