#🤝|tech-support
1 messages · Page 25 of 1
done
ok now seems like it's using my 3090 yey
trying 2048x2048 see if it handles it
aaaand it does
Thank you very much @ornate elk
Now seems like I have to bother someone else for additional modules haha
1.5 models are trained on 512x512 and sdxl models are trained on 1024x0124 resolution, so going straight for 2048 will result in deformation
2048
for community made models, checkout Civitai.com
its the largest model database
not to my liking, I guess I have to dig into youtube for some tutorials now
Thanks!
I need to be able to train faces and do videos, can I do that?
one thing you should do:
go into Settings -> User Interface -> Quicksettings, there add sd_vae then hit apply and reload ui
yes training with 24gb vram is perfect and very fast
where is that settings?
also video stuff with AnimatedDiff or Deforum extension will work great
I need those! and control net and training modules
yes
I have no idea yet how these all work, I just heard stuff nothing else
for training you should install the khoya_ss tool, its a seperate tool
oh browser settings ok
not browser settings
I'm using brave browser
then hit apply
did
it does give you the second dropdown in my screenshot
vae dropdown is needed for the future when you want to change vae files, needed for color/vibrance of images
these are samplers, not models
hmmm
also 2048 x 2048 is out of scope for most models, maybe sdxl based one can be pushed that far but I'd go lower and then upscale, hiresfix, tile, etc...
sdxl based models are trained at 1024 x 1024
it's fine I don't need 2048 by 2048, I just wanted to test
you can use other aspect ratios but they have to maintain close those numbers
16:9 is 1344 x 768
does automatic1111 have any built in models?
where are those? Anything good in there?
no you have to DL them
as @ornate elk said, civit.ai
so my SD tells me to ''use the --no-half commandline argument'', how do I do that?
and what about samplers? What are those for?
yes your using the 1.5 model rn
thats an sdxl model (1024x1024 resolution)
yes
to install models:
download the file
and if its larger than 1.98gb put it into the models/stable-diffusion folder
oh that's it? Than reload UI?
then click on the reload button near the first dropdown
there you can select it
got ittt
for info about samplers/schedulers and so on, best bet is reddit Stable Diffusion, at the tutorials tab you have stuff like this> https://www.reddit.com/r/StableDiffusion/comments/xmwcrx/a_comparison_between_8_samplers_for_5_different/
and this is all local and private?
completely
awesome! thanks
uncensored too xD
great haha
ahaha nice nice

is xformers working for Maxwell cards?
i wonder if its a bad idea to store my sd models on a nas
you can try it
it could work
if it doesnt work it will tell you in cmd
Thanks!
depends on the time it takes to load a model. but it doesnt change/affect the image generation speed
I got juggernaut installed, what sampler should I use with it for best results?
for sdxl models try a dpm++ sampler like dpm++sde or dpm++ 2m sde karras
if a model supported it, could you use tags that changed the orientation your character/model is facing--"facing left" "from behind" etc
then also if you just alternated those, but kept the rest of prompt and used the same seed--theoretically would the model keep the same pose/shape in each batch?
dpm 2m / karras works really great
also ddim sched.
guys if the model type says Lora, does it go into a Lora folder in the models?
yes but its typically used differently
can find it here
with it you can add the tags it uses to make adjustments to a base SF model
but i think u have to enable loras in settings then go to the tab to add the lora tag to prompt
yes, with batch count (one image after the next one) and batch size (multiple at the same time)
awesome thanks
loras are also based on either 1.5 or sdxl
they only work with models based on the same
so 1.5 loras work with 1.5 models, but not with sdxl etc
if i use the same seed-but different poses-will the model still draw with slight different proportions i guess?
arms legs etc
got it
just tested--outfits etc change
i guess there is no way to make the figure look the same in all poses then
for that you need controlnet IP-Adapter
ok i will check it out thanks!
do you think it's possible to make it close enough to mimic a 360 panorama of IRL subject
no clue, but maybe
i'm looking to test in photogrammatry app for 3d model output
it would probably be a nuisance but it might work who knows
how do we add weights in automatic1111?
(word) or ((word)) or (word:1.2)
nope, but going over :1.4 is like forcing something and going beyond :1.6 can do weird stuff to the image outputs
yea i mostly do :1.3
got it!
Hi, i am trying to install stable diffusion locally, but i keep getting error code "ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none)
ERROR: No matching distribution found for torch==2.0.1" anyone got any idea how to fix this?
@ornate elk do you know how I install those bone like things with which I can control the poses of the characters?
It never used to
sorry if this is a dumb question but i was getting confused. I installed Automatic 1111
and i downlaoded this ckpt
and its working fine
but how would i then use this pokemon one?
i dont see a ckpt file 😅
so i think im missing something
actually i think this video is what i need
Our Discord : https://discord.gg/HbqgGaZVmr. In this video, I am explaining how to run Stable Diffusion models that not provided in .ckpt file format. If I have been of assistance to you and you would like to show your support for my work, please consider becoming a patron on 🥰 https://www.patreon.com/SECourses
Playlist of Stable Diffusion Tuto...
i suppose you could try to reinstall torch. in the webui-user file. try to input the following command : --reinstall-torch
It’s a controlnet called openpose, depending on what model you’re using (1.5, 2.X, SDXL), they’re completely different https://huggingface.co/lllyasviel/ControlNet/tree/main/models
Each controlnet does different things, you can read about it in the modelcard.
This is getting too confusing too fast 😫
Hey, pls follow my install guide in the Pinned Messages of this Channel.
You have the wrong Python Version
Step by step, yes there are many things, for sdxl I’d suggest stability’s controlnets, also a user named Thibaud Zamora has a great controlnet repo.
Yes thats done with Controlnet
I’m watching tutorials on youtube, but so many random bad ones.. getting the ideas though
I’m guessing with comfy ui node based interface you can do better video to video. Or am I wrong?
You coming from vfx/3d world perhaps will find this useful, you build the openposes in blender, even animations and then bring those to the controlnets https://toyxyz.gumroad.com/l/ciojz
-Blender version 3.5 or higher is required.- Download — blender.orgGuide : https://youtu.be/f1Oc5JaeZiwCharacter bones that look like Openpose for blender Ver96 Depth+Canny+Landmark+MediaPipeFace+finger + customizable body meshThis time I added a box depth model for LosseControlDepth. Compared to regular Depth, it has more flexibility inside the...
I also really want to train on real faces and use them in my generated images. That’s the most important thing right now
I need the basics, understanding what is what. Advanced will follow 😊
There are many videos out there. Dont watch old tutorials as they get outdated fast.
give me couple good videos with real results please
#🤝
@boreal bison do you already installed the controlnet extension?
this one seems fine
yeah, but I’m not in my office now
watching videos on my tv now 😳
Thats okay, but its for comfyui
yeah
Yeah olivio is a great educator dwpose is also a controlnet preprocessor
things like that “preprocessor” I don’t understand yet. Haha
And for your specific question, there’s a user named Matteo, the developer behind Ip adapters, he just did a complete tutorial specific on FaceID and using faces, I’m not on the computer right now can link it later
please dm me when you are
I’ll check in the morning
Feel free to link it to me too
I already know how to use them but maybe he has some tricks
What I dont link is the additional need of a lora
Makes switching and testing slower
Guys do you prefer comfyuo or automatic1111? What do you use most? @ornate elk @dreamy garnet
@ornate elk @boreal bison > https://www.youtube.com/watch?v=oBKcjY-JO3Y
I ran hours of benchmarks to try to establish what is the best IPAdapter face model and this is not a subjective selection: this video is backed by Science :)
Workflows: https://f.latent.vision/download/face_science.zip
Discord server: https://discord.com/invite/W2DhHkcjgn
Marco's ComfyUI channel (in German): @ALatentPlace
00:00 Intro
00:17 M...
you should probably start with Auto1111, it's better
Can I do everything in it that comfyui does?
but if you are fluent on node-based and procedural workflows, comfyUI is where is at
Im using Automatic1111 mostly. I tried comfyui but I'm not a fan of setting up every step in the pipeline to get an image. Needing nodes for every extension and understand each setting again.
For me auto1111 is faster and easier to use. I know how to fix nearly any bug in auto too.
Comfyui is for the more advanced people who want to control every step in the image generating process
I personally haven't touched AUto since started with ComfyUI
Yea that won't hurt xD
Who’s helping me install comfyui tomorrow?
I like AI)
it's not so complicated, just remember the first custom node would be the comfyUI manager, then you install eveything else with one click
Its easy. Check the link in the pinned message of this Channel to get to the comfyui site.
Then its just downloading a zip file you can unzip in a separate folder on your Z dtive.
do I need visual basics etc ? I really had a bad experience installing Risco Diffusion locally like 3 years ago, messed up everything
Yea comfyui ui manager is essential
that’s why I’m asking so many questions 😂
great guys! Will bombard you tomorrow with questions 😎
How can I run stable?
Localy?
If you have a GPU with 4gb vram or more then follow my install guide in the Pinned Messages of this Channel
This os exaxtly what I need
Does this work with automatic1111?
there should be extensions that do that, but i really don't know them, 100% comfyUI at this point
I’m def installing comfy ui!!
Yes
The FaceID IP-Adapter can be used in controlnet
Great, thank you
Hello, I entered this channel after 2 weeks today, and I noticed that I don't have access to the channels to generate images. Can an admin/moderator help me understand the reason or lift the restriction? Please.?
/drame
btw @ornate elk this is with the latest CN Update adding insta ID https://youtu.be/jjRFa1JugA0
you'd have to update CN and you'll see it listed in CN style box
hmm, not a very good video to show as an example, i'll have to look for specific video
nice, impressive how quick it got implemented:
also here is everything you need to know to get it run:
https://github.com/Mikubill/sd-webui-controlnet/pull/2580
the models are listed here https://huggingface.co/InstantX/InstantID/tree/main but i'm yet to try them out
What is ID in this context?
the FaceID for face recognition - face swapping
Ah
hi thank you for your help, but after i installed 3.10.11, it would error out "No Python at '"C:\Users\kevin\AppData\Local\Programs\Python\Python312\python.exe'"
but when i looked under that folder the file is there
hey, you have to delete the venv folder and then relaunch the webui-user.bat
it stores the needed stuff for SD to work. and gets rebuild when deleting it.
there was a reference to your old python install in there, and now it uses the new path
I see, thank you so much for your help
@ornate elk https://github.com/Mikubill/sd-webui-controlnet/pull/2580 describes the installation of instant_ID for a1111
Instant ID project
https://github.com/InstantID/InstantID
Instant ID uses a combination of ControlNet and IP-Adapter to control the facial features in the diffusion process. One unique design for I...
yea i already added the link to my answer from before ^^
i keep getting bunch of errors when trying to generate a portrait
should i be changing the bin extension to something else ? ip-adapter_instant_id_sdxl.bin

