#🤝|tech-support
1 messages · Page 55 of 1
I was told I can’t use stable diffusion on my computer because it uses the Intel Iris Pro Graphics 62000 1536 MB as GPU. Would that be correct? 
Hi ! i need help :3
I use stable diffusion locally and I would like to add the zaxychromaXL module in order to have access to SDXL Styles and ControlNet Integrated.
I put zaxychromaxl_v60.safetensors in models > stable-diffusion but when on stable diffusion I put this models, nothing happens..
The only thing I changed are the starting parameters as per @ornate elk's suggestions
i also tried Euler and a different model before, same results
CS1o said that it's most likely a ZLUDA problem
posted some more info there
anyone knows if its possible to create a batch job with a word with different values for each run?
i want to create a few hundred pictures but i need to use different colors or parameters for each generation in a cyclic way
kind of like an array...
Complete neophyte here, so apologies if I get confued easily. I have been using A1111 on my AMD machine by using PyTorch 2.0.0+cpu just fine for a few weeks, but this morning it updated and now I get a long list of exceptions then the concolse window closes out. Does anyone have any idea what I need to do to get it running again?
--reinstall-xformers on your webuiuser.bat file
i have had that break quite a few times... but usually you can just force reinstall and then once its working good you remove the flag and start sd again
I need a help in getting the cartoon style has target of input images
ah ignore my last question solved it already
@true kettle you trying to turn into a cartoon the photo? also probably for the best not to post pictures of real people...
I would add --reinstall-torch --reinstall-xformers to your command line arguments as it seems like your whole pytorch is outdated. (Weird that it s not telling you to run those tho.) Run it once so it actuall reinstall torch and xformers and then remove the arguments so it doesnt reinstall everything everytime you launch it
@nova wren Its the person from publicly available dataset I just want the facial features in the cartoon of input image
I want a image to image translation model but the main constraint is data
usually for that kind of situation i use inpainting with depth preprocessor from controlnet... works wonders
Thank you so much for the suggestion! I added the changes and ran it once, but xformers still seems to have a problem. When I first started using SD i had to get a special version of PyTorch that uses AMD firmware, and never had access to things like inpainting or training due to this.
@nova wren can you share the repo and guide me how to achieve that
@true kettle not sure if there is a guide out there... for that specific flow, but let me see if there is one, if not maybe i can send you a few screenshots on how to set it up in a bit
thanks @nova wren
wait... are you trying to use xformers with an AMD gpu ?
i think he might have been... i kind of glossed over that.... anyway has anyone figured a way to get tensorRT to work with control net?
@vocal burrow ?
looks ok, what does the log says when you try to generate it ?
idk why there are 4 progress bars
with 1 at 80%
sorry I don't know, it looks like a zluda specific error. I don't have an AMD gpu to replicate it
Alright :((
can you spot anything "off" in the console?
apart from the startup time taking forever, not much
Anyone know why the defaul lineart model isn't available
I'm on colab and I'm not sure where I'm suppose to check this
It shows up on the X/Y/Z plot
Also if I run lineart_realistic vs lineart it gives me different result :/
does anyone have any experience using 3d openpose?
idk what preprocessor i should use
or what model
it just doesnt work
How can I get access to the #platform channel?
RuntimeError: CUDA error: out of memory
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.
Any idea how to fix this?
ComfyUi?
a1111
Ok, sorry. No idea
What were your image settings?
dpm karas 2++, 512x768, latent hires 2x, what else?
happens after a few generations
/dr
What's your GPU and what's inside your webui-user.bat?
nvidia rtx 3050 laptop. its the settings u told me last time
Okay, so --xformers --medvram --no-half-vae
What's the model? Sdxl or 1.5 ?
1.5
Okay then you need the tiled VAE extension.
It can prevent that out of vram when using hires fix
Also make sure to not run anything in the background. Like games or wallpaper engine
"TiledDiffusion with Tiled VAE
manipulations" this?
Yes
And then only enabled the Tiled Vae and leave the settings on default
Hey, I'm trying to load in an SDXL model in WebUi Forge, but I am getting a connection error when I select it and this traceback
Your missing a VAE for that model.
That fixes such spots and color issues
More info here:
#🤝|tech-support message
Yes it won't work with that GPU chip. But it would work on the very slow CPU mode.
What's your GPU and what's inside your webui-user.bat?
Hey, what's your GPU?
That's doable with the Controlnet and the IP-Adapter Full Face model
Make sure the webui is whitelisted in any browser adblocker
Also can you try it in auto1111 again?
okay sure
But before make sure you have --xformers --no-half-vae in the webui-user.bat
At the line Commandline_Args=
okay ill try that right now
Ok so, this is off topic but I deleted venv because i recently upgraded my GPU and wanted to reinstall stuff for it, but now im getting a MemoryError when python tries installing torch and torchvision
Can you screenshot the error?
You should adjust the windows page file for C
how do i change that
Here is a guide:
Make sure you have 15-20gb free space on C:/
Set the pagefile size to 16000min and 24000 Max
For C. Make sure its disabled for all other drives.
Then reboot the PC. (Important)
How to adjust the Pagefile Guide: https://mcci.com/support/guides/how-to-change-the-windows-pagefile-size/
I did this, now im getting this error
No space left on device
Do i have to install on C: or can I install on D:
my windows installation takes up a lot of space on my C: since thats all I use it for (SSD)
Install what?
torch
yes
I have the SD folder on my HDD, but when I run it, the venv folder installation just installs on my C
im pretty sure at least
cus idk how i have no space left
Okay, then you can do the following:
Move your models/stable-diffusion folder onto the HDD.
Edit the webui-user.bat and there add --ckpt-dir "D:/Path/to/theNewModels/" folder location
You have to set the right path to it. Mine is just a placeholder
Wait what
So you have SD on the HDD?
Then you don't need to move the folders
Yes, I just dont have space for the stuff Python installs cause that installs on my C drive
like Torch and Torchvision and stuff
does that make sense
Yes it Caches on C, and that can't be changed.
Download the Wiztree tool and check what's taking up your space.
Clean the dustbin too.
Okay got it all working, now WebUI launched
I'm running the arguments you told me before (xformers and no half vae), and when I select my SDXL model, I get this traceback:
changing setting sd_model_checkpoint to autismmixSDXL_autismmixPony.safetensors: AttributeError Traceback (most recent call last): File "D:\Downloads\StableDiffusion\webui\modules\options.py", line 165, in set option.onchange() File "D:\Downloads\StableDiffusion\webui\modules\call_queue.py", line 13, in f res = func(*args, **kwargs) File "D:\Downloads\StableDiffusion\webui\modules\initialize_util.py", line 181, in <lambda> shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False) File "D:\Downloads\StableDiffusion\webui\modules\sd_models.py", line 860, in reload_model_weights sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer) File "D:\Downloads\StableDiffusion\webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded send_model_to_cpu(sd_model) File "D:\Downloads\StableDiffusion\webui\modules\sd_models.py", line 662, in send_model_to_cpu if m.lowvram: AttributeError: 'NoneType' object has no attribute 'lowvram'
oh nvm
i tried again and it worked
let me try generating
👋🏻 When I use the API, it doesn't use any credits/tokens in my dashboard. Not really complaining if its giving me free use, but if I create images in the dashboard, it does use them. Is this expected behavior?
Hello ,
Please guide me to install Forge SD on amd card
Ok so I have A1111 since last year but I am an idiot with this stuff
So I have a few models in the model folder and 1 random YAML.
Should I be renaming the yaml or something?
I feel like a caveman
Can someone help me? I'm trying to make the new PAG node work for ComfyUI. But it is not appearing in my node list due to this error. "0.1 seconds (IMPORT FAILED): C:\A.I\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sd-perturbed-attention". the first isue is that it's telling me that the samplers.py does not exist when it clearly does. As you can see it's inside C:\A.I\ComfyUI\ComfyUI_windows_portable\ComfyUI\comfy. Second it's this module called 'ldm_Patched' is missing, which I have no idea what that is. -- SOLVED
Forge doesn't support AMD cards that well. You better use one of my two guides for AMD with auto1111.
Both guides are in the pinned messages if this channel.
The zluda guide works for 5600xt, 5700xt, 6 and 7000 series.
If you have an older GPU then you need to use the directml guide.
A yaml is mostly for a model that needs it. It should have the same name as the model to get loaded correctly
Can someone help me with a prompt template for garment generation with specific fixed attributes required in Fashion Garment industry.

