#🤝|tech-support
1 messages · Page 104 of 1
aw.. i got new problem.. again and again.. sorry
I'll give it a try again tho
roop is deprecated and wont work. you have to delete the roop extension and the venv folder again.
Then you can install the Reactor Extension for Faceswap
also check the folder permissions of your stable-diffusion-webui folder and maybe give yourself "all" permisions in the properties/security tab
Thanks! It works, any reason as to why it has to be 768x768 and not something like 800x800 or 512x512
Pony is sdxl based and bot hare trained on 1024x1024
but 768x768 can work too mostly. 800x800 can work too, you have to try how far you can go
Oh alright thanks a ton!
also you can try enable FP8 mode for SDXL in the settings
that should reduce vram usage
okk.. like. all of this.. must chek the full control?
just check allow for all of those
click on Users
then checkmark all "Allow"
then click on your username and do the same
ow ok.. actually the user is already checkmark all.. but my username is not yet.. let me chekit wait...
How do I enable FP8 mode? Where do I go in settings?
in the settings search for FP8 on the top left
then enable it for sdxl and click apply
it loads sdxl and pony in fp8 mode which reduced vram usage and can improve the speed
Oh alright thanks!
gave me an error
oh alright, still thanks for the help!!
np, what was your gpu again?
Radeon 480
I need to upgrade it soon. Any advice on gpus?
depends on your budget and what you want to do with it (gaming, ai, rendering) etc
but the gpu should have much VRAM
Like something which will let me render a huge image
And probably do some gaming on the side
the more vram the better. more vram gets you done larger images or faster upscaling
Alright, thanks I'll look into a gpu with a ton of vram then
yea i would go for 12gb vram as minimum
8gb will work too but 8gb is not future proof
Nvidia currently is more compatible with AI stuff but also more expensive than AMD.
low budget would be a 3060 12gb
mid range: 4060ti 16gb
high end: 4070ti 16gb, 4080 16gb or 4090 24gb
if you like linux or your fine with zluda then for AMD:
low budget: 6750xt
mid range: 7800xt 16gb, 7900gre 16gb
high end: 7900xt 20gb, 7900xtx 24gb
So anything 24gb is overkill right?
24gb is overkill for the normal users that just want to generate some nice images
24gb is needed if you want to run crazy workflows or video generation etc but also very large models like FLUX
but FLUX got more optimised by the community so it runs also on 12gb vram
Oh alright got it, so for me it would prob be something with 16gb. Thanks I'll prob look into the 4070ti then
Thank you so much!
got this error
yea the 4070ti is a beast for ai and gaming for its nvidia "lower" price tag
seems like a connection error
make sure you have python 3.10.11 64bit installed
so i need use vpn or smt?.. wait let me check the python
first try update your python version
using forge ui but right after start the cmd closes no matter what
i ran it only one time
delete the venv folder and relaunch
okk.. am sorry can i ask sir.. actually what happend with this situasion?.. because its never been happen before i reset the windows
python ssl verify error, could be caused by an antivirus programm (not windows defender), or by a regionblock of a government or ISP (like in asia or russia) or by the wrong computer time and date
if your from asia you can try change your DNS setting in the PC or try using a VPN
okay now i think this makes sense.. after i reset the windows.. time and date is broken.. so i can't use the automaticly time and date.. because its not work & never change.. even i select region right way its not working.. so i need to set it manually... and of i change the dns to warp.. and then after that.. i install automatic 1111 and of course lot of error come out.. its about 1-2 days i can't fix that lot of error.. so i reset the windows twice.. and still same the first problem is date and microsoft things.. and still give me the erors things rn..
You should change the NTP server
That can fix time and date errors
And change your DNS to 8.8.8.8 for Google or 1.1.1.1 cloudflare
RuntimeError: CUDA out of memory. Tried to allocate 20 MiB (GPU X; X GiB total capacity;...
i use low ram mode .
What's your GPU ?
yea i use cloudflare dns..
i try run ipadapter
it seems that now more memory is occupied than before, as if there were some bindings left
ok then try change the ntp server and reboot and then enable set date time automatically
after getting an out of memroy error you should relaunc the webui-user.bat
make sure to enable the lowvram checkbox at controlnet
i try this and res 256 256
it help me if i buy more memory?
i dont know what is ntp server.. it safe to change? https://www.youtube.com/watch?v=NUJaMvbtmsM is this tutorial is work?
how to configure ntp server in windows 10, windows 10 ntp server, windows ntp server,How to make ntp server in windows 10, configure ntp on windows 11, windows ntp server, how to make ntp server, how to make ntp server in windows 10,Nu's ICT LAB,how to make ntp server in windows 10,ntp server,Setup Offline NTP Server,how to setup ntp server usi...
not its vram thats to less
try this: its much easier
https://www.windowscentral.com/how-manage-time-servers-windows-10
and set the time servet to your local country ntp
you can search it here: https://www.ntppool.org/en/
ok let me try..
this is not wrong right?.. idk why am scared sir haha
nope, not the example server, click on the link again i updated it
to a better site, that explains it more
and then you need to find your country here and look for the ntp server.
or tell me xD
then i can search you the right ntp server
for example here you see different ntp servers:
you just need to find the one for your country and add it here:
like this?
exactly 👍
then click on update now
and it should snychronize the time
you can also try restart the PC
thanks.. so i need do this too?
nope
ok thanks let me reset then..
Quick question for everybody, I remember on automatic111 you could install an extension that would show an image wall of your checkpoints and loras, and then you could auto assign preview images to each checkpoint and lora. I'm using Forge now, and it has the "wall" for checkpoints, but I can't figure out how to give them preview images. Does anyone know how? Thanks
im back.. is this ok if i not sync it?? is actually same with the time but nit exactly same..
idk what time it is at your location
verify with a smartphone clock
if not disable and re-enable the two buttons
hover over, and click on the icon on the top right.
if you then click "Replace preview" it will use the last generated image
ah.. now it same
let me check the au1111
excuse me... I'm trying to use move_blk but the source is not an array, any workarounds?
still same.. maybe i need to chane to google dns
still same.. maybe i uninstall malwarebytes now
Hi. I purchased 1000 credits for the API 10 minutes ago but I still get the error 'You lack sufficient credits to make this request. Please purchase more credits at https://platform.stability.ai/account/credits and try again.'
Is there something to do ? Should I wait longer?
lol @ me wrong place
still not working.. ow maybe i need add --lowvram wait
now its stuck...
whats your gpu? you dont need --lowvram mostly
yea actually dont need it but just idk the problem still not solve it
intel core i5 10300h, rtx 2060 max q 6gb vram, ram 16gb
6gb vram needs --medvram not --lowvram
and --xformers
dayum thats work man.. thank you very much master.. can i ask again What do you think that could happen because?.. i mean idont use medvram command and i dont have any issue with automatic1111 before reset.. but after i reset.. just boom.. i got tnt of error..even i update the gpudriver etc.. still like that.. dayum
You could try reinstall Auto1111
i do about 4-5 times maybe and i reset windows twice and reinstall again still not working.. that why iam here.. i need fixed from u master lol
Do you still get the SSL error?
What's the new error then
nah iam just ask.. like what happend..
sorry if my english bad
but thanks for now it works
Oh you mean why it happened
Are you on windows 10 or 11 ?
windows 10 home
Hmm okay, should work normal
Good that it works now 🙂
ssl error when download something?
Hi, I am trying to use the WebUI with the Modern UI extension, but when I enable this extension, or any, then apply changes the extension is not used, and is still disabled
I'm a newbie and I can't figure out how to get Loras to work. I am running Flux locally with the WebUI Forge. I downloaded a lora.safetensors file from huggingface for the Lora I want to use, put it in Models/Lora and restarted WebUI Forge. With or without the trigger words, I get the same style. Removing the Lora file and restarting and re-prompting, I get the same image style. So, the Lora doesn't seem to have any effect when it's installed and I use the trigger words. What am I doing wrong?
I could only install an older xfromers version with an older torch 2.0.1 and it gave me -10% inference speed so I gave up on the xformers
My Card works everywhere any I know 100% postal code is correct , why is it complaining on for stability AI
I tried 2 different addresses and still same issue
This channel is community maintained and about technical problems with local installs of SD and derivatives.
For problems with official SD websites you want to ask them directly through their support portal https://stabilityplatform.freshdesk.com/support/home.
Ah, I see Flux doesn't support openpose yet.
Help it keeps crashing when it's just about to finish an image
I was only able to make one image

@ornate elk
Is forge good
People that use it seem to like it
Personally, i prefer comfy
what's going on
whats the cmd error log?
@ornate elk @vocal burrow bro why does the extension connect fail over and over again? i can open github sucessfully, but sd can't access the github server. can you help me T_T
No my lap goes to restart
Is that bad
I'm using lowvram and everything
Is comfy or forge good
I don't understand what's the difference and stuff
they are interfaces that you use in order to generate with the model. I prefer the way comfy works. what you should probably do is watch some tutorials for each of them on youtube to get a feel for how they look and what you do with them
Hey, can anyone help me with motion lora? Its not working when trying to execute the prompt
any errors in the console log?
yup. where can i post them?
right here
So whenever i want to pan zoom or else it says this:
File "F:\Main\AI\Automatik1111\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 321, in load_networks net = load_network(name, network_on_disk)
File "F:\Main\AI\Automatik1111\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 254, in load_network
raise AssertionError(f"Could not find a module type (out of {', '.join([x.class.name for x in module_types])}) that would accept those keys: {', '.join(weights.w)}")
So it just skips it and everything else works fine
you should probably take that error back to the developer and see if they've fixed that
Well i just followed instructions on stable-diffusion-art so normaly it should work i guess? Maybe reinstalling sd would help? i dont know
anyone here with experience making comfyui nodes? I have a question regarding how it works with python
Try change your DNS
What's your GPU?
Motion lora only works with AnimateDiff model 1.2
Where do i see the current version or how do i get exactly this one?
So it is animating the video just not the zoom or else
I did see comfy is more resource taking right
Maybe
Also have a built in 2gb GPU so it says combined 4gb
Is forge better for lower end
You really dont want to use an integrated gpu unless you have no issues waiting for hours for imafes to finiah
Online is better, just rent some gpus
At this point I wouldn't mind waiting hours but it just crashes
How do I do that
Also can you teach me what's 1.5, sd3 sdxl and stuff
What's it mean
That is not supported by stable diffusion sry
Have you used --lowvram ?
Yeah
And a 1.5 2gb model?
I think it is
That's what I was gonna try next search alot of 1.5
Is there anything I can do on the webui maybe
yo i have linux mint 22 and 1.10 webui when i try to launch it i get
"Traceback (most recent call last):
File "/home/me/stable-diffusion-webui-1.10.0/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/home/me/stable-diffusion-webui-1.10.0/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/home/me/stable-diffusion-webui-1.10.0/stable-diffusion-webui/modules/launch_utils.py", line 381, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/home/me/stable-diffusion-webui-1.10.0/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/home/me/stable-diffusion-webui-1.10.0/stable-diffusion-webui/venv/bin/python" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 1"
any fix?
Nope
The GPU is just to old
So what else can I try
You could use the very slow CPU mode
I added RAM..but it shows mt3600 at the bottom instead of 3600 hz?
What's the problem?
Ok please tell me how
In the webui-user.bat you have to add --use-cpu all --skip-torch-cuda-test --no-half --opt-sub-quad-attention --precision full
Then save and relaunch
Yes its animating the video normaly
What motion module do you use?
mm_sd_v15_v2.ckpt and the v2_lora's
That should work
Those are different models. You can think of them as different books on a bookshelf
I will just reinstall it later. But thanks for the help :)
unstable internet connection
What is the difference between mt/s vs hz/s
I have two hz pieces
I bought two pieces and found them to be mt
Should I return them or is it not a problem?
I hope someone can answer me?
hey, I have a problem, when I enter the prompt, a gray square is constantly generated regardless of the model I use
Sketch style isnt a model. Move Ir to models/Controlnet
I don't see this folder
You then need the Controlnet extension first
Or wait
It could be a Lora
Check the description of the file where you got it from
If its a lora it goes into models/lora
and what next? I moved it to Lora, ran it and I don't see a style to choose
You have to use the lora
Select it at the lora tab in txt2img
I need to talk with someone who really understands LoRA training
I've tried everything. Low learning rate, high learning rate, big model, small model, large batch size, small batch size, small dataset, big dataset, automated captions, hand-written captions, no captions,
Everything I can think of. I've attempted at least 100 times to train this LoRA for style, and nothing works
I need help -_-
Why, after updating to the latest version of Forge, does it take so long to generate an image.
This took 4 min. 47.6 sec.
getting this error now? any ideas?
i think ccleaner issue after deleting duplicate files is the issue but not sure]
I'm a newbie and I can't figure out how to get Loras to work. I am running Flux locally with the WebUI Forge. I downloaded a lora.safetensors file from huggingface for the Lora I want to use, put it in Models/Lora and restarted WebUI Forge. With or without the trigger words, I get the same style (which is not what I expect from the Lora). Removing the Lora file and restarting and re-prompting, I get the same image style. So, the Lora doesn't seem to have any effect when it's installed and I use the trigger words. What am I doing wrong?
maybe due to the wrong version torch consumes more vram?
before i can generate with ip adapter without problem now i have out of memory
hey, fresh install of windows here. im trying to get the zluda stuff to work, but comfyUI crashes after like 20 sec of trying to generate an image, and the regular 111ui wont even launch.
Hey, let's first try to get Auto1111 working then the others will work too
well, auto111 works less than comfy haha
comfy atleast launches and lets me start image gen
@meager carbon Yep but still Auto1111 needs to work for easier troubleshooting
What's your GPU again, the 7900xtx ?
Rocm HIP SDK 6.1 installed ?
How does your environment path settings look like?
Python 3.10.11 64bit installed too?
Radeon TM Graphics disabled in the device manager?
For auto1111 try delete the venv and .zluda folder and relaunch and show me your webui-user.bat
Adrenalin 24.9.1 installed and PC rebooted?
Sometimes when i generate on forge with sdxl, it just stops at cleanup minimal inference memory and then just slows my entire pc to a crawl with 100% constant gpu usage.
I notice it specifically only happens when using nkmd and esrgan upscalers
Did anyone get hold of you for this?
I also am in dire need of help about LoRA, if there is two kind souls (or one really kind soul) out there
Its not a problem.
Ping me when youre back online
is it possible to run forge webui server in linux
yes
how can i connect because its not available on port
i mean how can i share
it says share=true in load()
but where is load
i figured out i guess
its --share
you have to set the --share --gradio-auth username:password in the webui-user.sh command line arguments
thx
there is a line in there for command line arguments, make sure to uncomment it
is there a list for command line args
in any file
found it
maybe due to the wrong version torch consumes more vram?
before i can generate with ip adapter without problem now i have out of memory
Ping
hi. can you tell me what it is you were needing help with, please
Ah thx for replying m8, i appreciate it.
I guess i will give that a try too then.
thx again for the reply!
Well, truth be told, I don't know. All I can say is that I've done the work of trying every combination of hyperparameters I can think of, as well as a number of different configurations of dataset, and I can't get the LoRA to look anything like the style I want to replicate or even halfway decent at all
I've got some kind of misunderstanding of the basics, would be my guess
okay, let's start with, what is it you're trying to train a lora to do
🙂
I want to replicate a specific artist's style. Not for profit or anything like that mind you, just for personal use because I love their style
so you are training what is called a style lora. to start with, how many images of their specific style do you have in your dataset?
I've been able to gather over 700 images
okay. i'd like you to carefully read through this https://huggingface.co/blog/alvdansen/training-lora-m3lt
Though I know I probably don't need that many. I've tried with as few as 100 and as many as all 700. I also once tried taking my 100 and artificially expanding the dataset using crops and rotations
i'd probably go up to around 1000 if i was doing it. but go read through that article
So, I've got a few general questions
First - what is the ideal dataset for training a style? How large, and what would it contain?
Second - captions. I've tried hand-written captions, automated tagging, and no captions. None seem to make any difference.
there is no such thing as an ideal dataset - for anything. except - the more information you can feed the AI, the better. however, you have to modify that by what weights are you trying to update
Stable Diffusion 1.5, btw
you are writing an errata sheet, and updating the information the base model has with new information when you use a LoRA - rather than retraining the entire model
doesn't matter which one, the reason is the same
retraining a base model just to add some new information is extremely expensive. you train a lora, and use that with the model to update the information on the fly, while generating
That I do understand
you have to tell the AI what things specifically are. your captions should be 1: what is in the image and 2: terms you intend to use in the prompt. if you give it a hundred pictures of red shoes, you lable them all 'cow' and then you use the lora and prompt for "a cow eating grass" - it's going to try to draw red shoes in a field eating grass. but because it has seen so many real cows, it'll mix those in too
That I also understand
for a style, you want it to be very specific. if you scan all the pages in a coloring book that hasn't been colored, put them in a data training set, use labels like "black and white line drawing of a cow" "black and white line drawing of a fish" and so on - and give it a UNIQUE keyword - then when you use the lora, and you use the keyword in your prompt, and you say something like "a landscape with a barn in winter" - that keyword will trigger the AI to use the lora, and it'll then draw you a black and white line drawing of a barn in winter-ish. but if you also prompt for a black and white line drawing - it'll use the information in your lora as well as any information it learned previously about black and white line drawings to create your image.
you want to consider what it already knows, and what weights you need to update
Why is this happening. keeps crashing at 97%
I have 3060 12 gib vram
does anyone here have experience with the SD API? i'm making a discord bot for my server that'll let members generate images via my local install of forge. Everything is working great and the bot properly outputs images in the discord chat.
I am having an issue with vram managment though. i want the model to immediately unload from my vram after generating to save my system resources when not being actively used.
this is my current code for handling the unload: unload_response = requests.post("http://127.0.0.1:7861/sdapi/v1/unload-checkpoint") which appears to be the correct endpoint for SD's API but it doesn't work. any help is greatly appreciated 🙏
hello, im wondering how i can install a model on the stable diffusion web ui? I cannot find any guides online. I read something about environments but idk how to access it, and im meant to type a command into it to download something
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
anyone know how to fix trying to use openpose but when try to preview
Hey, if you have a webui installed you just need to download some models (files that are 2-6gb)
And then put them into the models/stable-diffusion folder.
You can find models on Civitai.com
o thank you! how about this step then? i got this on a site called huggingface
Network error. Could be caused by antivirus Programm (not defender), ISP or gov blocking, or wrong PC time and date
Not needed at all, thats stuff for devs
oh ok thanks so muchh
dont have antivirus
gov blocking??
so i can do nothing?
You can change your DNS or use a VPN
That should work or 1.1.1.1 cloudflare
ok i will try
need change ipv6 too?
or only ipv4
Only 4
You can open up a CMD and run
Ipconfig /flushdns
Ok
If you still get the error share the whole cmd log please
Ok
Hmm strange
maybe the model?
Oh yes, try an other model
The bottom one from here:
https://huggingface.co/lllyasviel/sd_control_collection/tree/main
That should work for sdxl and pony
alright
What's your forge version?
what am i meant to do with all of these files? just drop them in the models folder?
wake up luffy need you🫠
You only need the .safetensor
Can't help much with forge
😭
It uses different controlnet Settings
So, TL;DR, I'm using SD to create a big dataset of images in a style I've engineered from multiple LoRA and a specific set of keywords
What is "the ideal" dataset, in theory, such that I can train a LoRA on this style for another (more flexible) model?
anyone had this bug when trying to use animateDiff
@ornate elk I currently can run Pony, but the flux models always hit this error:
Error named symbol not found at line 90 in file D:\a\bitsandbytes\bitsandbytes\csrc\ops.cu
im losing my mind i dont understand why this shit so hard
now i got it to work
Total VRAM 1024 MB is says why is that?
also its not using my gpu for somereason only my cpu
crashes at 75 percent always
Reconnecting then crashes
goes to here
if you run swarm, rather than what you're trying to do, it might be a lot eaiser
cause you have an AMD cpu at a guess, and AMD loves to take over and do the GPU's job
i got an intel cpu
and how do you run swarm?
that's a question better asked in the #🐝|swarm-ui channel
How do I convert text into an image?
AMD doesn't work with the flux nf4 models.
You have to use the gguf models
Ah well that explains a lot
hello, does anyone know why face restore delivers greyed out faces like these?
Using ComfyUI
Can you share me the workflow?
Why do I get this every time I try to apply a preprocessor? except Canny
@ornate elk it seems like if I load LORAs I get this error
Exception Code: 0xC0000005
not sure if it means anything but it somewhat annoyingly lack examples and precedents out there for me to try and diagnose myself
How to use ssl?
reverse proxy on https server is working but sometimes buggy and i have troubles redirecting connections from outside my local network directly to the api (a webui i made in php/java is able to connect using the proxy from the web only if both servers are on the same machine).
Accessing the api using my ui on other servers is giving issues (ssl, cors and proxy revelant)
Enabling ssl on the SD server will remove all these issues.
Can i set comfyui so it check and do the update every time i run it?
Which lora?
Is there no way to run scripts from the extras tab? I use ABG (background remover), but when I use the extras tab, it re-adds background color to the scaled image
I am getting this error while installing stable diffusion on amd OSError: [WinError 126] The specified module could not be found. Error loading "D:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies
no delete venv folder
It also is not using zluda which i have downloaded
it uses the zluda which it downloaded on its own
how do i make it to use the zluda that i downloaded
no idea bro
dang alr thx brother
gpt??
The error you're encountering is related to missing or incompatible dependencies for AMD GPUs when installing Stable Diffusion. Specifically, the error points to the failure in loading fbgemm.dll, which is a library used in PyTorch for optimized matrix operations on CPUs, and it might not be compatible with AMD setups.
Here are some steps to troubleshoot and resolve this issue:
- Ensure Proper PyTorch Version for AMD
Make sure you are using the correct version of PyTorch for AMD GPUs, as not all PyTorch builds support AMD. AMD GPUs typically require ROCm (Radeon Open Compute) for PyTorch.
Follow these steps:
Uninstall the current PyTorch version:
bash
Copy code
pip uninstall torch torchvision torchaudio
Install the ROCm-supported version of PyTorch (for AMD):
bash
Copy code
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.2
2. Check Missing DLLs
The error could be due to missing dependencies (DLLs). Use a tool like Dependency Walker to check if fbgemm.dll or its dependencies are missing. Here’s how to do it:
Download Dependency Walker and open fbgemm.dll with it.
See if there are any missing DLLs, particularly related to Windows system files or AMD drivers.
If there are missing system files, you might need to update your system or install missing Visual C++ Redistributables.
3. Update Visual C++ Redistributables
Install or update the Visual C++ Redistributable packages, which are required by many DLLs.
Download the latest version here and install both x86 and x64 versions.
4. Check GPU Drivers
Make sure your AMD GPU drivers are up to date.
You can download the latest drivers from the AMD official website.
5. Use DirectML for AMD GPUs
DirectML is a machine learning backend for DirectX, supported by Windows, which can help run PyTorch models on AMD GPUs.
To use PyTorch with DirectML, you can install it as follows:
bash
Copy code
pip install torch-directml
You may also need to modify your Stable Diffusion setup to use DirectML instead of standard CUDA or ROCm.
6. Reinstall PyTorch with Dependencies
If nothing works, you can try reinstalling the entire PyTorch setup with the correct dependencies:
Remove the existing venv (virtual environment) and recreate it:
bash
Copy code
rm -rf venv
python -m venv venv
Then activate the virtual environment and install PyTorch:
bash
Copy code
venv\Scripts\activate
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.2
7. Modify Environment Variables (if needed)
Sometimes, missing dependencies are due to incorrect environment variable paths.
Make sure that the PATH environment variable includes paths to the torch and venv directories.
chat gpt, AI bruh
oh
pro tip, post your command prompt log thingy and your syetem specs, helps people fully see whats heppening
when i start install.py-ModuleNotFoundError: No module named 'launch'
when i try install launch-launch 0.1.3 depends on flowdas-meta<1.1 and >=1.0.1
just for the record, those people to see the specs are not me 😅
I got stable diffusion to work just a month ago using the same process
but now it shows this error bruh
Same error again: after deleting the venv folder and reinstalling it
the problem with going with this is that the problem is way less of a fix
have you gone through all of the AMD guides pinned at the top of this channel?
i would wait for @ornate elk or @vocal burrow
No what im trying to tell is
i downloaded stable diffusion using the same process a month ago
and it worked
but now it doesnt??
is visual c++ 2015 needed to run stable diffusion??
when you deleted it, are you sure you removed everything correctly?
my command args changed
my command args are --use-zluda thats it
not stable itself. which interface are you running it in?
suggest you get rid of that, install swarm instead, and run stable in comfyUI through swarm
no the thing is it works the smoothest in forge webui for amd
and runs without any errros
it really doesn't. also, both forge and a1111 have had a number of changes in the last month. so that might be why stuff isn't working now
You need to follow my AMD guides from the first link of the pinned messages
Automatic1111 with ZLUDA
Just want to take a moment to appreciate A1111 and its ease
Oh that could be why im having errors
I did everything as mentioned in the guide ran into the same error again
See this is the full cmd thingy
I forgot to tell. I had uninstalled DotNet 8.0 Should i reinstall it?
and shall i try after installing both .net and visual c++??
do yourself a huge favor. do what @ornate elk just told you. pull up his AMD guides that are pinned in this channel and follow them exactly. but first make sure your sytem is up to date
and if you are still stuck, talk to him - he's the AMD expert
I literally did the exact thing said in the guide brother and still ran into the error
It says i cant message unless im a friend soooo
so you post here and you ping @ornate elk - he was just here, and i'm pretty sure it won't take him long to answer you. And i would suggest you reinstall dotnet if you haven't just becase other things on your system probably need it
Post the full CMD log
I have a base model of 7GB that I've created with merging, and I want to continue merging it with other models to make it better, but I dont have enough RAM. If I upgrade from 32GB to 64GB, whould it be enough, or is there some problem with merging a model that has been created by merging other models?
Can i set comfyui so it check and do the update every time i run it?
hi hi, im a bit new to stable diffusion and I can't get it to work. I followed the steps on https://stable-diffusion-art.com/install-windows/#Installing_on_AMD_GPU
as I am running a 6900 XT but I keep getting "RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same" anyone got any advice?
in my user.bat I ended up with this line:
set COMMANDLINE_ARGS= -skip-torch-cuda-test -disable-safe-unpickle --precision-full --no-half --precision full --upcast-sampling
@ornate elk here’s the log
I got it working but now its using CPU instead of GPU 😭
You need to follow my AMD Automatic1111 with ZLUDA Guide
The link is in the pinned messages of this channel
Hello
I see, ill give it a try, thanks :)
NP, let me know if you have any questions
CUDA error: operation not supported
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
What does this mean??
@ornate elk What to do brother?
I followed your exact guide and did everything again from scratch
turns out it was some weirdness with something else, it's fine now
Sorry for the late reply
Sorry for the late reply again
Can i set comfyui so it check and do the update every time i run it?
it took a bit to un-bork the instalation because of leftover stuff but it works great now :D thanks
I have been trying for days to achieve the same results as XY on my local installation. However, I am failing.
I know that they use Stable Diffusion XL but nothing else. I have a sample prompt here.
"Create a cartoonish illustration of a muscular, anthropomorphic rat. The rat should have exaggerated, bulging muscles and a confident expression, resembling a bodybuilder. It should be holding a red dumbbell, showcasing strength. The rat should have large ears and a cartoonish face with a smirk. Incorporate a bright and bold color scheme with black as the background to make the character stand out. At the bottom of the image, add the text "GYM RAT" in a large, bold, red font that looks hand-draw"
Attached is the comparison.
Can anyone help me how to get a similar result locally? I have tried it several times and the results were always better with stablediffusionweb.
Nice np!
Can you show me the settings you tried when getting the error?
have an interesting problem. im using a custom node that batches images from a directory, in order to feed the different faces into a faceid ipadapter. unfortunately, when i do it this way rather than use the tedious default 2 way merge batch images node, it generates a new image for each individual face, rather than averaging all the faces together for one single generation. any ideas??
Anyone know if there's an agent scheduler for forge?
Contribute to ArtVentureX/sd-webui-agent-scheduler development by creating an account on GitHub.
That could work in forge
It doesn't show up in the UI properly
There's this but it's kinda ass
@ornate elk
Are you on AMD?
Guys
One question, can Pony diffusion models be in stable diffusion?
or would it cause any error?
When you ask it what piece of my pc do you need to know
but i 90% sure that i not using AMD
When try CUDA provider
FAIL : LoadLibrary failed with error 126 "" when trying to load Stable diffusion\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
need change onnx version?
i'm not sure what you mean by
'be in stable diffusion'
can you explain what you're thinking, please
The thing is that I have Stable Diffusion
And there are base models that I want to use but they say it's for Pony Diffusion
And my question was...
If I use those Pony Diffusion models in Stable Diffusion would it cause any errors?
Por example
okay - so you can think of each base model as a book. and things like loras as revisions to those books. you can't use a lora that was written for pony diffusion with anything other than pony. the words that needed to be updated wouldn't be on the same lines and pages in any other book
Oh
Damn... there are many models that I like but they are from Pony Diffusion
Well, thanks for clarifying my doubt.
😦
you're welcome. i'm sorry but if you use the wrong revision with the wrong book, instead of changing a sentence from "the burning fire" to "the blazing fire" you might get "the chirping house door"
it doesn't work at all well
Now it makes me doubt whether to continue using Stable Diffusion
stable diffusion which? Sd1.5, SDXL, SD2.1, SD3-2b-medium... also, pony diffusion has a LOT of internal issues. so if you want a more flexable model, you'd be better off using stable not pony
where can i see that?
The Stable Diffusion Model
I don't know which one I have
let's start with what interface are you using to generate with? auto1111? forge? comfyUI? WebUI? something else?
uhmm....
Sorry I'm bad with that, where the heck do I know what I use?
But i think...
Automatic1111
I use this
alrigh, after you run that, there should be a place to choose the model you want to use. can you find it and tell me what models it has availble?
?
is this?
no. have you run auto1111 before?
Yeah
I have stable diffusion for 1-2 weeks I think
that should be the correct directory iirc, check the stable-diffusion one
okay, please run auto1111 and after it's running, look around on the interface and see if you can find a place to choose which model to use
not using AMD
@ornate elk seeing how I have both HIP SDK installed, does that affect things like my constant out of memory errors?
Is it possible to make a good functional Lora with 3 different concepts? Now these concepts are somewhat similar. Like for an example 1 is about thighs, and other about chest ect. Or do I need to have 3 separate Lora’s for this
It shouldn't, but you can uninstall SDK 5.7
Then show me the txt2img settings when you get our of memory
I am not able to use controlnet and scripts both together and when generating image the controlnet images are not coming. can anyone tell me further ?
can someone explain what i need to do to solve this problem - https://github.com/comfyanonymous/ComfyUI/issues/5004
Please tell me, has the price for generation gone up? It used to be 0.96 credits for 4 pictures, now it's 4.8
On https://dreamstudio.ai
DreamStudio is an online creative tool to generate images with AI. Made by the world's leading open source generative AI company, Stability.ai.
depends of the model, resolution, etc
But I did not change these settings.
Earlier in the billing panel it was written that 1000 credits is about 5000 images. There is no such thing now.
It depends, maybe you remember the pricing before sd3 launch and they changed the settings in order for sd3 to be the new default model.
If not, that s probably something to discuss with their support https://stabilityplatform.freshdesk.com
Hi Guys i am looking to achieve an use case where i have a template image as attached.
I want to in paint provided child face in to the original image.
With face swap models it works pretty well but the hair is as it is,
It doesn't modify the hair which is a prime requirement.
Can i have some help here ?
Does anybody know of an alternative for agent-scheduler that works for ForgeUI?
for those on mac what's your workflow r yall just using serverless like runpod or vast?
Hey everyone! I'm working on a large-scale 360 equirectangular video project with over 32,000 frames and need some advice. Specifically, I'm looking for help with:
Controlling latent images and noise for smoother transitions
Mapping latent control to a camera track
Tips or best practices when working with equirectangular projection in animation
I have prior experience with A1111, Stable Diffusion, and ControlNet on a similar project from two years ago, but this one’s a bit more complex. Any insights or techniques would be super helpful! I'm happy working with python, json.
I'd really appreciate some explaining on how to use your own noise layer. and how i'd go about building my own transformation plugin for equirectangular projections in A1111 or other ui or alternatively how I can use software like blender/TouchDesigner to take my rendered image transform it based on camera tracking data (along with the noise layer) and layer them all with the next frame from my reference video, to use as my init for my next frame.
nvm
uninstalled 5.7, this happens
Failed to load ZLUDA: Could not find module 'V:\SD-Zluda\stable-diffusion-webui-amdgpu-forge\.zluda\nvrtc64_112_0.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Delete the .zluda folder and relaunch
With a LoRA, you are updating the weights of the model so you can add information without retraining the entire model. so yes, you could - but are you always going to want all of those weights changed every time you use the LoRA?
Could anyone help me troubleshoot why DoRAs dont seem to work anymore on my systems?
It used to work until I updated FORGE. Then, I tried some code fixes - those didn't work. Someone advised me to switch back to A1111 where DoRA support is automatic.
Just got A1111 working again and i'm getting outputs like this:
Way ahead of you, now it just crashes and won't launch
already tried deleting .zluda and the pycache as well assuming the previous files was the issue
Are there any resources to help me use more of Automatic1111 on a bad GPU?
I don't mind the rendering time (that much), I just wanna be able to generate images above 512p and upscaling above 765p without running out of VRAM (at least running out of it that often) even if it means images will take a long time
What’s your setup
i5, GTX 1050 3GB, 12GB RAM
Did you add to your command args?
Add xformers?
Nope. I have not started optimizing it at all yet, other than using firefox and closing everything I don't need. So literally any ideas will be useful
Okay you know your .bat file you use to run Auto
Yuup
Right click and edit with notepad
Ahh shoot I’m not at my laptop right now
But I’ll forward what to change it to in a couple 10 mins 😅🤦♂️
Or maybe one of the code bros here knows off hand what to add
Oh that's actually perfect because I broke something a bit earlier so I'm trying to fix that first hehe
Alright I got it sorted back out. Now I can do the optimizing if anyone can help me
In the meantime I'm gonna check on xformers 34N3 mentioned
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(2, 4096, 8, 40) (torch.float16) key : shape=(2, 4096, 8, 40) (torch.float16) value : shape=(2, 4096, 8, 40) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `cutlassF` is not supported because: xFormers wasn't build with CUDA support `flshattF` is not supported because: xFormers wasn't build with CUDA support requires a GPU with compute capability > 7.5 `tritonflashattF` is not supported because: xFormers wasn't build with CUDA support triton is not available requires A100 GPU `smallkF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float16 (supported: {torch.float32}) max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 40
Yeah I think my GPU is too cooked for that. Unless I'm doing something wrong, my args are
set COMMANDLINE_ARGS=--xformers
set XFORMERS_PACKAGE=xformers==0.0.17
I don't really know what I'm doing though so be patient with me lol
@ornate elk Update: After some restarting and reinstalling of stuff this is what happens now
these are my command args
--xformers --no-half --medvram --always-batch-cond-uncond --api --ckpt-dir
And what about set XFORMERS_PACKAGE=xformers==0.0.17
Do I get rid of that line or leave it?
i would try clear all of yours and try mine
ive got a 1660 and those are mine
maybe you want --lowvram instead of --medvram
Yeah I'm getting a launch.py: error: argument --ckpt-dir: expected one argument error when launching
oh wait my bad take that out
--xformers --no-half --medvram --always-batch-cond-uncond --api
thats me changing my directory of folders to another harddrive
Yeah I still get the same error as when the first time I added xformers
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(2, 4096, 8, 40) (torch.float32) key : shape=(2, 4096, 8, 40) (torch.float32) value : shape=(2, 4096, 8, 40) (torch.float32) attn_bias : <class 'NoneType'> p : 0.0 `cutlassF` is not supported because: xFormers wasn't build with CUDA support `flshattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) requires a GPU with compute capability > 7.5 `tritonflashattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) triton is not available requires A100 GPU `smallkF` is not supported because: xFormers wasn't build with CUDA support max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 40
Okay 1 sec
Thank you so much for helping me with this though
lol im just trying
try build xformers
ive forgotten how to do it
Oh hold on, I don't even have CUDA installed. I swear I thought I had. That could be it
I have come to the conclusion that for my particular setup (5600X with 6600XT on Windows) ROCm 6.1 is practically useless, nobody talks about it except to mention it probably doesn't work and any troubleshooting in the reddit or discord just defaults to 'just use 5.7'
Hello everyone. I am getting CUDA out of memory errors when I try to make larger images. I have tried and tried different steps. The computer is a high performance gaming laptop that I use for photoshop and gaming, but for some reason it's acting like my VRAM is super low. I have tried looking things up online and just can't get it working. Any help would be great.
find out what your mGPU is first
I have 2 GPUs
?
also apparently when I go to check my settings, my screen displays are being used by different gpus...
this is the error
OutOfMemoryError: CUDA out of memory. Tried to allocate 26.78 GiB. GPU 0 has a total capacty of 6.00 GiB of which 4.33 GiB is free. Of the allocated memory 620.47 MiB is allocated by PyTorch, and 45.53 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
@solemn moon followed the guide and it's still the exact same error... Is there a test I can do to see if I even installed xformers correctly?
Oh hold on, when I launch A1111 I see this in console
No module 'xformers'. Proceeding without it.
*** Cannot import xformers
Traceback (most recent call last):
File "C:\Users\Fisi\stable-diffusion-webui\modules\sd_hijack_optimizations.py", line 160, in <module>
import xformers.ops
ModuleNotFoundError: import of xformers halted; None in sys.modules
So it's not installed... How
Just to make sure, I'm redoing all the steps again
Try —reinstall xformers in command args
Also have to check the versions you’ve stalled
Something like cuda 3.10 or something
Maybe post the full log so other can also see exactly what might be the issue
3.10....
What if mine says 11.3 LOL
Yee I got both 3.10.6 and 3.10.11
But we trying 😂🤪
It's fine, I'm desperate hahahah
Aight lemme get full logs
After I do --reinstall xformers
@solemn moon 'No module xformers' ..... 'please reinstall xformers'
That's... what I'm doing though lmao
Full boot up console
venv "C:\Users\Fisi\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: --reinstall-xformers --no-half --lowvram --always-batch-cond-uncond --api
C:\Users\Fisi\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 2.1.2+cu121)
Python 3.10.10 (you have 3.10.11)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
No module 'xformers'. Proceeding without it.
I'm gonna try and downgrade to 3.10.10 while waiting for someone
yo
this is gpts response
How to fix:
Reinstall xformers: To make sure xformers is compatible with your current setup, you can reinstall it following the steps on the official xformers GitHub page. Here's the general process:
Activate your virtual environment.
Uninstall the current version of xformers:
bash
Copy code
pip uninstall xformers
Reinstall the correct version of xformers that is compatible with your setup (PyTorch 2.1.2 and CUDA 12.1). You may need to install it using a custom wheel based on your CUDA version:
bash
Copy code
pip install xformers --force-reinstall
Verify CUDA version: Ensure that the CUDA version installed in your environment (CUDA 12.1) is compatible with your PyTorch version. If not, you may need to adjust the installation by selecting the appropriate version from the PyTorch installation guide.
Check if you need xformers: If xformers features (such as memory-efficient attention) are not essential for your use case, you can proceed without it, as the warning suggests. However, reinstalling xformers with the correct dependencies should resolve the warning if you need its functionality.
Aight let's do it
pip uninstall xformers - done
Install CUDA 12.1 - done
Install PyTorch 2.1.2 - According to the logs I last sent, already been done so skipping that
pip install xformers --force-reinstall - done
Let's see if that did anything
LG!!!!
You are running xformers 0.0.17. :0
WWWOOOOOHHHOOOOO
Well shit
So
I have xformers now, finally
But when I try to generate an image I get the exact same error as before
Of course it works perfectly fine if I remove --xformers from args
hmmm 
Maybe we need more technical help
Maybe start fresh on the boot
Then press generate with a prompt and xformers in the bat, and post the full log for someone else to help
Ima try chatgpt's solution first. What do you mean by start fresh on the boot?
like start Automatic again, run the .bat file so the log is clean from start
just so whoever is reading can see a clean log, easier to read i dunno 🤷♂️
I effectively can't generate images over 512/768 or I get an Out of Memory error. anybody have suggestions?
We're working on the same issue then hehe
Apparently first step is to get xformers which I'm struggling with right now
Update your drivers
did
I... dont know what that stuff is
It’s a folder in your stable diffusion folder
It’s called venv
Delete it then run .bat file again
No idea what that does but sometimes it fixes whatever issue I have 😅
Okay I found the possible reason for my issue
Your GPU needs compute capability of 7.5 for xformers, and my GPU only has 6.1
So I gotta find a way to make xformers run on 6.1
ChatGPT says it is possible
We need @ornate elk to save us 😭
Bro pinged the Avengers
Or @vocal burrow
Just to TL;DR if they come
I get this error if I try to generate an image with xformers
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(2, 4096, 8, 40) (torch.float32) key : shape=(2, 4096, 8, 40) (torch.float32) value : shape=(2, 4096, 8, 40) (torch.float32) attn_bias : <class 'NoneType'> p : 0.0 `cutlassF` is not supported because: xFormers wasn't build with CUDA support `flshattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) requires a GPU with compute capability > 7.5 `tritonflashattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) triton is not available requires A100 GPU `smallkF` is not supported because: xFormers wasn't build with CUDA support max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 40
I'm suspecting that this is because my GPU only has compute capability of 6.1 (out of 7.5 required). ChatGPT says it is still possible to install xformers for 6.1, but already warns me that cutlassF and tritonflashattF still wont work, which is part of that error
Man, I'm on such freaking side quests to make it work. I'm literally installing extensions for visual studio
Hehehe you know it's fun when even shutting down your PC gives you an error
The error says it can't find the correct rocm lib files. Because you need these:
https://github.com/likelovewant/ROCmLibs-for-gfx1103-AMD780M-APU/releases/download/v0.6.1.2/rocm.gfx1032.for.hip.sdk.6.1.2.7z
Replace the files in the library folder of rocm/6.1/bin/rocblas/library
And put the rocblas.dll into the rocblas folder
Hey, what's your issue?
And GPU?
And what's inside your webui-user.bat?
great timing, I was just about to try restarting everything with 5.7
It should work without a problem with hip SDK 6.1
It just need the correct library files
fingers crossed
1050
Yes, I know I'm cooked
But I just wanna be able to generate images above 512x512, even if it hurts the rendering time
I wanna get my A1111 as optimized as possible
Wanted to start with installing xformers, but if I install it and use it in my args of webui-user.bat, when I try to generate an image I get
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(2, 4096, 8, 40) (torch.float32) key : shape=(2, 4096, 8, 40) (torch.float32) value : shape=(2, 4096, 8, 40) (torch.float32) attn_bias : <class 'NoneType'> p : 0.0 `cutlassF` is not supported because: xFormers wasn't build with CUDA support `flshattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) requires a GPU with compute capability > 7.5 `tritonflashattF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) triton is not available requires A100 GPU `smallkF` is not supported because: xFormers wasn't build with CUDA support max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 40
Of course removing --xformers from the args fixes it
What else is in your webui-user.bat ?
And can you post a full cmd log?
Yup, hold on
venv "C:\Users\Fisi\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: --precision autocast --xformers --no-half --lowvram --always-batch-cond-uncond --api
C:\Users\Fisi\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 2.1.2+cu121)
Python 3.10.10 (you have 3.10.11)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
=================================================================================
You are running xformers 0.0.17.
The program is tested to work with xformers 0.0.23.post1.
To reinstall the desired version, run with commandline flag --reinstall-xformers.
Use --skip-version-check commandline argument to disable this check.
=================================================================================
Loading weights [fac1978d0b] from C:\Users\Fisi\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: C:\Users\Fisi\stable-diffusion-webui\configs\v1-inference.yaml
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
C:\Users\Fisi\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:1142: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
warnings.warn(
Startup time: 62.5s (prepare environment: 25.2s, import torch: 15.8s, import gradio: 7.7s, setup paths: 5.5s, initialize shared: 0.7s, other imports: 2.2s, list SD models: 0.8s, load scripts: 2.4s, load upscalers: 0.2s, initialize extra networks: 0.1s, create ui: 0.9s, gradio launch: 1.0s, add APIs: 0.4s).
Loading VAE weights specified in settings: C:\Users\Fisi\stable-diffusion-webui\models\VAE\kl-f8-anime2.safetensors
Applying attention optimization: xformers... done.
Model loaded in 40.4s (load weights from disk: 0.9s, create model: 2.2s, apply weights to model: 30.2s, apply float(): 0.1s, apply dtype to VAE: 0.3s, load VAE: 3.8s, load weights from state dict: 0.2s, hijack: 0.3s, load textual inversion embeddings: 0.1s, calculate empty prompt: 2.1s).
This was the error. Dont set variables yourself. You installed and old incompatible xformers version (0.0.17)
Remove that xformers package line from the webui-user.bat
To be fair I probably went through a lot of versions. Overall I reinstalled xformers like 10 times, each time with a different way
Aight
I mean, yeah, it will
Like I said, if I remove --xformers from the launch args then everything works fine
But idk how else am I supposed to use it
Keep --xformers
And delete the venv
Then it will automatically install the correct version
Hold on, so do I delete --xformers or keep it. Which line do you want me to delete
If that won't work, open up a cmd and type
Pip cache purge
Then delete the venv folder
Be patient with me, I have no clue what I'm doing hahaha
Keep
And delete the venv folder
AFK now, driving to work
Okay, deleted venv, relaunching a1111
Now a1111 doesn't even launch
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
The red part being
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
torch==2.1.2 from https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl#sha256=9925143dece0e63c5404a72d59eb668ef78795418e96b576f94d75dcea6030b9:
Expected sha256 9925143dece0e63c5404a72d59eb668ef78795418e96b576f94d75dcea6030b9
Got 944fd7e44d88caaa600516b8f3ee45d44ab5e3b23afc149836182ffacc0cd264
Oh, my bad
SD is running now, need to gen an image first to be sure but just making it this far is already good.
I expected there must be something missing for the 6.1 files but there's literally no mention of it existing anywhere as far as I can tell so I can only assume this is a recent thing
Nah I still get the same error
Purged the cache, deleted venv, relaunched a1111 and I get the same error
Even if I remove all args
So now I can't launch a1111 at all hehe
hehe
Yea I will update my Guides for 6.1 maybe this weekend
What error do you get now?
And please show me the content of your webui-user.bat
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
call webui.bat
As vanilla as it gets
You sure it was purge cache and then delete venv and not the other way around?
Because that's what I did and now it's actually redownloading something
Yea the venv will be recreated
With the correct files
Pip cache purge just removes old install stuff
Yeah I first purged the cache and then deleted venv
What that did is that I can no longer open A1111 at all, even with empty args
But I did it the other way around
Deleted venv and THEN purged cache and now it works again
Shouldn't matter normaly xD
IT ✨
I'm gonna now readd --xformers back into args and see what happens, if it works or not
But good that it works now. Then you need to add --xformers --lowvram --no-half-vae
To the webui-user.bat
installing xformers
It's cooking
Okay, A1111 launched. Let's see if I can generate an image
Oh god, it works. It was so easy. I was literally going on side quests of installing a super specific version of CUDA and building my own build of pytorch out there, while all I had to do was delete venv XD
Thank you, you're a wizard ❤️
No problem ^^
Now that this is done... Anything else I can do to be able to squeeze more out of A1111 on a lowend PC?
Yea you can install the tiled VAE extension. That can help to not run out of vram that fast when upscaling
can someone help find an art style model
How do I search for them properly/know that they're the right VAE?
Click on the extensions tab, then on Available, then on "Load from"
Then you'll get a list.
There search for Tiled
Holy
I can actually generate 1280x720 images now... Something I couldn't do on my old RTX 2060 (that also didn't have xformers)
(Don't ask how I downgraded to 1050)
Okay was about to ask xD
Thats something maybe for #📝|prompting-help
Well, if you insist. I worked from home for 3 years and it was the PC the company provided me with. I used it as my own personal PC even though I wasn't allowed to. I don't work there anymore though so I had to give it back
Ahh
oh ok ty
I was gonna ask if there's anything else like xformers that would help me not run out of VRAM when generating an image, but honestly, I should be happy I can do 1280x720 now, if not more hahahah
Thank you ❤️
Best you can do is use 1.5 2gb models and then you can try hires fix but only with the tiled VAE extension
With that you can try upscale them
What the hell??
xformers is actual magic
I'm even doing 1920x1080 on a GTX 1050
With ETA of 20 minutes, but it's doing it!
Yuuup hahahah
But it's good to know I can do it!
Because using to high res causes deformation and duplicate's
woop, I probably shouldn't have tested with a new model, it's taking its sweet time
took 8 minutes, but I can say the files worked
If you used an sdxl or pony model you can try add --medvram-sdxl to the webui-user.bat
That can speed it up
I'm loading it for the first time, I think it would be faster on the second go around
3 minutes, faster now
Interesting, I am a bit slower with 6.1 but it's less stressful on my PC
Like, significantly so
Yea its much better optimised
And has a longer support
Also make sure you get the tiled VAE extension when you want to upscale
quick question, does different models affect speed
and I'm betting even moreso for any derivatives of pony
no as they're essentialy the same model but tweaked.
Hi!
I have installed Stable Diffusion multiple times (using Python 3.10.11, and I also tried version 3.10.6) on an AMD system, following the instructions step by step. I downloaded the models from the Civitai website. Every time I encounter the following error messages:
raise EnvironmentError(
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>
SSLError: not enough data: cadata does not contain a certificate (_ssl.c:3989)
How can I resolve these issues so that I can finally use the program?
Hey, can you share the full cmd log?
@woven zealot have you heard of control net?
yUUP
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
how can i update torch and download xformers, it says it can't locate the file
Are you on windows or Linux
windows
this is in a venv or something, made by typing cmd in folder directory bar in stable diffusion folder
Auto1111 will download the latest torch version if you delete the venv folder
Also in the webui-user.bat oyu have to add --xformers
So it will install it too
where is the venv folder
Inside the stable-diffusion-webui folder
If you didnt installed stable diffusion correctly you can checkout my install guides in the Pinned messages of this channel
ok i found it
delete it then what
i did install it correctly but torch and xformers outdated then i deleted xformers as part of a guide to update
You maybe need to update your webui too if you installed it not in the last weeks
For that you can add
Git pull
In the line before Call webui.bat
probably should
Git pull
Oh you already had it in the first line xD
gg
Then you can run the webui-user.bat
It should download the latest torch stuff + xformers
Oh that's old
What does the cmd shows?
Post the full log
Okay open up a cmd and type
Pip cache purge
Then delete the venv folder.
Then relaunch the webui-user.bat
is this going to delete any lora,checkpoints or outputs
well, too late i already did it
Nope it wont
The venv is only for the Backend stuff
Torch, xformers and other depencies and librarys
Ok ill record the video on how i install stable diffusion and post it here to show what happens
idk why i keep getting some error
One question shall i install sd next?? or a11 forge webui for amd??
*a1111
What's your GPU ?
rx 6600
I would start with A1111 for AMD because if that runs. The rest can be easily installed too
Okay
Alr got the same error and also recorded the video now ill edit it into one video and send it
How shall i share it??
its done
the video is done
ok here it is
here is the video
@ornate elk
You there mate?
I'm using Animagine in SDXL and it only generates a slightly previous masterpiece paint job when I put in the ”newest” tag. I'd like to generate a more modern thicker paint job, but how can I do that?
@ornate elk ?
Hey, i have a Problem with the Replacer Extension. All of the video looks like this (its supposed to change the clothes to a dress)(i added the blue scribble to censor) Anybody know why this happens? (I atteched the settings as well, the rest is kept on Default)
IT WORKED LETS GOO!!!!! Thx So Much CS1o :)))
But look at this
Why is the bar already at 95% when i start the gen
Man... I am having such trouble. I switched my webui to include accelerate with openvino, but now my generations are so slow, and they are coming out crappy.
still nobody around to help
?
well my bad
i dont know about openvino but let me see
is it like cuda or something??
Cause i have seen some reddit posts saying its not that fast
i dont anything further than that
No, so I was using xformers and cuda and all that, but I kept getting a memory error because my nvidia card has under 6 gigs of available vram
so I switched to the openvino optimizer thing so I could run it on my intel graphics card, but it's sooooooo slow now
and the outputs are not generating basically anything worth keeping
Nice, no problem 🙂
Got time to be a guide for someone else?
Did you try forge web ui??
Like you can try that
it uses less vram and you can control the vram too
It might work
I havent
Ok here
look at this guide from @ornate elk
Try that it is far better than a1111
you there?
ok ill give it a go
try it 🙂
thank you
no problem anytime 🙂
can yall help me installing face fusion
What is that?
Face swaping
Dang
Learn how to easily install FaceFusion 3 with the user-friendly Pinokio UI in this step-by-step guide. Get ready to create amazing face fusion videos with this simple installation process! With tools for face swapping, upscaling, age adjustment and more, FaceFusion 3 is a must-have for any video ai. Generate consisten Faces with FaceFusion 3
##...
try this tutorial it might help
Sure
a bit too late XD
Im gonna try this forge web ui
Ok go on, let me know how it worked 🙂
That high it/s + the 95% is a visual bug with 1.5 models
What's your GPU ?
Openvino needs a different webui version
Intel(R) UHD Graphics
Yep, I downloaded it
You said you have a nvidia card too?
or I have NVidia GForce GTC 1660 Ti
Yea for sure use that
Dont even try openvino with an Intel UHD xD
Its like running in CPU mode
But the other one, no matter what I do in the editing the webui.bat it always either crashed, or gave me errors
We can fix that
also... where do I put LORAS for the forge?
Models/lora
It should get created at the first launch
Shouldnt be a problem then
do I change the .bat to have the --xformers and all that?
Not for forge. As it uses the best args already
ok, do I change anything in there?
There are some args that could help but I'm not at the PC rn to check
But first try with default
ok
Oh thx
stderr: ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\Valued Customer\Documents\StableDiffusion\stable-diffusion-webui-forge-main\stable-diffusion-webui-forge-main\venv\Lib\site-packages\transformers\models\deprecated\trajectory_transformer\convert_trajectory_transformer_original_pytorch_checkpoint_to_pytorch.py'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
Press any key to continue . . .
got the above error
You installed forge not the correct way.
You have to download the version from my Guides link and dont drop into the documents folder
ummmm...
But the error can also be causes by pythons path length limit
What's your Python Version?
no idea?
open up a cmd and run
pyton --version
3.10.6
okay then run the python 3.10.6 installer again and at the last window select "disable windows path lenght limit"
how do I do that? I am not a coder/program guy
you just have to run the installer again
no need to code
okay
then download the python 3.10.11 64bit version from here (at the bottom)
https://www.python.org/downloads/release/python-31011/
then leave everything at default until the end (there select "disable windows path lenght limit"
should I not get the newest python?
no its not compatible
hello which a1111 version is most compatible with extentions?
the latest
1.10.1
if you need really old extension support then 1.7.0
ok done
for some reason it gives me an error tryin to install extentions, such as facechain for example
which error do you get?
i'll screenshot it for you a second
seems to be doing some further installing now
alrighty, we are at least loaded
should I try it now like I had been previously?
yes
try a normal default image generation
im reinstalling the latest version to reproduce the error
but look at the pip warning idk if that's normal or not
Ok, got one image, it was awful... trying another now
It has bypassed 50%, and the crash hasn't hit me, thats a good sign
well.... it didn't crash...but uh... what the hell is this lol
silent hill
can you show your settings? xD
nope
your upscale settings are bad
and the cfg
hires upscaler has to be anything (for example RESRGAN4x+), then set hires steps to 10, denois to 0.5
Then set the CFG to 7 and leavte it there
and set the normal sampling steps to 30
thats a lora
yes
what's ur gpu?
he uses these settings:
Steps: 30, CFG scale: 7, Sampler: DPM++ 2M Karras, Seed: 3441237576, VAE: vae-ft-mse-840000-ema-pruned.safetensors, Size: 512x768, Model: monstercoffeebangMix_v11NoVAE, Version: v1.6.0, Model hash: c7a3d16416, Hires upscale: 2, Hires upscaler: None, ADetailer model: face_yolov8n.pt, ADetailer version: 23.9.1, Denoising strength: 0.5, ADetailer mask blur: 4, ADetailer confidence: 0.3, ADetailer dilate/erode: 4, ADetailer inpaint padding: 32, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, Clip skip: 2
u ever used facechain on the latest version @ornate elk ?