hello i create and account
and pay the billing
but im not able to generate any image
@ornate elk not sure what i'm missing but it's not working for me, the error could be related to .bin extension that my system is not recognizing
also tried changing that to .pth but that obviously didn't work, think we need a properly compiled pth file?
rocm linux users - beware upgrading rocm, have a way back. just spent 2 days thinking my GPU was going bad with image artifacts, but it was either the newer rocm or the newest torch. on a 6800 XT with 5.4.2 and very stable again
I've been using opt-sdp-attention, is that the best option for AMD? I care about quality over speed
My SD (A1111) is acting up all weird again, I have two pictures created earlier, in both I have a person, one sitting and one standing, both also missing lower parts of the legs. So I wanted to do some outpainting (inpainting), expanded the canvases in Affinity, importer back in img2img inpaint and started working. With the first image all went well and worked as would expect, used fill (not original), mask only, cfg around 7 and denoise at aroun 0.64~0.7 and random seed. After about half a dozen renders, The standing person had full legs and a nice room around it. With second picture, person sitting, I tried the same approarch, at first all good and everything looked promising but then happened something and SD started to generate stuff like it did not see the image at all. Twekeked values and setting but nothing helped. Started SD twice from ground hoping things would get fixed, even rebooted computer. I’m stuck. Ideas?
The fill option it's supposed to ignore the picture, unless I'm missing something
Original takes the content into account
Then there's whole picture vs masked only, masked only will apply the prompt to just that area
Another thing you could be doing is using the option "apply to non masked" I forget the exact wording
Yep, fill ignores what’s under mask but shouldn’t it understand the context anyway?
As i don’t have anything under the masked area, just empty canvas, it should work fine? This the workflow I used earlier anyway and worked as I expected
pls help ,
The fill option it's supposed to ignore the picture, unless I'm missing something
Like here, in this workflow https://youtu.be/7IjJCEk-2mM?si=DMjW-Np2ti-DBZw0
this is a second method for outpainting which takes less time, to extend an image without changing it at all.
it is possible to complete outpainting of an image in 1 minute and get good results too like generative fill without using external extensions.
see the first method in
https://youtu.be/hhQeEXwSA-A
and third method in controlnet
http...
Yep, as far I’ve understood, it shouldn’t ignore the picture
I might need to reinstall SD from ground up, perhaps have some sort of glitch from an update, idk.
Ok, I think it was some kind of bug. After changing model checkpoint to another one, and then back to what I was using, things seem to be working again
Nope nope, might have been positive too early. fck
I tried a model and it was working fine, but now I cannot use it
I got size mismatch for model
are you using something beside the model? lora? controlnets?
nope
I do have them installed, but not enabled rn
the mismatches are usually related to that, using 1.5 controlnets over sdxl models and viceversa, also loras and such
alright
but I entirely restarted and I still cannot use the model with nothing turned on?
Can you show the txt2img settings you use + model?
then I got tiled diffusion, tiled vae, additional networks(Lora), and Controlnet, all are not enabled
and I cannot even switch to the model
How big is the model size?
6.4GB only
Okay so its SDXL
What's your GPU and what's inside your webui-user.bat?
永远都用不了了?
its been stuck here for a min is that alright?
Yes let it run
Thats the webui.bat not the webui-user.bat
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--theme dark --no-half-vae --medvram --xformers --always-batch-cond-uncond --upcast-sampling
set PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
set SAFETENSORS_FAST_GPU=1
call webui.bat```
A bigger screenshot could help too
To identify if everything is ok
Do you use a 12gb 3060 or a 6gb one?
Looks good
6gb
correct
What does the cmd shows when you switch to it?
Traceback (most recent call last):
File "D:\Stable diffusion\stable-diffusion-webui\modules\shared.py", line 516, in set
self.data_labels[key].onchange()
File "D:\Stable diffusion\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "D:\Stable diffusion\stable-diffusion-webui\webui.py", line 199, in <lambda>
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()), call=False)
File "D:\Stable diffusion\stable-diffusion-webui\modules\sd_models.py", line 546, in reload_model_weights
load_model_weights(sd_model, checkpoint_info, state_dict, timer)
File "D:\Stable diffusion\stable-diffusion-webui\modules\sd_models.py", line 288, in load_model_weights
model.load_state_dict(state_dict, strict=False)
File "D:\Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for LatentDiffusion:
size mismatch for model.diffusion_model.input_blocks.4.1.proj_in.weight: copying a param with shape torch.Size([640, 640]) from checkpoint, the shape in current model is torch.Size([640, 640, 1, 1]).
size mismatch for model.diffusion_model.input_blocks.4.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 2048]) from checkpoint, the shape in current model is torch.Size([640, 768]).```
as to avoid spamming the channel, I get many many size mismatches after this
Okay then try to remove
--always-batch-cond-uncond
And the whole set Pytorch–Cuda-Alloc stuff
Thats normaly not needed
ngl normally I just run webui.bat
what have i done wrong
I dont use webui-user
Why that? That prevents every optimisation for your gpu xD
I forget
Ok. Always and only use webui-user.bat
fair enough
@ornate elk do you know how to fix this ?
nevermind i think its cause i forgot to install git 
yeah, if it's not that make sure that you have git installed in the python that is your path
same error occurs
do i need a specific version of git or can i just use latest?
as to be expected as it occured when just runign webui.bat
I believe there is a range, you can try latest
You didn't followed my install guide
Downloading the webui as zip is the first wrong step
Check the Pinned Messages of this channel for a detailed install guide
And when you run the webui-user.bat ?
gives the same error
I tested also restarting my device, no change
Did you edited the webui-user.bat as I suggested?
yes
okay can you check your webui versions, in the webui scroll down to the bottom
requirements_versions?
version: v1.2.1 • python: 3.10.6 • torch: 2.0.1+cu118 • xformers: 0.0.17 • gradio: 3.29.0 • checkpoint: 98a1428d4c
ohhh wow, thats outdated
that's vastly outdated
with that webui version sdxl wont work
that's odd, cause it worked yesterday and this morning
maybe my version got messed up at some point
@ornate elk should I install just the latest version of A1111? or?
you can update your existing webui, or you can install auto1111 in a fresh folder
fresh folder it is
okay, then checkout my Install guide in the Pinned Messages of this channel
simple enough pulling it with git
With the controlnet outpaint / inpaint method, can I control which way the picture is being extended?
yea and make the changes from Step 5
with that you have the best performance and compability
yea getting this error with InstantID:
2024-01-28 20:10:03,144 - ControlNet - INFO - unit_separate = False, style_align = False | 7/30 [00:07<00:18, 1.22it/s] 2024-01-28 20:10:03,144 - ControlNet - INFO - Loading model from cache: control_instant_id_sdxl [c5c25a50] 2024-01-28 20:10:03,145 - ControlNet - INFO - Using preprocessor: instant_id_face_embedding 2024-01-28 20:10:03,145 - ControlNet - INFO - preprocessor resolution = 512 2024-01-28 20:10:03,146 - ControlNet - INFO - Loading model from cache: control_instant_id_sdxl [c5c25a50] 2024-01-28 20:10:03,147 - ControlNet - INFO - Using preprocessor: instant_id_face_keypoints 2024-01-28 20:10:03,147 - ControlNet - INFO - preprocessor resolution = 512 *** Error running process: D:\Programme\AI-Zeug\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "D:\Programme\AI-Zeug\stable-diffusion-webui-directml\modules\scripts.py", line 718, in process script.process(p, *script_args) File "D:\Programme\AI-Zeug\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1148, in process self.controlnet_hack(p) File "D:\Programme\AI-Zeug\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1133, in controlnet_hack self.controlnet_main_entry(p) File "D:\Programme\AI-Zeug\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1107, in controlnet_main_entry assert i > 0, "InstantID control model should follow ipadapter model." AssertionError: InstantID control model should follow ipadapter model.
are you based in asia?
nah NA
hmm can you try again?
trying rn
did you installed git before?
i have git and python installed
tried it again and it failed
ill prob just download github desktop and clone it from there
you can also try restart your PC, or disabling third party antivirus systems
or changing the DNS server
@fair oxide i got InstandID to work
Still puzzling should I get 4060 TI 16GB instead of 3060 12GB, price difference has reduced a little, around 150 euros now comparing the two
I guess I found the inpainting / outpaint issue, looks like it's the resolution I'm using. 512x gives weird results, 1024x seems to be fairly consistend, above that the weirdeties come back.
So 1024 it is
@ornate elk it works on latest
something is strange with your git
or connection to github
close the cmd
then open up a cmd and type
pip cache purge
then delete the venv folder and relaunch the webui-user.bat
I’ll try this when I get home
Hello, I've been using SD for a while now and only recently noticed it keeps "loading 1 new model" for every generation I do. My question is, is it supposed to "load 1 new model" every generation? I would assume the model would have to be loaded only once and ready to go so long as i dont change it. I am on comfyui if that makes a difference
i have amd gpu and installed every packages needed from stable diffusion but some extensions still using cpu with onnxruntime! why?
like reactor for example, i dont have anything related to cuda installed?
@ornate elk Starting the comfy UI downloading process 🙂
@ornate elk how do I change the path here?
so I use my already downloaded models
After installing comfyUI manager, I can't run it, getting these errors :/
anyone???
I can help you with ComfyUI tomorrow, it’s really late for me already, off to bed : )
seems like I got it working for now!
thanks
I'll bug you with other questions tomorrow 😄
Does anyone know if it's possible to iterate through different LORAs' using xyz prompt?
Further, is there an easier/more efficient way to manage >100 LORAs and their trigger words?
my brother getting this error when try to join
Firstly you can organize them into folders, makes browsing a bit easier. You can also set a thumbnail image. Webui let's you pull the metadata, so you can usually see the relevant tags, you can also save the tags you want to come up when you load the Lora there.
There you input the path to the Stable-diffusion-webui like Z:/Ai/Stable-diffusion-webui
OpenPose is sooooo slow - like 1 hour for an 896x1152!!! Normal SDXL takes only 40 seconds for the same size. RTX2070 8Gb VRAM, 64Gb RAM, Win 10
What's in your webui-user.bat?
Also what openpose model do you use?
I am using
Why force fp32 lol
OK, but it works
That will slow down everything
So force 16?
Wouldn't force anything
OK, then how should my bat look?
I'm not comfyui user so idk what else you should add there
Alright 🙂 Thnx
In auto1111 it would be --xformers --medvram-sdxl --no-half-vae
I agree, and that is what I have in A1111
But what you can try to is to use a smaller openpose model
The 128 version? Alright, I will give it a go
That or the t2i-adapter-openpose-sdxl lora
But even the 256 lora version should be not taking an hour
But yea try without fp32 forcing maybe that will speed it up a lot
👍🏻
I say! Starting without --force-fp32 has made the world of difference!!! Thank you 🙂
66 seconds 😄
Nice! Np^^
Hi, does SD UI work well on Windows 11?
Fantastic, that'll make for an ever better evening^^
Checkout my install guide in the Pinned Messages of this Channel 🙂
For an easy start
Is it different than for w10?
Nope
I will if things go south but I've got it all laid out in xmind, metalinks and all ^^
nice and neat
One more thing, an nvme doesn't do squat for the performance right?
Most guides out there are outdated or missing essentials install steps. So I recommend if you want to use Automatic1111 to go with my guide first as it covers everything needed.
will do then^^
It won't make the image generation faster. But its good for loading/switching models
That's good to know, thanks again
No problem, and if you face any Problem or having questions while installing. Feel free to ask here
hihi !! i'm sorry if this is the wrong channel but i am having trouble with SD and no online resource has helped. basically, i have downloaded everything i'm supposed to and when i open the UI, it says that it doesn't detect python even though i have it. can someone link me some resources or give me a hand? ^^
Hey, what's your python version?
python 3.10 64 bit !
3.10.? SD supports 3.10.6 up to 3.10.11
sorry i was wrong it is indeed 3.10.6 xP
And you checked "add python to path" while installing it?
indeed
Okay then delete the venv folder and relaunch the webui-user.bat
If there isnt a venv folder thats okay too.
Then you have to open up a cmd and type
Where python
Copy the path.
Then right click the webui-user.bat and at the line Python=
Paste the path. Then save.
Then launch the webui-user.bat
there was indeed a venv folder! i think i can figure it out from here. i'll return with updates or if i need more help, thank you <3
No problem. Also checkout my install guide in the Pinned Messages of this Channel.
It covers the needed setting for the best performance depending on your GPU vram
i have returned! SD is up and running... kind of! i believe this isnt supposed to look like this
WAIT im sorry i was wrong
Make sure the webui is whitelisted in any browser adblocker
hi i am back ;w; so i am being met with the NansExcpetion error. I did the first thing I was prompted to do but i believe i may be misunderstanding the second set of instructions. i'm supposed to run the given cmd prompts in a seperate cmd window by themselves, correct..? i am unfamiliar with these kinds of things ^^;
Hey, what's your GPU?
NVIDIA GeForce GTX 1660 SUPER
Have you checked and made the changes to the webui-user.bat like seen in my install guide?
that completely slipped my mind, i was still waking up and just had my second cup of coffee xD i'll check that out now my apologies
NP, your GPU needs --xformers --medvram --no-half
In the webui-user.bat
At the line COMMANDLINE_ARGS=
Then after relaunching the webui-user.bat the error shouldn't appear again
unfortunately, the error did appear again. do you reccomend reinstalling everything and doing said instructions again?
If you installed the webui via git clone and the folder is called
stable-diffusion-webui then you dont need to reinstall.
Check the file size of the model you try to use.
It needs to be larger than 1.98gb
ok just tried to open the UI through said folder and was met with this
tried checking how big it is, was met with KB in the millions >_<
Why do you have two stable-diffusion-webui folders?
i just realized that 😭
Hopefully you didn't installed it twice
i deleted the other one
i might've misunderestood something, my brain is smooth but the second folder is gone now
Okay
If the model is smaller than 1.98gb its not a model(checkpoint)
So it doesn't go in the model/Stable-diffusion folder
Smaller stuff can be a lora file.
These go into models/lora
ok i see, i can try moving it into that folder then
ok so i dont think im understanding. the checkpoint i plan to use were given to me as checkpoints and work for others.. so if i were to move them into models/lora i wouldnt be able to use them as checkpoints ?
they are over the number you said they should be by the way, i just figured out how to check ^^;
Models are always larger than 1.98gb. These files go into models/stable-diffusion
Smaller files go in other folders depending what they are.
To use a lora you still need a base model
this is how big the models i plan to use are
As you had the webui twice you need to check the webui-user.bat again. Maybe you didn't made the changes there
That will work (is a model)
the necessary changes have been made to my webui-user.bat
Okay, then launch it again and show me the cmd output
the beginning or the whole prompt?
The whole thing
Can you show all the txt2img settings?
Prompt, steps, resolution etc
Oh wait
I know what you did wrong xD
oh shit
You added --no-half-vae instead of --no-half to the webui-user.bat
oh shi ok lets see
Changing that and it will work
My guide also covers that argument needed for gtx16xx gpus
ye i thought i did it right
change --no-half-vae to --no-half
ye i did, currently attempting to generate an image, just see the interrupt and skip button rn
Yea thats the beginning of the edit part, but a few steps below it covers the GTX 16 part
ok word my apologies! but, an image is currently visibly generating!! i think we did it :D thank you again for your kindness and patience, hopfully i wont have to bother you again anytime soon ^^;
No problem at all ^^ you shouldn't get any problems now with any files if they are in the right folders
Have fun 😁
Hello! Any kind soul have tips how to solve this? 🙂 "WARNING:tensorflow:From G:\a1111\stable-diffusion-webui\venv\Lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead."
@fair oxide what Torch are you using? Screenshot the bottom of A1111,like this:
but thats only a warning, should work the same
why I don’t have the pression to enter the room?is there anybody know?
python 3.11, nope not gonna happen
compatible pythons are 3.10.6 -> 3.10.13
hey guys I have a problem, im on 3060 with 12gb of vram. until a few days ago i was generating my pics really quickly, i was gone a for a few days and today when I wanna generate a picture its getting stuck at %97 and my whole pc is starting to freeze so i have to restart it. I even tried to use --medvram but its not making a difference, why is this happening all of a sudden for no reason?
What's in your webui-user.bat?
Also make sure to have 15-20gb free space on C
Hey everyone!
Got a little problem. Sampling methods are missing for some reason (screenshot 1). They aren't hidden (screenshot 2) but at the same time they are downloaded (screenshot 3, 4, 5, 6).
Any ideas?
I'm interested in dpm++ 2m karras sampler, but as you can see it's missing
Can someone help me?
Im trying to launch this but it cant seem to install torch and it says no module named pip
Delete the venv folder and relaunch The webui-user.bat
K Diffusion isnt a sampler. Its used for all the samplers that have the Karras in name.
Run the python installer again. Choose Modify, next, then check "add python to system variables"
Then delete the venv folder again
Also scroll up and down in the sampler list to see all samplers (first screenshot)
Okay, then uninstall python. Restart your PC, and then follow my install guide in the Pinned Messages of this Channel
In AFK for now
Good day, can someone help me with faceswaping videos with SD
i mean i have swaped a video in output folder already and i have around 2K photos face swaped in that folder but when i try to build it again in video, the video is getting 17minutes and the original video is smth like 30sec
can't fix that since yesterday
This didn't help (because it's actually all visible samplers)
I found the actual file with all samplers and it's totally fine, so I don't know what's the problem. Hope you can help somehow when you come back!
It happened again
i have 12.9gb empty space on my C drive
but a few days ago i wasnt getting any lags and I still had the same amount of empty space
Can someone help me out with this animation API problem — When using xl-1024-v0-9 for generating keyframes, all works well (despite being utterly slow), but when I switch over to xl-1024-v1-0, the first frames until diffusion_cadence_curve = "0:(5)" → in this case the 5th, are rendered correctly but then quickly start fading to gray, what looks like 100% noise.
Is your webui updated?
Okay logs good
But 12gb doesn't need --medvram
Make sure to not have wallpaper engine or epic games launcher running in the background
/ dream rabbit to eat radishes in the forest and then step on a big lizard under his feet in a realistic style
Do you use any antivirus software?
Yeah
@ornate elk Could it have something to do with the fact that Python installs in an area I cant see even though I can see its path when I go to the path section on my control panel?
Its mostly because of that. It blocks stuff when installing python
Windows defender is fine. But everything else could block
How do I manually turn off each anti virus software for a sec?
Which one do you use?
There should be a switch to toggle it off
Honestly I dont know
If you open CMD and type python --version do you get anything? Otherwise your PATH might not be set properly.
Any programm named Avira, avast, AVG, Norton, Bitdefender, Eset, 360security, kaspersky, panda
Open the app and disable it.
Then uninstall python.
Then install it again with "add python to path" checked.
Then delete the venv folder
Trying to find the disable thing on it, cant find it
Right-click the AVG icon in the System Tray. This is located in the lower-right corner of the desktop. If you do not see the icon, click the arrow button at the edge of the System Tray to expand the Tray and display all the icons. Click Temporarily disable AVG protection.
You will be asked for how long, and then just click OK
I believe I use the same thing as you, and it was very straight forward. There may be some tweaking needed depending on your hardware.
Ok so what do I do now?
You will notice when its done ^^ so you can just leave it alone
So when can I close the thing?
yeah I just wanted to add it to see if its gonna fix it
If I remember correctly after this is done, it will open the webUI, if it do you need to keep the terminal open as long as you run the webUI
also I only have them both working on the background, i'll turn it off and try it again and get back to you:)
@wraith bronze "RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'"
@ornate elk
You may need to add some parameters in your "webui-user.bat" filed in the webui. Try change set COMMANDLINE_ARGS= to set COMMANDLINE_ARGS= --no-half
whats your GPU?
Dont know...
press the windows key and write "dxdiag" and look under "display"
open up the taskmanager, go to Performance tab, check the GPU 1 and GPU 0
"save the tags you want to come up when you load the Lora there" can you further explain this?
@wraith bronze @ornate elk Is this it?
Under "display 1"
your in the wrong channel/server for complaining discord updates.
You need to be in the "Display 1" tab if you opened DXDiag you have a set of tabs at the top of the window
I dont even know what that means
Did you open DxDiag or the task manager?
Im about to check task manager
In DxDiag I assume you opened first the tabs are at the top, you click them
In task manager you have to go to "Preformance" and select the GPU
and it will say the name in the top right corner
In webui, there is a Lora tab to access the loras you have. When you navigate there and select one,it populates in your prompt. If you look close around those buttons, there's little widget that gives more info about the Lora when you hover over it
@wraith bronze @ornate elk
make the same screenshot as Kimchii
Do you have a GPU 1 as well?
okay
Oh, OK, I don't know if SD can run on a integrated gpu, but if it can you probably need to add the flag for low vram
@dry loom you have to edit the webui-user.bat
at the line set COMMANDLINE_ARGS=
you add: --skip-torch-cuda-test --use-cpu all --no-half --opt-sub-quad-attention
then save tand relaunch the webui-user.bat
only on AMD integrated like yours
and maybe irisXe
Tht looks correct
Now what am I missing....
I closed epic launcher and wallpaper engine, updated my gpu and restarted my pc, still got stuck at %97 and my pc froze...
you may need to add --precision full
Same thing happened
did you relaunched the whole cmd?
the webui-user.bat
can you show the cmd output as screenshot after you launched it?
I think it works now
any recommendations?
Check that you have read/write permission in the folder ^^
then you should use --no-half-vae
in the webui-user.bat
alrightt
hi 👋
im new here... maybe silly question... can I use sd1.5 trained Loras on an img to txt with base prompt of SDXL?
guessing not, but I thought I remembered success with it earlier on
I have no clue, but if you know what result you should get, try it? I haven't had any problem when I randomly download loras and just try them ^^
Same thing, its still freezing. I generated one without controlnet and it worked even tho it slightly lagged at %97. I generated another one while using controlnet and it got stuck again at %97. All extensions are updated
Yeah, I'm not getting the expected results. not even close. That's why I'm asking here, I thought you could but I may have remembered wrong, or had some other details wrong when I had used the lora earlier.
Check the repo for the controlnet you are using, if it is a compatibility issue, others probably asked about it as well.
so it only stcusk when using controlnet?
Repo?
repository, they probably have a page on github
It slightly lags at %97 without it. It crashes at %97 with control net so yes.
Okay ill check now
Just google the control nets name and add +github and if they have one it should pop up near the top
it crashes? you only said frezing before lol
Alright
thats a big difference, as kimchi said check that your using controlnet models made for SDXL
you can find them here:
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
Yeah thats what i meant my bad
Okay will check now
Does anybody know what causes this? Running automatic1111 (lshqqytiger fork, DirectML) and recently highres-fix is just completely broken half the time. I'm running on the latest commit (d500e58a6) with the following arguments:
--lowvram --opt-sub-quad-attention --upcast-sampling --opt-split-attention-v1 --data-dir 'D:\SD' --skip-torch-cuda-test --use-directml
The only thing that recently changed that I can think of is that I switched from lowvram back to medvram and then back, plus I recently deleted a ton of stuff from my temp folders.
This happens with every checkpoint I load. Sometimes it will do the first few images just fine and then it just breaks down again. Rebooting or restarting SD doesn't seem to help.
My specs:
- AMD RX 5700 XT
- AMD Ryzen 7 3700X
- 48GB RAM
- Running everything off a Samsung 850 EVO SSD, if that matters
The initial image is always perfect and doesn't have strange artifacts, it's the highres-fix that seems to implode
remove --skip-torch-cuda-test annd add --no-half-vae
also whats the resolution and sampler, etc
512x512, dpm++ 2M Karras
I've already tried changing resolutions and switching samplers but it seems to happen on everything
I'll try removing those two arguments, hold on
I'm having the same issue. I'm trying to Uninstall XL and replace it with SD1.5 so I can use these loras
you need to add --no-half-vae
and remove the --skip-torch-cuda-test
no that wont work
you dont need to "uninstall" sdxl, just switch to an 1.5 model
Alright, trying again with the same seeds and stuff
I use the latent upscaler by the way on 1.5, dunno if that matters
also whats the model and upscaler?
this model is beautifulRealistic_v60 but I've had it happen on practically every other model
try with Resrgan4x+ upscaler if that works
epicrealism, stock SD, dreamshaper, etc.
first picture came out correct, you might've already fixed it for me lol
I'll let the batch of 4 finish, see if it still acts weird
that's weird though, I don't remember adding or removing "skip torch cuda test"
--skip-torch-cuda-test makes it run on the cpu
only needed when someone dont have a gpu
as the directml webui updated to 1.7.0 everyone got the error to add that.
but instead you had to ad --use-directml
so thats probably why it was in there
ooohhhh
odd how it degraded with every image too, and only when upscaling
this seems to have fixed it, they're all coming out correct
thanks!
nice no problem 🙂
Yeah, I even have git pull in bat file
okay, whats in your webui-user.bat?
Testing out ComfyUI, are there similar boot argumets like when using A1111?
Can anyone tell me the maximum value for clip skip? As far as I can tell sd15 is 12, sd14 is possibly something less (?), but I have no clue what sd21 and SDXL might be.
no idea, but curious why you'd be asking. you generally want to set it to whatever the checkpoint was trained with, which is almost always (ie 99.9999%) 1 or 2
Adding functionality to a bot
Doesn't matter anyways, I looked at the API and it only accepts 1-12
Help
I can't run comfy ui
it was working fine, till now
I tried uninstalling then reinstalling pip, it sayas 2.1.2, but then in the gpu.bat it sayas 2.2.0
I treis searching online for hours
it's currently 3:38 AM
it happend at about 11:30P PM
I need help, urgently!
if I have to re-intall comfy ui, how do I keep all my checkpoits and custom nodes?
Hi, I have downloaded the model sdxlNijiSpecial but while trying to load, I am getting below error message. Any inputs would be great. Thanks.
when using thelastben's collab doc.
TypeError: check_deprecated_parameters() missing 1 required keyword-only argument: 'kwargs'
this is on step 6 "test the trained model"
im trying to load a new .safetensors model but im getting these errors does anyone know the fix?
model is monsterDiffusionSDXL_v10SDXL
Ah okay, your using the onnx version. Thats not compatible with all the samplers.
You can switch to normal directml by removing the --onnx
Then delete the venv folder.
Then add: --opt-sub-quad-attention --opt-split-attention-v1 --upcast-sampling --no-half-vae
To the --medvram --use-directml
Then launch the webui-user.bat
Is your webui updated? And the Extensions too?
The error is from controlnet and doesn't recognise sdxl it seems.
You can check the webui version when scrolling down in the browser
Is your webui updated? Check the version at the bottom in browser
You can just go to the original folder and copied it to the new installation.
is this the latest version? if not where do i download the newest one
No that's a very old version
oh dang lmao i guess thats why it wasnt working
To update it, edit the webui-user.bat.
There add
Git pull
Into an empty line before webui.bat
Then delete the venv folder.
Then open up a cmd and type
Pip cache purge
Then launch the webui-user.bat
yooo bet, ty i thought i would have had to download completely new one
Only if your webui folder has the name:
Stable-diffusion-webui-master
Or any name other than stable-diffusion-webui
aww man
this is good for the bat file right
Also what's your GPU?
Okay, then add --medvram --no-half behind the --xformers
yee thats what i meant
living in the middle of nowhere means L internet but its aight
yoooo nice
Sdxl models are large so they are slower than 1.5 models with GPUs with 6gb or less
it says 12Gb of gpu memory here so i should be good
Thats shared GPU memory.
Dedicated is the memory (vram) of your GPU
In that case 4
Tough to be an ai enjoyer with old gpu. 
Yea its not much. So I would recommend not using models that are larger than 6gb
hopefully they still work tho im aight with them being a bit slower
Luckily for you. there are tons of SD 1.5 base model to fit that need. You gonna be fine.
They still should work
i might check the specs on my laptop it might actually be better, it has an RTX 4050 im pretty sure
That one would have 6gb vram
ah ok so it would be a bit better
Yea it also has more cuda cores and better timings so it would be a lot better
aight bet im prob gonna use laptop for generating AI
it is laptop gpu vs pc gpu so idk if that makes a big difference
Yea Laptop GPUs are always less powerful, smaller, and have less vram than their counterpart in a PC. But this GPU would be still faster than your gtx1650
Also the laptop GPUs get hotter
hmm ok, hopefully it doesnt end up overheating
I think it doesn't. But you can check where it has the vents for air intake. Then place it so they aren't covered
aight bet sounds good, i'll copy my entire stable diffusion folder over to laptop sometime tomorrow once its done updating
That won't be a good idea. As the venv folder needs to be recreated anyway.
Moving the folder will cause the webui to not update anymore.
Yes
Best would be to follow my install guide. You find it in the Pinned Messages of this Channel.
aight sounds good, or could i just follow this again once its on laptop
Thats what I mean. Follow that on the laptop
To safe some download time you can copy your models folder over to the new models folder.
Before launching the webui-user.bat for the first time.
yee i have about 7 models so imma do that
Nothing works in the sandbox
Just shows Generating, but nothing works
I mean when using image to image generation prompts
That's not very helpful. You don't go to the mechanic and say "car does not work"
What software are you using ? What's your hardware ? What's the exact error / show logs ? @vestal turtle
Thank you!
Has anyone made use of the official script of SDXL and created something without ComfyUI and Automatic1111 on thier system or Collab with T4? If yes. Please dm. Need assistance in training on my dataset.
Hi, do you have any idea, why ComfyUI can't see the IPadapter model?
Solved, RunPod restart helped.
0it [00:00, ?it/s]
make buckets
min_bucket_reso and max_bucket_reso are ignored if bucket_no_upscale is set, because bucket reso is defined by image size automatically / bucket_no_upscaleが指定された場合は、bucketの解像度は画像サイズから自動計算されるため、min_bucket_resoとmax_bucket_resoは無視されま す
number of images (including repeats) / 各bucketの画像枚数(繰り返し回数を含む)
D:\programmeerstuff\stable\kohya_ss-master\venv\lib\site-packages\numpy\core\fromnumeric.py:3504: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
D:\programmeerstuff\stable\kohya_ss-master\venv\lib\site-packages\numpy\core\_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
mean ar error (without repeats): nan
No data found. Please verify arguments (train_data_dir must be the parent of folders with images) / 画像がありません。引数指定を確認してください(train_data_dirには画像があるフォルダではなく、画像があるフォルダの親フォルダを指定する必要があります)
I get this error when trying to train a lora using kohya even though there are images in the input folder can anyone help?
Could someone link it again, how do I use SDXL model together with SD 1.5 Lora in Comfy, pls? I think there was some guide to this earlier.
I think it was this one, have to test it today and see how it works, https://civitai.com/models/129283/snoodler-or-use-sd-loras-with-sdxl-models-or-workflow
Snoodler SDXL to SD LoRa Workflow About This is a simple workflow that helps you use SD 1.5 LoRa's with the new SDXL 1.0 models. Render your old SD...
Did you put train_data_dir as the parent folder? rather than train_data_dir/YourFolderWithTheImages?
Hello everyone. I have a personal archive of texture scan data. Each "scan" consists of an RGB image of the surface as well as a greyscale image that represents the height/depth of that same surface. To summarize, i have thousands of scans and I'd like to train a model to generate scans. I assume I could encode the height into the alpha channel of the RGB and use that as training data, but I'm not sure if the stable diffusion models will utilize it.
Is it possible to train a lora/safetensor/checkpoint on a 4-channel RGBA dataset and get inference to create a 4-channel texture?
how can I clear the nsfw content in CIVITAI? I can't find the filter setting
Its under account settings
ty found it
Hello,
I'm considering building equipment for Stable Diffusion. Many recommend RTX cards, but they are expensive. The machine will be a computer/server running 24/7, and I'll be executing commands remotely. I don't need very fast drawing creation, but for example, a resolution of 1920x1080 within 15 minutes for an image. What hardware should I choose for this? Which graphics card is suitable for this purpose?
hey, if your planning on making a Linux server, then go for AMD gpus with at least 12gb of vram. (best linux support)
If you want that to be your ai windows server then go for any Nvidia GPU with 8gb or more vram (best ai support)
hey, the server will be Debian. Currently, I do it using easy diffusion, but one small image takes 30 minutes. I wanted to build something at a low cost, a nice AI base. Is Nvidia Tesla C2050 enough for starters?
that card has only 3gb of vram, not good
vram is the most important part for ai stuff
NVIDIA GRID K1 is ok?
what graphics cards do you recommend? which ones have a good price-quality ratio?
should be newer than 2016
a rtx 3060 is a good price/vram gpu
Yea too old for the new ai stuff
Rtx 2060 is not ok?
its okay
I will check the prices, if there is a small difference from the 3060, I will buy the 3060. Does this card really have much higher performance than the 2060?
that shows the fastest gpus for Stable-Diffusion:
source: https://www.tomshardware.com/pc-components/gpus/stable-diffusion-benchmarks
i have trained a hypernetwork but i cant find where the trained pictures from hypernetwork are
Hello, I am using the auto111 webui, I am testing the new controlnet face-id_V2 control(model?), I am using the Lora alongside it as shows in the documentation for it. My question is, I get much better results using SD 1.5 than I do with SDXL. Like SDXL I get a version of the face but more... cursed... Is this an issue where I need to wait for improvements or is there something I might be missing?
hey, do you have an example of the cursed face image?
Sure, I grabbed an image of Angelina Jolie off google. (I was originally trying with my own face). The left is sdxl, the right is 1.5. I've tried multiple models. Both at CFG 5 and 40 steps with the faceid lora at around 0.6 weight
Was the sdxl used with a 1024x1024 resolution?
I tried 1024x10x24 as well as a 768x1024. Regardless of resolution, the face usually has some odd details, usually.
Hmm okay, I will try it too in a few minutes
Did you used 0.6 as lora strength?
That is recommended
I did, yes. I also tried it at 1, 0.5, etc
the latest controlnet update changed the way it handles the ip adapter, so i think thats the cause for this
oh great, im curious to know how you managed it, did you use the .bin file ?
guys can a lora-maker expert help me? i've trained a lora 3 times, modified the dataset several times, changed the number of steps, and i always get as a result someone who looks VAGUELY like the subject, it doesn't follow the likeness properly, and I'm just dumbfounded, idk what's going wrong.
Hello why i cant use rhe bots ?
bin and safetensor is needed, it works only with 2 controlnet units combined, here is how its going to work:
https://github.com/Mikubill/sd-webui-controlnet/discussions/2589
renaming the files is important
hey, its under maintenance: #1047610792226340935
Ooh thx
yes i followed that guide closely... here are two images of my settings
output happens to be this
which makes me think its not working
my A1111 keeps saying error connection errored out, i am using paperspace to run SD, does anyone know why this might be happening?
@ornate elk i wonder about this text clutter on console when i press the preview icon, something could be amiss but not sure, any suggestions?
yea that could be the cause it doesnt work
but havent seen this specific error
@fair oxide did you installed the C++ build tools or the standalone insightface wheel?
anyone who knows howt o do loras with kohya that can advice me? i ned help 😦
hmm, i didnt install any build tool, all i did was download the models rename that as specified and put them in model folders, only other thing that i did was to update the controlnet extension
yea then its missing the insightface model it seems, did you maybe used reactor extension or roop before?
nope, didnt use any of those
okay yea then your missing insightface
so i have to install insightface separately? or is that from extension tab?
ok thanks, im on it
make sure to only follow the auto1111 steps so use cmd, not venv/activate stuff, also not the steps for portable a1111
these are the steps i followed through ...
yea no need for venv/activate
just copy the file in the root folder
then pip install it
if you installed it with pip, launch the webui-user,bat and test instantID again
.
yes, trying an image now, think its starting to work with what i see., give me few seconds
with the source image
with the source
i think i can get better resemblance by turning off adetailer
btw @ornate elk were you able to make instant ID work with sd 1.5 models?
nope its only for sdxl rn
ahh ok. its interesting how you can generate the facial resemblance and close variations of a source image
yea, but for me ip-adapter-face-full still works the best
here is another variation
nice one
did you changed some controlnet end steps or weights?
no, kept that to default but yes i could change some values to make more variations
@ornate elk are you making use of these https://huggingface.co/h94/IP-Adapter-FaceID/tree/main
i tested these a few days ago and a few hours ago again xD
i couldn't get them all to work, i get some errors when attempting to generate image with face id models
they are nice if the input image is good
you can show it to me
can you give an example with screenshot of your settings?
there is one new error without description, ive seen today, (but it basicly means, face not found)
ok let me try and render one with face id
@ornate elk this is what im going for
wrong model
you need to download the .bin files and put them into the controlnet/models folder.
the .safetensor (lora) files go into models/lora
ive made the same mistake the first time
oh wow... i have to redo those files then, i got everything mixed up
i also made a cnet folder inside loras to quickly find them
@ornate elk so for an example ... i'll download ip-adapter-faceid_sd15.bin and put them in models/controlnet folder
and ip-adapter-faceid_sd15_lora.safetensors into models/LoRA folder?
those from this link https://huggingface.co/h94/IP-Adapter-FaceID/tree/main
exactly
great. let me fix those and try one image
I can't get any xl model to run they all freeze or crash when I load them and if they are loaded they crash auto1111 when generating.
Any idea how to get this fixed?
Hey, what's your GPU and what's inside your webui-user.bat?
GeForce RTX 3060 Lite
just the standard webui-user.bat that ships with auto1111
I have not made any changes
also I'm on linux so I use the .sh
How much vram does it have?
12gb
Okay then you need to edit the webui-user.sh,
uncomment the line #set COMMANDLINE_ARGS
There add --xformers --no-half-vae
Then save and relaunch the webui.sh
like this: export COMMANDLINE_ARGS="--xformers --no-half-vae"
Yes
it worked once and now it crashes when generating
so I've tested it and it's basically the same as it was before the change
still slows down and then crashes while generating
What's the error you get?
What's the resolution too?
no error 1024x1024
What does the cmd shows?
it happens with any rez tho
Does the terminal crashes? Or any error in there?
the only thing of notice is: WARNING:sgm.modules.attention:Attention mode 'softmax-xformers' is not available. Falling back to native attention. This is not a problem in Pytorch >= 2.0. FYI, you are running with PyTorch version 2.1.1+cu121.
but I read that I can just ignore this
Do you use the development branch of auto1111?
it just shows```
Model loaded in 46.8s (load weights from disk: 8.0s, create model: 0.8s, apply weights to model: 36.8s, apply half(): 0.1s, move model to device: 0.1s, load textual inversion embeddings: 0.6s, calculate empty prompt: 0.3s).
0%| | 0/20 [00:00<?, ?it/s]Killed
just the standard version from: https://github.com/AUTOMATIC1111/stable-diffusion-webui
Hmm okay
I've updated it many times I've had this issue ever since xl models came out
guess I'll just wait for the next model
But 1.5 works normaly?
yea
What you can do is to use --opt-sdp-attention instead of --xformers
yea no change
how do I check which version it is?
In the browser at the bottom
1.6.1
Okay not the latest but this version still supports sdxl too
You can try update the webui via git pull and then delete the venv folder before launching the webui.sh
That will make sure you have clean venv
I need help with Oobabooga in case anyone is using it here
So whenever I wanna load a model the webui just crashes silently:
Though it does seem to use bitsandbytes for cu118 which it shouldnt
it should use cu121
it also didn't ask me what cuda version to use
despite doing it everytime usually
its version 1.7.0 of the webui
im using a 4060 Ti with 16gb
it also had the same issue with cuda toolkit 11.8
except there it asked me if i wanted to use cuda 11.8 or 12.1
@ornate elk I don't like to git pull to often tho as that pretty much always messed up auto1111 completely. I had to wait many month once until I got a working auto1111 version again
I always land in py package dependency hell when I git pull after I got it working
same, but i guess that is with most repos
I never had issues with that in other languages tho only py is wired like that
。
AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
using thelastben fast dreambooth collab doc
none of these collab docs i can find work out of the box, every one of them has some sort of error for me... i purchased the 10$ pro and im using the best hardware available to me as well
not sure what u mean, I don't have a folder named train_data_dir, this is my folder structure, I followed a tutorial and this is how tthey did it
I fixed it by putting the images in the 7_ folder
but now I get this error
I treid reinstalling xformers but that didn;t fix it
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 not sured whats going on i did everything it said and its still not working keeps doing that mid gen, i have a 4060ti so it shouldn't be vram
Hi there I'm trying to get Stable Diffusion working on my alienware computer with an RX 560 AMD GPU. Initially I was following the corridor crew tutorial but after a number of error messages and finally sorting them and being able to open the URL and not generate anything I realized that I would have to start again with AMD in mind.
I found this video from AMD (https://www.youtube.com/watch?v=kw0WT5sDBIY) and tried to do this via Miniconda, Github and an updated Adrenalin Driver but at the end of the day I still get the same error message as before which is: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this.
The issue is I did this in the past attempt from the corridor crew tutorial and doing it meant I couldn't generate anything. Was really hoping going this AMD route would let me get the GPU working. Secondary problem is I couldn't for the life of me figure out how to change the base file location in miniconda. It says it's the base where drive I installed it when I envs_dirs but the base it reads there defaults to my C: drive which doesn't have a ton of extra space. Tried everying in PATH environment variables and nothing worked.
Anyway I have spent days on this at this point so if anyone can help I'd really appreciate it. Thanks.
Did you know you can enable Stable Diffusion with Microsoft Olive under Automatic1111 to get a significant speedup via Microsoft DirectML on Windows? Microsoft and AMD have been working together to optimize the Olive path on AMD hardware, accelerated via the Microsoft DirectML platform API and the AMD User Mode Driver’s ML (Machine Learning) sof...
Hey, what's in your webui-user.bat?
i just have --xformers now
Hey, AMD GPUs can work on Windows with the auto1111 directml fork.
Amd uses this too but in combination with onnx.
The best you should do is to remove everything youve done.
And then checkout my install guide for AMD.
Its in the Pinned Messages of this Channel.
Okay, then what's the file size of the model you try?
you can also add --no-half-vae
But first check the file size of the model
Socamerge AniMix XL 6.62gb
i just stopped using stability matrix and installed webui by itself
yes 1.70
python 3.10.6
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it. is that bad?
Okay, make sure you unticked the upcast float32 button in settings
Yes
oh
well i feel like a dumbass
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers
call webui.bat
should that have more in it
ah installing xformers now cool
Add --no-half-vae --update-check
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers --no-half-vae --update-check
call webui.bat
yay working again
ty muchly
Nice no problem 🙂
Should be much faster now too
On stab matrix it was slightly faster at the 50% mark but was getting endless loading checkpoints and broken lora loading
but i am happy to be generating again
ty
If you use hires fix make sure to always set hires steps to 10-15 and not using 0
That will make it much faster when hires fix is used
ah am using 25 will decrease
Yea thats the issue then. You normaly dont need that much and thats why it takes so long
can't type today keep making spooling mistooks and grameer eroors
Can somebody help me with this, I cloned the control lora folder from huggingface but the models are missing
You have to download then manually or use wget command for each file
No worries, I used the manager for Comfy and got all of them
Does this error while training a lora mean anything? Training continues as normal after it pops up. it comes up after the first sample is generated.
I don't think you need to uninstall anything... just use a 1.5 checkpoint model
oh I see @ornate elk already said this... sorry
have you tried updating that .py file?
I have no idea how to do that or what I would update it to. I don't know anything about coding and I'm fairly new to this.
I havnt seen that error before... but the error does say that the value in that file should be 0. You might try changing it... its not too hard, if you navigate to that files location it says... c:\Users\cassi\kohya_ss\venv\lib\site-packages\diffusers\piplines\stable_diffusion\pipeline_stable_diffusion.py and edit it with notepad...
just change that steps offset number from 0 to 1... save it, then reopen it and check?
I mean... reopen kohya_ss
hmmm. well according to that file, it IS set to 1. So I'm not sure why it's telling me it's 0.
that is wierd... sorry idk. If it was me I'd probably just delete kohya and reinstall it 🤷♂️
thanks, I will be.
Does anyone know how to make this go above 1GB
ive tried setting the flags in Fooocus to always high vram which worked, but still only at 1gb
figured it out
I'm again struggling with InPainting + Lora (in A1111). Results are quite random, and with luck I get a seed seed that works but most of the time it does not. Literally pretty much hit and miss situtaion.
I've tried tens and tens of combinations of CFG, Denoising, Sampling Steps, Masked padding and having masked content in both fill and original . Feeling totally lost ugh, lol.
Not sure anymore if it's the settings, A1111 or if things actually are so randon. Now doing an XYZ plot (again) testing different values and combination WITH fixed seed.
Next stop giving up lol.
XYZ plot gave me something. Still need to keep on testing how much everything and anything is affecting to everything. Position of the planets need to be taken with the equation too.
How?
Go to \Fooocus\backend\headless\fcbh\model_management.py
change mem_total = 1024 * 1024 * 1024 to mem_total = X * 1024 * 1024
replace X with VRAM quantity in MB
should be just after line 96
Nice thanks!
np
if you want to use Auto1111 with directml for AMD, then checkout my install Guide in the Pinned Messages of this Channel,
it has much more features than foocus
what makes it different?
Fooocus is the first "AI" tool ive utilized
still no ROCm for my stupid XTX lol
hi @ornate elk i had a little net issue yesterday and couldn't stay online longer to ask few more quesitons about face id, but about the things you said about putting bin files in controlnet/models folder and lora files in models/lora folders, you'd then have to include loras like ip-adapter-faceid_sd15_lora into the positive prompt?
Everything, Auto1111 was the first webui and still has the best support for any models and community extensions that are not available on Foocus.
Comfyui is also nice but for the more experienced users.
Foocus only can use SDXL models. these are very large and slower on directml rn, and Foocus doesnt support community extensions afaik.
you have much more freedom in auto1111.
foocus is for people who search a "Midjourney like experience"
i have the 7900xtx too ^^, on linux it would be much faster, but for me it works good in Auto1111 to
no i mean plugins with more features, like upscaling, video animation stuff, UI enhancements, etc
Loras work in auto1111 too
ill check it out
controlnet for example is an essential extension
what separates Comfyui from Auto1111?