Hello. So the guide you provided allowed me to at least install the directories. I now get RuntimeError: Torch is not able to use GPU. I added the --skip-torch-cua-test to COMMANDLINE_ARGS and it didn't resolve the issue. I did some of my own research and found out that nVidia doesn't have official driver support for their laptop GPU (laptop is 2 years old). I also noticed that the laptop shows an onboard graphics card as well and am wondering if it's not selecting the nVidia when i run the .bat file? Are there more commands in the DOS to explain why Torch would not be able to use GPU? Sorry for the long post but wanted to show I am actively trying to get it resolved on my own. Thanks.
Hey, what's your nvidia GPU?
nVidia GeForce RTX 3070 Laptop GPU
This GPU should have a supported driver by nvidia
Select the right version here:
https://www.nvidia.com/Download/index.aspx
Would you recommend studio driver be preferred over game ready driver? I was able to find the right version. I was there before but didn't see it. Thanks!
Also it just shows Windows 11 available but not 64-bit version? Still safe to run I would presume but want clarification.
has anyone run into this issue where red dots appear? It does it regardless of photo source or cfg or anything
Go with the game ready driver.
Windows 11 32 bit does not exist
try with a different vae
no vae used, just a model in auto1111
if you run a xyz for each step in the process you can see the dots appear out of the noise very early on. its an old SD1.5 issue
also, try it with a vae. 🙂
Use the gaming driver 64 bit
so Windows 10 ok?
Choose windows 11 if your on windows 11
And 10 64 bit if your on 10
Sorry for the confusion but I have Windows 11 64-bit and only Windows 10 64-bit available. I googled if it would be ok and it seems to be the case as it's the same architecture (the only other option was Windows 11. Gonna give it a whirl.
Yes windows 11 is only for 64bit
You need to use a vae
Then the dots will disappear
@ornate elk have you tried this sampler https://github.com/licyk/advanced_euler_sampler_extension
Hey, nope not yet, is it good?
i tried out after reading the reviews but so far what i've noticed the background with this sampler comes out slightly blurred
not entirely sure if im overlooking anything, but tried it with 30 steps, 7 cfg
btw @ornate elk there's been update on a1111
this was my xyz result #🤝|tech-support message
hello
when I try to render with controlnet setting I have an error message :
" TypeError: 'NoneType' object is not iterable "
I dont know wha to do, i show u my settings maybe I made a mistake..
where did you download the model from?
I'm in. Thanks for your tremendous help. Appreciate your knowledge and guidance!
nice, no problem 🙂
What GPU would you recommend for machine learning, ai etc. I have been looking at RTX 3060 12GB. Any other suggestions in that price range?
3060 12gb is probably still the best bang for the buck (when it comes to AI)
could someone help me get ponyxl to work? i cant find any guides
help!
I'm trying to use open pose, but I cant upload the img, the "box" is not there in control net ... what can be the reason?
can someone explain to me what the difference between Model Lora and VAE is in non complicated terms
your in img2img, so it will use the box of img2img
in your screenshotr you can also check the button "Upload independent control image" to get the controlnet box back
Model (checkpoint) = needed to generate images. can be trained on different styles, and merged with other models. (file sizes mostly from 2-6gb)
Most models are based on SD Version 1.5 or SDXL
Lora = small files that are trained on specific stuff like a Style or Character, that goes on top of a model to help it generate the right Character/style.
Vae = needed for color correction for different models. If you output image is not vibrant and more pale or grayed out, you need to use a vae with that model
Some models come with a custom Vae already included
thank you very much ^^
can i use a model with an included vae with a different vae
yes, that will use the not included vae then
thank you
no problem 🙂
what is the best model to convert a pixelated art to a realistic?
Hey, can I get some help?
Here's my set up:
AMD 6600
AMD Radeon (TM) Graphics
Windows 10
I realize that SD is not really meant for Windows much less AMD gpus, but I'm not trying to use the other features that Linux and Nividia users have. All I want is for SD to use my 6600 instead of my CPU
hey, a 6600 is supported by my AMD Guide with zluda, its in the pinned messages of this channel
gracias
is it normal that a gtx1650 4gb with 16gb of ram takes about 10 minutes to generate a 256x540 picture?
it's not really a big deal at least it works but is this the average time it takes for this gpu?
I edited the Guide right now, someone made a tweak so it will work even faster on your GPU
No, whats in your webui-user.bat?
also what model did you used?
Hey, since I have a 6600, I assume that you want me to rename the Optimizised_ROCmLibs_gfx.7z extract to "library" to make sure things line up, yeah?
set COMMANDLINE_ARGS=--xformers --medvram --no-half --precision full --upcast-sampling
set PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
these are the only things i changed, when i first started it was the same time just full of bugs and most of the times didnt generate, im using sd1.5 models
make a new folder and name it library, then extract the files in there
the other library folder needs to be renamed before that
oh so the library is nested in another folder named library?
I just moved it over and renamed the folder
ah alright, that works, if you now have two folders (library and old_library) then its okay
just make sure in library folder isnt another folder, onle the raw files
also, just to be clear with the PATH instructions, you want this to be its own path?
yep 👍
remove --precision full --upcast-sampling
and remove set PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
then saveand relaunch the webui-user.bat
also make sure your using an model with a size of 2gb
why's that?
i mainly use 2gb ones but i also used some 4gbs
you can use 4gb ones too, but 2gb ones will work faster
i wouldnt use sdxl models with that card as its really slow
I just said that because some people load Lora's as models and then get issues like black images or freezing webui
i have an issue some times where the images is fine in the preview then goes totally gray, it works if i swap the model and then put it again
im generating a picture rn and it's going at abt 15.56s/it
it was generating fairly fast at the beginning and it told me ETA 3 mins, then at 2:50 it stopped and it started going up and slowing down a lot
Is your driver updated?
Make sure to not run any heavy programs like Wallpaper Engine or games in the background
nope seems like i havent updated them in a while
wallpaper engine shouldnt take that many resources
i check the usage and sd doesnt seem to use all my ram and theres much space left, only thing it's using is my gpu
Wallpaper Engine causes massive issues when using SD. It even can crash the system xD
holy i didnt know that
alright im going to update drivers and turn of wallpaper engine rq
Perfect. Make a reboot after the driver update and Don't "pause" WP Engine instead close/shut it down when using SD
aight, almost there
Oh that is a new error
What zluda version did you downloaded?
3.7
since 3.8 is a pre-release version i figured it might be more unstable
I figure you have something coming up but this is where that error is being raised
the bottom one specifically
Is your zluda folder correctly added as path in the system variables?
It's gone... tf?
Like its actually gone
okay
Did it worked?
i just restarted imma try it rn
how can i get the controlnet's image on comfyui? like, i want the depth image
Yes, check the device manager and there under Graphicadapter if you have two entry's there
pretty sure the AMD Radeon (TM) Graphics is the integrated one
Yes, that need to be disabled in device manager
Zluda detected it as primary gpu
man
Ello anyone know what’s with mine started yesterday whenever i try to generate it goes to like 49% and won’t go any further
Says error connection timed out
Amd Radeon RX 6600
using 4gb model, DPM++ 2M KARRAS, 576x768, around 10-11-12s/it
am i gonna get faster generation with 2gb model? maybe 5s/it?
the webui-user settings
also this is the load time, im using a mechanical drive, am i gonna get faster speed by using my ssd or is it still gpu based
took 150s to start generating
is there a way to make a previously generated image the preview on a model card in automatic?
2gb is definitely --lowvram territory not --medvram especially if you're using AMD and directml
consider zluda for better performances (cf pinned comment)
im on nvidia
Also that's the time you're wasting because of your disk
okay ill see if i can fit everything on my ssd
then why are you using directml ?
can i just copy paste the sd folder
why are you all those command line args
how can i get the controlnet's image on comfyui? like, i want the depth image of my input image
idk bro i got them from reddit when i was trying to solve some bugs
also that's NOT how to use set VENV_DIR line
i DO NOT know how any of this works 😭
tbh I'd say throw whatever you have installed at the moment in the garbage bin and start fresh following the pinned guide for nvidia then
Preview syntax rules, put .png next to the [embedding/model/etc] and name as such :
- Embedding : [embedding].pt -> [embedding].preview.png
- LoRa : [lora].safetensors -> [lora].png
- Models : [Model].ckpt/.safetensors -> [Model].png
i just checked the guide and it is exactly what i did
oh wait I confused soyzree screenshot for yours
ok then what's in your webui-user.bat ?
set COMMANDLINE_ARGS=--xformers --medvram --no-half
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [03:20<00:00, 10.02s/it]
tiled upscale: 100%|███████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 5.26it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 12/12 [17:54<00:00, 89.53s/it]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 32/32 [23:13<00:00, 43.56s/it]
{"prompt": "((masterpiece, best quality)), close-up, straight on, face focus,((1 girl)), {long hair}, ((big breasts)), standing, hair ornamen, gloves, (incredible absurdity), gilded frame, (detailed light),lighting, colorful, layered backgrounds, (gothic architecture), pond, (gorgeous background), dynamic angle, delicate background, (shine),ganyu, twin horn, bare shoulder, bodysuit lora:ganyu2:0.65", "all_prompts": ["((masterpiece, best quality)), close-up, straight on, face focus,((1 girl)), {long hair}, ((big breasts)), standing, hair ornamen, gloves, (incredible absurdity), gilded frame, (detailed light),lighting, colorful, layered backgrounds, (gothic architecture), pond, (gorgeous background), dynamic angle, delicate background, (shine),ganyu, twin horn, bare shoulder, bodysuit lora:ganyu2:0.65"], "negative_prompt": "EasyNegative, extra fingers, fewer fingers, (worst quality, low quality:1.4), loli,nsfw,text", "all_negative_prompts": ["EasyNegative, extra fingers, fewer fingers, (worst quality, low quality:1.4), loli,nsfw,text"], "seed": 2971847726, "all_seeds": [2971847726], "subseed": 3668259256, "all_subseeds": [3668259256], "subseed_strength": 0, "width": 768, "height": 576, "sampler_name": "DPM++ 2M", "cfg_scale": 4, "steps": 20, "batch_size": 1, "restore_faces": false, "face_restoration_model": null, "sd_model_name": "counterfeitV30_25", "sd_model_hash": "a074b8864e", "sd_vae_name": null, "sd_vae_hash": null, "seed_resize_from_w": -1, "seed_resize_from_h": -1, "denoising_strength": 0.6, "extra_generation_params": {"Denoising strength": 0.6, "Hires prompt": null, "Hires negative prompt": null, "Hires schedule type": null, "Hires upscale": 2, "Hires steps": 12, "Hires upscaler": "R-ESRGAN 4x+ Anime6B", "Lora hashes": "ganyu2: e39e31039bc3", "Schedule type": "Karras"}, "index_of_first_image": 0, "infotexts": ["((masterpiece, best quality)), close-up, straight on, face focus,((1 girl)), {long hair}, ((big breasts)), standing, hair ornamen, gloves, (incredible absurdity), gilded frame, (detailed light),lighting, colorful, layered backgrounds, (gothic architecture), pond, (gorgeous background), dynamic angle, delicate background, (shine),ganyu, twin horn, bare shoulder, bodysuit lora:ganyu2:0.65\nNegative prompt: EasyNegative, extra fingers, fewer fingers, (worst quality, low quality:1.4), loli,nsfw,text\nSteps: 20, Sampler: DPM++ 2M, Schedule type: Karras, CFG scale: 4, Seed: 2971847726, Size: 768x576, Model hash: a074b8864e, Model: counterfeitV30_25, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 2, Hires steps: 12, Hires upscaler: R-ESRGAN 4x+ Anime6B, Lora hashes: "ganyu2: e39e31039bc3", Version: v1.9.0"], "styles": [], "job_timestamp": "20240417014328", "clip_skip": 2, "is_using_inpainting_conditioning": false, "version": "v1.9.0"}
this is a gen i just did, about 3 minutes for the image but it took 20 minutes for upscaling
size 768x576 upscaled 2x latent 12 steps 0.60 strenght
what's your gpu again ?
i usually do 256x512 then upscale, right now im doing wallpapers so im doing them at abt double the quality
also 4gb model, it should take way less if i do my normal pics but the upscaling is insanely slow
just checked with all i did and speed is about the same both withlatent and r-esrgan x4 but latent is way better for what im doing it seems, almost uncomparable
1650 is pretty bad.... it's definitely an old budget gpu at this point
You're not gonna get good perfs out of it when trying to upscale.
You're using loras so it's gonna slow down the process + you're outputting at 512*768 meaning it's gonna take more time than for a 512x512 + DPM++ 2M tends to be slower than some other sampler such as Euler A + your prompt is quite complex.
make sure you're not using your gpu for anything else when generating (playing games, youtube video, wallpaper engine, etc) make sure your drivers are updated
check the power performance profile if you're on a laptop
For now stick to "easy prompts" such as "cat" and output at native 512x512 without upscaling and see how fast it goes.
It will make your life easier trying to figure out what's wrong when working on easy prompt rather than when working with such complex prompts.
And for upscaling I'd recommend using the "ultimate SD upscale" script https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 rather than the native one. Especially with low config like yours
One last thing before I go to sleep, you might want to check sd forge which is a "fork" of auto1111, you might get better speed out of it too. https://github.com/lllyasviel/stable-diffusion-webui-forge
good luck
That's all I can think off the top of my head at 2am
hope it helps, let me know which parts sounds alien to you and I'll answer when I can
ill try to figure things little by little thanks
@rugged summit i also have an gtx 1650 and i use comfyui
how is it so far?
i heard about it
this prompt took 1 minute to generate
of course, as i dont have your loras, it didnt generate the same image
upscaling and how is the wuality?
what model did you use
would you mind sending the image so i can compare it
one called anime ;-;
but from what i know about sd, the model doesnt seem to interfere a lot on the time taken to generate an image
i heard about comfyui but it looks so complicated compared to automatic1111 which im using
i should watch a lot of guides
it is complicated but it is cool
the a1111 on my pc takes 1 minute to generate a 512x512 20 steps image
while i can get that in 15 seconds on comfyui
i get arount 1s/it on comfyui and 3s/it on a1111
this is the image that i generated with that prompt
can it compare to the comfyui ones you can make with the gtx1650?
alright
finishing one here
tried to generate the same image on a1111, but i got the out of memory error on --medvram
double the time
here is an analogy of comfyui and a1111 stable-diffusion-webui's:
You can use a site builder (a1111) to create a store for your products. It is easy and convenient, but you have some limitations. If, in the future, you need to add some logic to your store, you will need to actually program it (comfyui). While programming is not easy, it gives you all the freedom you want
Hello,
I could do with some advice on getting a research project up and running with SD - using it with Dreambooth or similar.
(I don't have much experience with using git or notebooks, though have used SD last year on a local Windows machine using some installation guides I found online.)
Goal of research:
I have 32 detailed pencil drawings I made in the forest - I'd like to use these to finesse a model and then use prompts + the tag from my images to create new forest images, and see how close to my art style the results can be. -
Stretch goal:
If possible, I'd like to structure the outputs somehow, denoting areas that might be a 'tree trunk' a 'rock' or 'creek bed'.
So far:
I've taken up a subscription to Google Colab pro - (a couple of weeks in so far) and I've tried to use EasyMode_Stable_Diffusion.ipynb - after initially trying to complete the missing steps in the process detailed in this video: https://youtu.be/9nniwr-7Em8?si=ZZzIwRGYzk3UuSLV&t=870
I'm Stuck:
I've tried to troubleshoot errors coming up in the above two methods but have started to wonder if both of these methods are somewhat outdated by how they use SD - given that the errors are either not well documented online or they seem to point towards solutions that roll back various elements to older versions to be compatible with the code. - I'm not beholden to Colab if there's better solutions but as indicated above, I'd like to do some things and have a few ways of tweaking them.
What's a good recommendation of how to proceed with this? - As mentioned, I'm not very resourceful beyond typing in solutions to errors I find, so if there's a recent method that's up to date, and has some very user friendly documentation on what errors might thrown at me I'm really keen to learn.
Learn from Principal Systems Designer at GitHub, Maxime De Greve, about the techniques and easy-to-use tools that I've used to train my own avatar AI model without requiring expensive hardware. Through an easy-to-follow walkthrough, the talk aims to empower attendees to leverage AI and train models with their own objects, faces, or styles.
We a...
Hey guys is there any stable diffusion api that allows me to do an image multi prompt?
Hey you should use the directml webui with Zluda. It will be much better for your GPU.
The guide is in the pinned messages of this channel
Oki thanks
Uhm what does it mean by make a new folder in my drive?
Ok. Thanks. I'll just leave it alone
Stuck on step three getting zluda to run
I don’t understand how to add the stuff
okay so followed all the steps and tried to launch it and got this
hi im new here, I need help with fixing my stable diffusion, I updated my stable diffusion just now and it is not working, it is telling me "ImportError: cannot import name 'Undefined' from 'pydantic.fields' (C:\Git\Ai\stable-diffusion-webui\venv\lib\site-packages\pydantic\fields.py)" i'm not sure what it is asking me
What's your python version?
Simply create a new folder
Where do i check that?
Hey, delete the venv folder and relaunch the webui-user.bat
Open up a CMD and run
Python --version
uhhhh
Python : The term 'Python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- Python --version
-
+ CategoryInfo : ObjectNotFound: (Python:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
this what it shows when i type that in
Also should i delete my other stable diffusion folder
Like my older one
also here are few things im not sure i did right
That's not right
You have to run the python 3.10.11 installer again, then click modify, next, then check the box "add python to system variables"
Then edit the Path setting again
Click on the PATH in system variables and click edit.
Then make a screenshot please then I can check
also am i supposed to have two library folders?
one that say old and one that just library
Yes, one has to be named old_library
Upgrade now
oki deleted
In the guide it says system variables.
And you added it in user variables
So in the screenshot at the bottom you see Path. Click on it and click edit
oh i didnt understand the wikihow so i just watched the video below it
the gray highlighted?
Click edit and now you can ADD 2 more lines there
"New"
No don't add both in one line
You need 2 new entry's
One is for C:\ZLUDA
And the other one for the %Hip
Yes
Yep relaunch the webui-user.bat
Delete the venv folder and relaunch
If you have one
deleted still getting same error
(I don't see python in their path, did you set the PYTHON var in the .bat ?)
Oh true, python wasn't added to path
But he even ticked the box
this?
In a CMD not in a powershell
INFO: Could not find files for the given pattern(s).
@hollow schooner Do this - copy path and past it next to PYTHON= and then save
Can someone explain to me the difference between OpenPose Full and DW OpenPose Full? The second one seems to be better in some cases.
Is there a download for DW OpenPose Face and Hands, or is DW OpenPose Full the only one?
DWpose is a alternative to the normal openpose.
DWpose was made by a research team and they only published the dwpose full. So no hand or face only available
Alright, thanks @ornate elk
where do i find this
Can you uninstall (not delete) every python you found and then reinstall the 3.10.11 ?
that's what cs1o is trying to figure out by making yourun where python
By default it should install in C:\Users\username\AppData\Local\Programs\Python (or something close)
only things that show up when i search "py"
Yea uninstall them then reinstall 3.10.11 and make sure you check the box "add python to path"
The best way to download Automatic1111, or any other AI art generator, is to have all the folders in one place. It's much easier to set everything up, and it's also easy to try and fix problems when they pop up. I would say the best thing you could do right now is uninstall everything and reinstall it so everything looks like this. It's your preference, though. @hollow schooner
uhhhhhh
If you are having any problems - this is the best guide https://www.youtube.com/watch?v=3cvP7yJotUM&ab_channel=OlivioSarikas
In this video, i will show you how to install and use Automatic 1111 Stable Diffusion and automatically update it with Git Pull to have the newest Version without any fuss!
Links from the Video
Python 3.10.6: https://www.python.org/downloads/release/python-3106/
Git for Windows: https://gitforwindows.org/
SD 1.5 Download: https://hugg...
vietnam flashback
Easy and to the point
my older one just stoped working halfway so im doing this
Hes using AMD so that tutorial won't help
Ah, my bad then
okay so no error when i open the webui
Try to generate on image at default settings.
The first image will take 15-40 minutes
The CMD shouldn't show any errors.
Oki
Just hoping it opens up Firefox
Should i delete my older stable diffusion and move the Lora and models into this one?
Yes, if everything works you can do this
I'd wait for the first image to be generated correctly before deleting anything
Yeah ur right
I meant uninstalling Git and Python as well as the stable-diffusion-webui; it might be a screw around, but it helped me out a lot when I started.
I had to add a bunch of stuff my webui user stuff
Amd problems ig
CS1o helped me a lot with that
It does currently say it launching but it hasn’t opened Firefox yet
screenshot the console
Nvm now it’s downloading something
it's gonna install a lot of things, depending of your configuration / network speed, it can take from 5 to 40 minutes
it has to download a few gbs of data and libraries
Op it launched
Okay we’ll be back in and hour if the image doesn’t generate
Thanks for the helpppp!
Alright, no problem 🙂
Hi guys new to automatic1111 after installing it im trying to install the controlnet extension
but i get this error then after rebooting then ui dont even come out anymore. how do i fix this error
Hey, did you only installed the Controlnet extension?
Hello I am having a problem when I try to install the Controlnet extension, already delete and reinstall webui multiple times
yes, getting failed to install handrefinerportable
looks like we ran into the same issue
same here, I kept reinstall, downgrade the pydantic, not helping at all
@hardy rapids @novel basin you guys could try to install python 3.10.11 64bit, then delete the venv folder and relaunch the webui-user.bat
3.10.11 is fine with automatic1111?
Am bac it worked thxxxxx
Perfect 🙂
so I just delete the python folder in the ..\webui\system and install the 3.10.11 64 in the same location?
i dont think there is a python folder there unless you are using something else like stability matrix
interesting, I see, I probably have different UI
yah probably im using this one it didnt have a python folder. from the git pull
https://github.com/AUTOMATIC1111/stable-diffusion-webui
I download the v1.0.0-pre, am I at the right place?
That's not the recommended way to install it
In the pinned messages of this channel you'll find the Guides for Nvidia and AMD cards
Hab you tried with 3.10.11 ?
And deleting the venv folder
yah but im getting this error now when i start up.
something might have gone during the install, try reinstalling in a proper folder (not desktop, not any kind of sync'd folder, somewhere with no space/special character in the path, etc)
you can also try to simply delete the venv folder
got it will try tomorrow thanks!
Hello, can i have some advise about making an infinite zoom please. I created a couple but the look junk. I use A1111, would comfyUI do a better job. is there any recommended tutorials to watch to create a good looking infinite zoom, thank you
Hi community, my buddy tried installing SD and this popped up for him when he tried to launch it. Any thoughts/advice?
no python install detected
make sure they have a compatible python (3.10.6 -> 3.10.11) and that they checked the "add to PATH" checkbox during the install
yeah, i did ask him if he had it installed, and he mentioned he did install (probably wrong version). I will let him know this.. thanks for the response.
Hi I'm the friend, (make sure they have a compatible python (3.10.6 -> 3.10.11) and that they checked the "add to PATH" checkbox during the install). I did make sure 'add PATH" was checked. Still not working
Any advice please
Thanks so much in advance
Hi community, I'm trying to installing SD and this popped up when I tried to launch it. Any thoughts/advice?
I've followed all the correct Install instructions so not sure why I should be having trouble
Hey, uninstall (not delete) every python version you find.
Then install python 3.10.11 64bit again and check "add python to path"
ooo boy, do I have a new issue thats a doozy
tl;dr, Stable diffusion is now freezing entire pc when I switch models now ;-; to a point I have to restart pc as it doesnt unfreeze
So, may need to talk in voice to explain as I would be writing an essay here ;-;
how much ram do you have ?
20GB babes and it shits itself
I cleared the cache which had 5GB x-x
What's your GPU and what's inside your webui-user.bat?
Gpu is an Nvidia 1070 ti, inside the command args is this here
Okay remove --upcast-sampling and instead add --medvram-sdxl --no-half-vae
Also why are you caching stuff in a folder?
The cache in the past caused issues on my sdxl but I will try it without
Yea try without. You used sdxl without --medvram-sdxl so thats most likely your problem
Wish me luck 👌
I’m making sure to clear my ram right after also as that seems to help deal with the ram end of things
you have 20gb of ram ?!
how?
16+4 ?
8+8+2+2 ?
3 sticks ((not optimal i know)) and yes, 2x 8Gb and one 4Gb BUT I have two new 16GBs in transit rn so that will help with ai as well
ok so that's definitely an usual setup but it should be ok.
Did you change any settings to keep more than one model in ram ?
Is your pagefile for c: set correctly ? (aka on automatic or at least 16gb)
Page file ? Still a noob in the learning face, enlighten me, what is that
when your ram is completely filled, windows start using your disk instead. Moreprecisely it stores everything in the "pagefile".
That's why it needs to be set to something big enough or to automatic (and then make sure you have enough space on c: for it to grow as needed)
Otherwise if there's no pagefile and the ram is saturated your system can become unstable.
Okay now that , THAT would explain a whole fucking lot ((pardon my swear)) as for the life of me I couldn’t understand why disk was at 100% when I switched models !!
Where is the page file located and I’ll sort that out ??
how to increase pagefile ? https://www.thewindowsclub.com/increase-page-file-size-virtual-memory-windows
Might as well make sure to turn off any unnecessary programs when generating to save up on ram
aka don't run 100 tabs of google chromes, don't game, etc
Oh that I get as when I use SDXL I literally have the sdxl tab and one yt video and that’s all, everything else is OFF
I’m curious to how this works as I’ve watched a couple yt videos and a couple of the comments are saying it’s as the same as “Downloading ram” and all that jazz
youtube comments are .... even less reliable than chatgpt
That’s a fair point to be honest. I’ll give it a go anyway and I can always reset it back to automatic anyway.
What would you suggest I put in for the initial and maximum? Since I’m working with 20GB here
it's a well known mechanism. Linux had a similar mechanism called "swap" partition for ... I don't know ? I'd say 30 years at least ?
16gb should be enough
For both initial and maximum?
after all that's only """""just in case""""
It’s reading as MB, what’s the conversion rate to figure that out ?
1024 mb <=> 1gb
EIther you let everything on automatic and make sure you always have at least 20gb free on your c: so it can expand
or you set it to 16gb (min and max) and forget it
16,384 I think is the mb and I think I’ll set it to 16 otherwise it’ll shit itself lel
The point of this system is to make it more stable. If windows ever need to use it, it will be SLOW, everything will start to lag and maybe even become unresponsive.... But at least it should not crash
Okay I’ll keep that in mind ^^
hello, tried to use dreambooth but even with settings xformers + fp16 and 8bit AdamW optimizer it says "Exception training model: 'No executable batch size found, reached zero.'."
does anyone know why is hires taking so long to upscale at abt 80s/it? using R-ESRGAN 4x+anime6B,15 steps, denoising 0.2, automatic1111 FORGE, 512x512 x 2
So.. as just a normal user that wants to try SD3, any easy way I can use this API?
ok. been trying to resolve this one my own for a while. can i please get some help resolving these errors when trying to get SD running:
Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
Successfully installed MarkupSafe-2.1.5 certifi-2024.2.2 charset-normalizer-3.3.2 filelock-3.13.4 fsspec-2024.3.1 idna-3.7 jinja2-3.1.3 mpmath-1.3.0 networkx-3.3 numpy-1.26.4 pillow-10.3.0 requests-2.31.0 sympy-1.12 torch-2.1.2+cu121 torchvision-0.16.2+cu121 typing-extensions-4.11.0 urllib3-2.2.1
WARNING: There was an error checking the latest version of pip.
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui-forge-main\launch.py", line 51, in <module>
main()
File "C:\AI\stable-diffusion-webui-forge-main\launch.py", line 39, in main
prepare_environment()
File "C:\AI\stable-diffusion-webui-forge-main\modules\launch_utils.py", line 431, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
the "runtimerror" at the end seems like maybe the main thing keeping it from running but i also want to know is the 'WARNING: There was an error checking the lastest version of pip" a problem
hey whats your gpu?
rtx 3070
okay, whats your python version? and from where di you installed python?
3.10.?
i researched it and the problem seemed common they were saying python 3.12 doesnt support torch
3.10.11 would be great
i think i have 3.10.12 actually
would work too
ok so
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
ive tried putting this many places nothing works
dont add that, it will use cpu instead
still having the failed to install Handefinerportable after trying to install the controlnet extension in automatic1111
tried a fresh install in C drive with no dashes or symbols in folder and using python 3.10.11
i mean its kinda cool these barriers for entry exist. the less people can manage to set this up the more valuable my hack work will be 🙂
so what do i do 😦
@fair oxide as forge didnt got updated since a month i would recommend you to install the normal Automatic1111 webui.
You find my complete install guide in the pinned messages of this channel. use the guide for nvidia
ah thats a good idea
if you get that to work, forge could also work
yeah
i may switch to a1111 anyway it seems more popular
i had to reinstall windows due to a technical problem i was having
i think i actually talked to you about it last week
stuttering everywhere
also make sure you have the latest nvidia driver installed
i thought SD may have contributed to it somehow
but we determined my OS had corruption
but i ended up using a vanilla windows 10 usb since the proprietary lenovo boot was giving me shit
so im using windows 10 now
ohhh you had the system error that sfc scannow couldnt fix
yes
a clean install is always better than using inbuild options
discord has massive internet connection errors for me right now
still getting this error when trying to install controlnet on sdwebui
Warning: Failed to install handrefinerportable. Some processors will not work.
Installing sd-webui-controlnet requirement: depth_anything
Installing sd-webui-controlnet requirement: dsine
the good part is both problems i was having seem fixed
delete the controlnet extension from the extensions folder.
then delete the venv folder.
After that relaunch the webui-user.bat
On the Webui go on the extensions tab, click on Available, click on "Load from"
search for sd-webui-controlnet
and click install. Wait a bit and then close the webui and relaunch
thats good ^^, so try the auto1111 install, i think it will work
also auto1111 is the most used webui, forge is still a bit buggy at times
does forge even have any advantage at all
yes it has some vram optimisations so that it uses less vram and performs a bit better depnding on the gpu.
mostly its a good alternative for nvidia gpus with 6gb or less vram
mine has more
8gb
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
you have the latest nvidia driver?
can you show me the full error in cmd ?
thought i did. just resintalled everything
venv "C:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.0
Commit hash: adadb4e3c7382bf3e4f7519126cd6c70f4f8557b
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "C:\AI\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\AI\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
and this is what i get after completing step 6 of your walkthrough
do you have an intel cpu?
amd
can you check in the device manager under graphicsadapter if there is 1 or two gpus listed
so i tried on stability matrix instead i deleted the controlnet extension folder and venv just to see but getting same error. but i do see some error about permission maybe has something to do with it? how do i fix the permission issue
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\Users\Tuan Do\Desktop\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\Lib\site-packages\cv2\cv2.pyd'
Check the permissions.
Warning: Failed to install handrefinerportable. Some processors will not work.
Installing sd-webui-controlnet requirement: depth_anything
Installing sd-webui-controlnet requirement: dsine
Okay, open up the nvidia control pannel, on the right click on 3D settings. Then on the left there should be a drop down. There select "Nvidia high performance device"
Probably because you installed the webui on desktop
In my guide I say to not do that
Hey, would someone redirect me to everything I'd need to install to make videos using XL models in A1111?
i have a regular sd webui installed installed on just C: drive with no wierd names or symbols but same result.
yeah not seeing exactly as you described
Do the following then:
Open up a CMD and type
Pip cache purge
Then delete the venv folder
Then relaunch the webui-user.bat
And if you delete the venv folder And the extension in that install?
[notice] A new release of pip available: 22.2.1 -> 24.0
[notice] To update, run: C:\AI\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "C:\AI\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\AI\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
🙂
whats the full cmd log?
venv "C:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.0
Commit hash: adadb4e3c7382bf3e4f7519126cd6c70f4f8557b
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "C:\AI\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\AI\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
how much free space do you have on C ?
ok
we never did anything with the nvidia control panel
and the gpu driver install worked without problems?
thats not like in my guide, you need to create a folder on C, there you git clone the repo in, if not you will get permission errors
as far as i know. ill double check it now
Hello my dear sir yes hi hello
what sort of videos?
Adetailer videos, for some reason it kept telling me that I am missing a motion module, even though I placed the xl beta into the same folder which the 1.5 one was in (the 1.5 one does work too), so I'm not sure what the issue might be
where to put LYCORIS
Lora folder
thank you
Adetailer hasnt a video function, maybe you mean AnimateDiff ?
Yes! Thanks for the correction lol, usually mix the names
ok, can you show me the error you get?
i actually did need a gpu update...
i guess i assumed because i just did a reinstall and i had a gpu driver, that it would obviously be the latest one
silly me
Like this seems fine
Adetailer is disabled so Idk what it's yapping about
okay, but does it still work?
I'm not getting a video, only an image with the prompts I put
Video only works with 1.5 models
Hello, i tried to use textual inversion but when i want to create embedding it says "TypeError: list indices must be integers or slices, not str", i restarted my pc and removed --medvram-sdxl because i saw it worked for someone but doesnt work for me.
yeah i guess that was the only problem actually
derp
so this is automatic1111?
it looks just like forge lol
forge is based of automatic xD
idk if i need to say more informations about it
gpu model, and what model you loaded
i have rtx 3060 ti, and for the model i think it doesnt load anything ? like its just creating the embedding to train
but if it matters my checkpoint was set on pony V6XL
idk why it does that because its just "name, initlization text and number of vectors per token"
hmm cant help much with training sry :/
okay np
i tested it rn and yes, sdxl only outputs an image
Hmm okay thanks, is there perhaps another version of Animatediff that we're missing?
i got the error that the webui blocks the file because its a .ckpt
trying to convert it to safetensor now
@dense tapir got it working
!
thats the problem. the webui blocks .ckpt files as security measure.
To fix that:
i copied the motionmodule into the models/stable-diffusion folder.
then i editet the webui-user.bat and added --disable-safe-unpickle
then i went into the Checkpoint merger tab. there i loaded the motionmodule as A.
then selectet "No Interpolation" and on copy config from set it to "None"
then selectet checkpoint format Safetensor. Then press Merge.
After that you copy the new motion module (that is now a .safetensor file) from models/stable-diffusion back to the folder from AnimateDiff
Importan. Close the webui and remove the --disable-safe-unpickle from the webui-user.bat again.
then save and relaunch.
Thank you for your help, I'll probably ping later for clarifications, hope that's ok
what does this mean its failing to open webui
sure, but later im sleeping ^^
do you have any third party antivirus running or vpn or proxy?
nope just the default av that came with windows 11
Hmm okay, any browser adblocker?
yah i have adguard
Make sure the webui is whitelisted in it
didnt work. i added already. webui opens fine before. but stops working after i try to install the controlnet
after i delete the controlnet in the extesion folder and venf folder it works again. but if i try to reinstall the controlnet i get the issue
Maybe you should open up a issue on the Controlnet github page
The dev could know how to fix this
okay got it. thanks
okay i found someone with the same problem in the controlnet github.
https://github.com/Mikubill/sd-webui-controlnet/issues/2757
author said: Please report that in main A1111 repo. ControlNet does not have recent change against how we handle dependency. It seems like pydantic installation failed from your log message due to OSError:
Okay, hopefully someone made an issue there then
But good to know its a known issue now
Can someone help me with this error? I've tried doing a fresh install and even reinstalling the OS but this keeps showing. My GPU is an AMD RX 6700 XT, 12gb VRAM. Models won't load either.
I'm using Stable Difussion AUTOMATIC111
Hey, first of all don't install anything into a OneDrive Folder. That will cause issues.
Secondly: there is a new method for AMD cards using the automatic1111 webui but with much better performance and less vram errors.
Its called the AMD zluda guide. And you find it in the pinned messages of this channel.
For any questions feel free to ask.
Thanks, will look into it
Its a bit more complex to install but totally worth it.
But you got any idea with that error is happening? First time it happens to me
I've seen that error before. But your screenshot isnt a full error log of the CMD. Also I would need to know which model and settings you used
The one that comes by default, haven't even downloaded any model yet. v1-5-pruned-emaonly
Haven't touch any settings
Maybe you didn't edited the webui-user.bat with the correct cmd args
You'll also find the AMD Guide without zluda in the pinned messages.
There are also the needed cmd args listed.
But I would recommend you use the new guide with zluda.
I'm off now gn
WHY?
yes everything went to shit for me as well when i downloaded controlnet
ok im retaredd
i think i found a solution. im trying right now
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15551
having a whole bunch of other issues now
how to completely wipe out every SD file from ur pc? cause reinstalling doesnt do shit
you just delete the folder and put in fresh copy then run webui-user.bat
did it work
yes it worked
ok and if u restart it again?
yes it opens and work after restarting
Didn't work
which one should I add?
how do i save my settings/make template in a1111.
like my tiled diffussion and tiled vae. settings
i tried the png info but it only save my prompts and basic stuff
any1 know how to fix?
auto1111, just finished install, 7900XTX (reinstalled cuz new os and no worky :( )
AttributeError: 'NoneType' object has no attribute 'lowvram'
same mprobolem
@ornate elk silent ping for whenever you're free, since you are the god of Auto1111
Did the Zluda guide
rip
what did you do
hello Tuanny
did you follow this solution??
After installing Webui - close it.
Go to A1111 folder
open cmd
type in venv\scripts\activate
When you see (venv) X:\path-to-webui\stable-diffusion-webui>
pip install insightface
pip install --upgrade pydantic==1.10.14
pip install --upgrade albumentations==1.4.2
Then deactivate venv by command
venv\scripts\deactivate
From now run A1111 and you can install controlnet Enjoy!
yes followed that on a fresh install and got it working
when you type cmd and venv\scripts\activate
it may say something about you dont have permission
in that case open windows power shell as ADMIN then enter
set-executionpolicy remotesigned
Press A (Yes to all)
then try cmd venv\scripts\activate and it should work
then just follow
pip install insightface
pip install --upgrade pydantic==1.10.14
pip install --upgrade albumentations==1.4.2
Then deactivate venv by command
venv\scripts\deactivate
Thank you for the thorough explanation
Would recommend to install the directml webui with zluda
You'll find a complete guide in the pinned messages of this channel
For comyui, and I have AMD gpu. Do I need to click the top option?
A youtuber said "if you run it on your cpu it will be way slower than gpu"
However I don't have nvidia gpu, could I still try to run comfui on the "nvidia gpu" file option even if my hardware is AMD?
how do i save my settings in a1111.
like my tiled diffussion and tiled vae. settings
i tried the png info but it only save my prompts and basic stuff
Applying attention optimization: Doggettx... done.*** Error completing request*** Arguments: ('task(qc648k7ss7jwouq)', '8x8Pixel', '0.00001', 1, 1, 'D:\\8x8_PixelSD', 'textual_inversion', 512, 512, False, 500, 'disabled', '0.1', False, 0, 'once', False, 100, 100, 'style_filewords.txt', False, 'Cat', '', 20, 'DPM++ 2M', 7, -1, 512, 512) {}Traceback (most recent call last):File "D:\sd.webui\webui\modules\call_queue.py", line 57, in fres = list(func(*args, **kwargs))File "D:\sd.webui\webui\modules\call_queue.py", line 36, in fres = func(*args, **kwargs)File "D:\sd.webui\webui\modules\hypernetworks\ui.py", line 25, in train_hypernetworkhypernetwork, filename = modules.hypernetworks.hypernetwork.train_hypernetwork(*args)File "D:\sd.webui\webui\modules\hypernetworks\hypernetwork.py", line 483, in train_hypernetworkhypernetwork.load(path)File "D:\sd.webui\webui\modules\hypernetworks\hypernetwork.py", line 250, in loadself.layer_structure = state_dict.get('layer_structure', [1, 2, 1])AttributeError: 'NoneType' object has no attribute 'get'
Sorry for bloating chat with that massive error message but I am trying to train my own model using hyperplex and pressing generate nothing happeneds and that error gets posted into the console.
I also seem to be messing the preview prompt which I think may be the cause
sadge
You need to recheck the path of the zluda folder
In the system variables
Hey, no, comfyui doesn't support AMD cards that well. What's your GPU model?
I did that before even trying to run it
Okay good.
Have you restarted the PC ?
Also latest AMD Driver installed?
havent rebooted since my b
shouldve tried that
Yea try that. Also do you have an AMD or Intel CPU?
hi everbody ,
Is it because of heat dissipation that Tesla M40 can only use 20% power?
5800X3D, 32GB DDR4, 7900XTX
Tuf x570
its now stuck launching lol
different problem means progress as i always say
Stuck?
Since you're on the topic of AMD gpus, is there a better solution for using a 5700 XT on Windows than direct ml? It seems that Zluda only works with 6000 and 7000 series cards, and ROCm only in Linux?
Hey, zluda works with the 5700xt and is highly recommended instead of directml.
You can follow my install guide in the pinned messages of this channel
cant break either
Let it load
Any chance it works with Fooocus?
also am i supposed to have the --skip-torch-cuda-test? i know normally yes but idk if it can with ZLUDA
i havent used this since directml was the only option
No, we need torch and cuda for zluda so that command would prevent it
thats prolly the issue then lol
Why did you added it?
got the error earlier before i rebooted
Yea totally
You now you need to close everything.
Then open up a cmd and type
Pip cache purge
Then delete the venv folder. And remove the --skip-torch-cuda-test
Then relaunch the webui-user.bat
I don't think so
wilcom
With this guide, do I already have to have Automatic1111 installed, or is this ok to use starting from scratch?
Nope this is from scratch
Ok cool, I'll give it a try in the next few days, thanks
also, should I switch the tag from medvram to something else
Yea, no problem 🙂 feel free to ask if you get any questions
i do have 24GB to leverage
You can remove --medvram-sdxl
It was needed before but yesterday I made a few tests with my 7900xtx and it works now good without it
No more out of vram errors.
You can upscale sdxl by 2 with any amount of Lora's and prompt length.
And you can also use AnimateDiff and it will use 22/24gb xD
yeah the out of vram errors were annoying asf
Its for nvidia only
its trying to launch again but seems as though it might still be stuck
wtf
compooter why
I would be very happy with 4-6 it/s, currently I'm upside down at 58.54s/it
Let it load. Its probably dosing something in the background
Can take up to 10-15 minutes
Ok
it is using 8-9% of my cpu so yea thats prolly right
yep now its downloading a checkpoint
A user who got zluda working with 5700xt tested the speed and got to 1.15 it/s
Can you screenshot the whole cmd?
Okay, go into the models/stable-diffusion folder.
There delete the 1.5 EMA pruned model.
Then download the dreamshaper v8 from here and place it in the same folder.
https://civitai.com/models/4384/dreamshaper
Then relaunch
trying now
didnt change anything
shits fucked, yo
it dont wanna work
very big L
just doesnt do anything at all when i input a prompt
not giving the vram thing now just not doing jack
That's intended
Read my guide
The first gen will take 15-40 minutes
Oh, I forgot to ask... this is for SDXL, or SD 1.5?
its just late and im eepy 😭
For 1.5
Dangit
But you also can use sdxl faster
How so?
I think on directml with 8gb it wouldn't even loaded
whats sdxl times looking like on an xtx?
4-5 it/s
Fooocus works with my 5700 XT, but I think it's the only SDXL variant that does
so i dont actually know what that metric means
just that more is more good
Okay, yea I mean sdxl will work much faster on zluda than on any directml based webui
4 or 5 iterations per second?
and is each sampling step an iteration or something entirely different
Sampling step should be an iteration but I'm not 100% sure
okie
But if your guide is for 1.5 and not SDXL, then I don't think there is a way to make Zluda work with SDXL on a 5700 XT
My guide is for a webui that can use any model. 1.5, 2.1, sdxl, (sd3 in future)
Sdxl will work. And we can tweak it to use less vram
looks like it be doing some work
Oh, so I can just drop in SDXL models and use them instead of 1.5 models?
Ok, I have to update my drivers it seems, but I will work on it and see what happens
upscaled this shiba image in automatic1111. is there a way to color match it to the original image on the left im new to a1111. the upscaled image on the right is a bit darker/higher contrast
hi huys, i spent allomost the last 2 weeks trying to get kohya_ss up and running
i tried windows 10 as well as ubuntu22, however i cant seem to get it fully working to use the GPUs
anyone has propper instruction especially on driver versions,os versions and cuda versions
i basically tried cuda11.8 which apparenly is allmost uninstallable on ubuntu22 by now because the drivers 520 wont build
with 535 i cant get any real speed however the gpus is utilized
what OS Ubuntu version do you recommend?
and what cuda and driver version?
How do I know which model folder to put these in? Was it on civiait page where I got them from?
Everything that is 2gb or bigger goes into the models/checkpoints folder
The smaller files go into models/oras
What webui do you use?
comfyui
Is this what you mean?
the top file is 5gb so it should be in this "models" folder?
models\checkpoints
because it's a stable diffusion checkpoint
(most likely as said in its description page)
2gb is a checkpoint?
probably a lora (but they could be embeddings or vae or something else)
what you're downloading is always mentioned on the webpage somewhere
I see thanks I'll check those description pages
eg

thank you all solved
I have 7900xtx too. Do u have full guide for zluda? I keep getting vram errors too
Yes in the pinned messages of this channel, you find my guide
Let me know if it works or if you have any questions about it
Hey, I just downloaded stable diffusion and am using the Comfy UI. I'm following a tutorial with how to use it. However, when I get to the generate image step, I keep getting errors.
I downloaded two different models, the orginal stable diffusion, and a custom model. I get the same error for both models.
The error I receive is 'unknown error.'
What did I do wrong? Can Anyone help?
Does the console spit out anything more than unknown error?
Did you download and select that checkpoint?
Give me one second
I think I solved half the problem. So I tried restarting everything again, but actually closing my browser fully and at least now the default model works. I guess despite me closing the window, and closing the command prompt, it never refreshed or something?
do u need the old a1111 or can i delete that one?
you can delete it, but save your models and loras
i also saw theres one in sys32. can u delete that too?
Yes please
It happens when you don't git clone into a specific folder
oh lol
My guide covers that step so that it won't happen
anyone an idea what causes this inside auto111: RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 1152 but got size 992 for tensor number 4 in the list.
and i need the zluda windows amd zip right?
Yes
What settings did you used?
shot in the dark you're using a CN 1.5 model with a SDXL model
but without a proper full log and / or settings used we can't know for sure
can i just run one time without a model so it does it thing
It needs at least one model
this normal?
The last workflow keeps being loaded in comfy
Are you one the last step of the guide? First image will take 15-40 minutes
Is the generate button grayed out?
I'm having issues with my project
https://vega.js.org/paint
now i get this shit
after restarting pc
Can you show me your path settings?
Is your AMD driver updated?
i think so? how to check
Open the AMD Adrenalin software
Then on the gear icon
it all worked fine when i first installed it
but then i generated without model and it got messed up and then i closed it and it showed me all this errors
Do you have a model inside the models/stable-diffusion folder?
Dreamshaper v8 I guess
When?
5 min ago
Before or after the skip torch cuda error?
after
ok
ok its doing smth new
back up
0%| | 0/20 [00:00<?, ?it/s]
is it supposed to say this tho
when generate
Yes it will take a while
Yes hires fix takes seconds
Yep there is no exit or shutdown
Thanks so much!
No problem 🙂 have fun. Also for sdxl get the fp16 sdxl VAE.
And the Tiled VAE extension if you upscale at higher resolution.
Hello again. I’ve tried to install sd again multiple times (I have an Intel Mac, my GPU is Intel Iris Pro Graphics 62000 1536 MB and I have 8GB of ram), but I still get the same ```File "/Users/sweetcake/stable-diffusion-webui/modules/sd_models.py", line 662, in send_model_to_cpu
if m.lowvram:
AttributeError: 'NoneType' object has no attribute 'lowvram' error on the code and'NoneType' object has no attribute 'lowvram'``` when trying to generate an image. Is there any way to fix this? I couldn’t find any answers online
Yes, there is a fix.
Delete the 1.5 ema pruned model from the models/Stable-diffusion folder.
Then download the Dreamshaper v8 model from here and put it in the same folder.
Then relaunch the webui.
https://civitai.com/models/4384/dreamshaper
Hummm, let me check
You also need to select the new model in the dropdown in the webui
On that note, I’m not able to do that either
(At least with the 1.5 pruned and other models on the folder)
Are the other models at least 2gb in size?
I had one 3.85 GB
That didn’t work when I just had it nor with 1.5 pruned
Whenever I tried to switch the model it would make the loading part and then proceeded to not change the model
Sometimes it won’t even put the only model available on the folder
Okay that's strange

I could try to record what happens, it’s a bit complex to explain properly 
Nop, I’ll try the one from the link
I should also mention I’ve been trying to use sd without a VAE
Not sure if it interferes
@ornate elkstarted doing this on its own all of a sudden?
oh shit it just exactly described the image
thats awesome
Thats ok, it should still work
Have you used the install script for mac from the pinned guides?
Yes
In the last time I installed it I used that script (in the times before I didn’t)
Hmm okay
I was able to find the lines where the error is happening and it’s def send_model_to_cpu(m): if m.lowvram: lowvram.send_everything_to_cpu() else: m.to(devices.cpu)
The code?
#########################################################
# Uncomment and change the variables below to your need:#
#########################################################
# Install directory without trailing slash
#install_dir="/home/$(whoami)"
# Name of the subdirectory
#clone_dir="stable-diffusion-webui"
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
#export COMMANDLINE_ARGS=""
# python3 executable
#python_cmd="python3"
# git executable
#export GIT="git"
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
#venv_dir="venv"
# script to launch to start the app
#export LAUNCH_SCRIPT="launch.py"
# install command for torch
#export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
# Requirements file to use for stable-diffusion-webui
#export REQS_FILE="requirements_versions.txt"
# Fixed git repos
#export K_DIFFUSION_PACKAGE=""
#export GFPGAN_PACKAGE=""
# Fixed git commits
#export STABLE_DIFFUSION_COMMIT_HASH=""
#export CODEFORMER_COMMIT_HASH=""
#export BLIP_COMMIT_HASH=""
# Uncomment to enable accelerated launch
#export ACCELERATE="True"
# Uncomment to disable TCMalloc
#export NO_TCMALLOC="True"
###########################################```
Hm there are no variables set
No launch args
But maybe the script starts the webui.sh with some additional args
Need to be Afk. I will check the script later
Ok
I need help with this, anyone?
You are using Forge webui.
It has Controlnet already integrated.
You see it in the txt2img tab when you scroll down
Hm, makes sense but, why I can't select any models for openpose? I installed several of them
yea its pretty buggy in forge
most people link their controlnet models of their auto1111 installation
Hello. Help me please. When I try to use the Train hypernetwork function, I get this error. What to do?
I didn’t change anything in the files, I just installed CivitAI Browser, lycoris and CivitaiHelper. I found this on GITHub, but the link inside is dead: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13080
Error:
Can anyone help me out with this?
Error occurred when executing SaveImage:
Numpy is not available
File "O:\stable-diffusion-comfyui\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "O:\stable-diffusion-comfyui\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "O:\stable-diffusion-comfyui\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(*slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "O:\stable-diffusion-comfyui\ComfyUI\nodes.py", line 1407, in save_images
i = 255. image.cpu().numpy()
^^^^^^^^^^^^^^^^^^^
same thing posted in #🧣|comfy-ui
I'm attempting to use Lora Training in ComfyUI. Everything works besides when I get to the Training part, and I keep getting this error. I have tried reinstalling python about three times. Remove it from the microsoft store, found earlier versions on my system and removed it, disabled the app launchers from the app list. I've also attemtped to manually download the missing files as well. Maybe I'm just missing something basic? Any help would be great!
@ornate elk sir could you help me pls
cant help with API stuff, sry
Then whoo 😓
Guys I have a question how do I get access to SD 3.0?
it's only accessible through stability.ai's API so far
Alr
Can u link it and is there a tutorial?