[Stable Diffusion] Prompt Sharing and Learning Thread

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,127
3,187
how to get the --xformers to work with the new version of AUTOMATIC1111 version v1.7.0
have tried using set COMMANDLINE_ARGS=--allow-code --xformers in the environment.bat but
nothing is working

run.bat
Echo off

call environment.bat

cd %~dp0webui
call webui-user.bat

environment.bat
Echo off

set DIR=%~dp0system
set COMMANDLINE_ARGS=--allow-code --xformers

set PATH=%DIR%\git\bin;%DIR%\python;%DIR%\python\Scripts;%PATH%
set PY_LIBS=%DIR%\python\Scripts\Lib;%DIR%\python\Scripts\Lib\site-packages
set PY_PIP=%DIR%\python\Scripts
set SKIP_VENV=1
set PIP_INSTALLER_LOCATION=%DIR%\python\get-pip.py
set TRANSFORMERS_CACHE=%DIR%\transformers-cache
I have figure it out

how to install xformers

go to webui folder then open webui-user.bat then paste --xformers and save
 

JValkonian

Member
Nov 29, 2022
285
256
I have figure it out

how to install xformers

go to webui folder then open webui-user.bat then paste --xformers and save
I made this SAME mistake two days ago trying to install xformers kept getting errors, then after I added --xformers to webui-user.bat, it installed, poof no more errors LOL. No idea why I did not try that FIRST.
 

Kryptozoid

Well-Known Member
Sep 3, 2016
1,208
2,533
Hello, I use A1111 with the --listen argument, so that I can run A1111 on one computer with a 3090 and use it on another.
I want to try Comfy, but is there a similar function in it ?
 

devilkkw

Member
Mar 17, 2021
323
1,093
Hello, I use A1111 with the --listen argument, so that I can run A1111 on one computer with a 3090 and use it on another.
I want to try Comfy, but is there a similar function in it ?
If i remember you have to edit .bat file (run_nvidia_gpu.bat or run_cpu.bat) and add at the end --listen like:
Code:
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --listen
 
  • Like
Reactions: Kryptozoid

Delambo

Newbie
Jan 10, 2018
99
89
I'm here working with AI stuff because I want to make a VN, and do my first one solo so I understand it better, but I suck at all art related shit. I also think most Daz and all Honey don't look great. So I've been trying to figure out how to go from a render that lays stuff out the way I want, to a scene, sprite, etc that I'd personally like to look at. Today I went from this to that.

25078292.png
00030-3278687217.png 00139-3662560085.png 00152-1965579486.png 00161-3990339770.png 00165-622919971.png
 
Last edited:

Sepheyer

Well-Known Member
Dec 21, 2020
1,571
3,768
This is a series of images using an increasing number of "steps" in an iterative upscaling. Upscaling is to 1.5 and steps/iterations is 3-8 (number in each filename), using a decreasing denoise. As an example first upscaling would be denoising of 0.5 and an upscale to 1.2 of original size, and the last would be 0.1 and 1.5 of original size with the steps inbetween being distributed equally. (not the actual values as i cba doing the math etc for all of it, so purely for representation.) Workflow is using the same type of setup i posted a while ago regarding this method.
You can see how the detailing increase and/or changes elements, but it generally doesn't add massively over done areas. There's some oddities that pop in, but they also get "fixed" in later images.

Might not be of too much interest, but there's boobs...which is usually a good thing...
View attachment 3388902 View attachment 3388901 View attachment 3388900 View attachment 3388899 View attachment 3388898 View attachment 3388897

You don't have permission to view the spoiler content. Log in or register now.
Brother, may I kindly ask you to always have workflows included with your images? If one can't pop your CUI render into CUI actual then these gorgeous images belong in the art sharing thread. I trust we've been through these a few times, so next time I'll be asking the mods to just move these images to the art thread. Yes, I know, there are good reasons why you post the images the way you do, and this is what that other art thread is for. I mean this in a supportive way.

Would be superb if you could add workflows to these two posts:
https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-13072217
https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-13062006
 
  • Like
Reactions: theMickey_

devilkkw

Member
Mar 17, 2021
323
1,093
1.8 is out now. have someone tested it? is good to switch or i stay in 1.5.2? i ask because v1.7 are really bad, and i overvrite it with Forge. Please share your impression about v1.8, thanks.
 

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,802
1.8 is out now. have someone tested it? is good to switch or i stay in 1.5.2? i ask because v1.7 are really bad, and i overvrite it with Forge. Please share your impression about v1.8, thanks.
I switched to Forge recently and I don't regret it. Try it out. You can keep using the checkpoint models in the old folder by editing the user.bat file with filepaths for the different folders. Olivio Sarika made an excellent tutorial. If you don't like it then you will simply delete Forge, no harm, no foul.. However if you choose to switch it's easy enough to simply cut/paste everything over to the new folders. My experience is that Forge is much more stable and faster than A1111. It comes with a bunch of very useful extensions that likely is unfamiliar. I would likely not have found these extensions on my own. Forge allowed me to get back into SDXL, that I had given up on because it were so slow and problematic with my old GPU.

00011-687871855.png
 

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,127
3,187
I switched to Forge recently and I don't regret it. Try it out. You can keep using the checkpoint models in the old folder by editing the user.bat file with filepaths for the different folders. Olivio Sarika made an excellent tutorial. If you don't like it then you will simply delete Forge, no harm, no foul.. However if you choose to switch it's easy enough to simply cut/paste everything over to the new folders. My experience is that Forge is much more stable and faster than A1111. It comes with a bunch of very useful extensions that likely is unfamiliar. I would likely not have found these extensions on my own. Forge allowed me to get back into SDXL, that I had given up on because it were so slow and problematic with my old GPU.

View attachment 3403183
can you give a link to Forge
 

me3

Member
Dec 31, 2016
316
708
Brother, may I kindly ask you to always have workflows included with your images? If one can't pop your CUI render into CUI actual then these gorgeous images belong in the art sharing thread. I trust we've been through these a few times, so next time I'll be asking the mods to just move these images to the art thread. Yes, I know, there are good reasons why you post the images the way you do, and this is what that other art thread is for. I mean this in a supportive way.

Would be superb if you could add workflows to these two posts:
https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-13072217
https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-13062006
This image uses the same workflow, except it's about 1/3 of the nodes as i were testing the advanced clip nodes to test the weight interpretation and have more "a1111 like" prompts to share. So almost all nodes were tripled run the comfy, comfy++ and a1111 interpretations at the same time.
There's still some unused/muted nodes and a lot of nice noodles. Might want to check the collapsed clip nodes as it's currently set to a1111 if there's some odd/unexpected behavior with prompts

Need to tweak the denoising for this image some more but that's irrelevant for the workflow itself.

workflow_00001.png

Edit: forgot to include that the prompt is "stolen" from
 
Last edited:

me3

Member
Dec 31, 2016
316
708
I switched to Forge recently and I don't regret it. Try it out. You can keep using the checkpoint models in the old folder by editing the user.bat file with filepaths for the different folders. Olivio Sarika made an excellent tutorial. If you don't like it then you will simply delete Forge, no harm, no foul.. However if you choose to switch it's easy enough to simply cut/paste everything over to the new folders. My experience is that Forge is much more stable and faster than A1111. It comes with a bunch of very useful extensions that likely is unfamiliar. I would likely not have found these extensions on my own. Forge allowed me to get back into SDXL, that I had given up on because it were so slow and problematic with my old GPU.

View attachment 3403183
Is the vram use/need with SDXL much lower than in a1111?
 

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,802
Is the vram use/need with SDXL much lower than in a1111?
It depends on the GPU you have. If you have a lower end card you will make bigger gains. If you have a high end card you will get, I don't remember exactly but lets say 5-10% perhaps, probably a little less. It's very noticeable for me at least with an old GTX1070. The biggest thing is that Forge is more stable, less bugs and better memory management. Each user case scenario will be different because each PC hardware component makes a difference in the end even though the GPU is the big thing.
 

devilkkw

Member
Mar 17, 2021
323
1,093
I switched to Forge recently and I don't regret it. Try it out. You can keep using the checkpoint models in the old folder by editing the user.bat file with filepaths for the different folders. Olivio Sarika made an excellent tutorial. If you don't like it then you will simply delete Forge, no harm, no foul.. However if you choose to switch it's easy enough to simply cut/paste everything over to the new folders. My experience is that Forge is much more stable and faster than A1111. It comes with a bunch of very useful extensions that likely is unfamiliar. I would likely not have found these extensions on my own. Forge allowed me to get back into SDXL, that I had given up on because it were so slow and problematic with my old GPU.

View attachment 3403183
Yes, i say something about Forge here, i'm totally in accord with you. Better experience than a1111.
Actually i don't have time to test a1111 1.8, maybe i try it later, but Forge seem optimized a lot than a1111.
Did you run with same option i wrote in quoted 3ad?

can you give a link to Forge
link inside quoted 3ad.
For who love a1111 there are a fork version called , this version seem apply benefit of CUI memory managment in a1111, also add some features actually i've not tested.
I tested it as standard, like running a1111 and i'm impressed on speed and result, also go up on resolution without getting OOM error. generat a 1000x1280 sd1.5 image (limit of my model allow before getting double), is about 1.5 it/s (in a1111 896x115 is 1.2 it/s).
But i reached max speed by adding "--cuda-malloc" "--pin-shared-memory" "--cuda-stream" in webui-user.bat. With these option i reach 1.9 it/s!

Also all images without hires.fix and without upscale, native 1000x1280 cfg16.2 18step.

Some extension not work atm, but mayor extension work like a charm.
You don't have permission to view the spoiler content. Log in or register now.

For try it i suggest copy your a1111 folder, and extract forge in top of it, overwrite when required. run.
Remember to reinstall torch and xformers because forge want new version(but work also in old version).
 
  • Like
Reactions: rayminator

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,802
Yes, i say something about Forge here, i'm totally in accord with you. Better experience than a1111.
Actually i don't have time to test a1111 1.8, maybe i try it later, but Forge seem optimized a lot than a1111.
Did you run with same option i wrote in quoted 3ad?


link inside quoted 3ad.
You shared settings? No I always find my own. 3ad? I'm not sure what that refers to.
 

pigsboozer

New Member
Mar 1, 2024
2
1
I gave up on vehicles, it was just another element sd could get wrong.
Interestingly, I can get decent renders of something like an E60 Chassis BMW 5 series, but something less ubiquitous (like my once loved SAAB 9000 Aero) becomes a jumbled mess. Ditto for aircraft, I am an aviation photographer, and I have tried 3 or 4 different AI image generation tools, and even a simple F-15C comes out as a jumbled mess, with perhaps even a third intake. They also look really Macross which is cool, but I was looking for an F-15, not a VF-1. You guys do some beautiful work here, I will post up my newbie stuff when I go downstairs to my Windows PC. I met Jimwalrus from another Board, and he has been so helpful.
 
  • Like
Reactions: Mr-Fox

Sepheyer

Well-Known Member
Dec 21, 2020
1,571
3,768
Respectfully I am new to this, just recently installed everything last night - are you able to share what Model and LoRA if any for these renderings? And maybe even the prompt? Really like the appearance. Any help would be appreciated.
You can open most files with notepad and the file should include the meta at the top of the file showing how the image was generated. In this particular case:

"full body HOT 18 year old adriana chechik with huge breast, abs, ((school girl)), (on campus) with Pamela Anderson, teacher, (mini skirt) hazel brown hair, jewelry, symmetry, digital painting
trending on artstation by Michael Garmash, (jeremy lipking), (photo), (detailed hands)
Negative prompt: ((((((male))), (((guy))), (((dude))), (((boy))), (((man)))))).
cartoon, ((disfigured)), ((bad art)), ((deformed)), ((poorly drawn)), ((ex-
tra limbs)), ((b&w)), weird colors, blurry
Steps: 38, Sampler: Euler a, CFG scale: 8, Seed: 1836225617, Size: 640x832, Model hash: 5a369d04a0, Model: pfg"