[Stable Diffusion] Prompt Sharing and Learning Thread

namhoang909

Newbie
Apr 22, 2017
87
48
Just get back to my pc after 3 weeks, do some update and the text-generation UI stops working, I am using oobabooga. Can someone take a look and tell how to fix this?
AttributeError: 'LlamaLikeModel' object has no attribute 'layers'
Output generated in 0.49 seconds (0.00 tokens/s, 0 tokens, context 75, seed 514002040)
Are there any other text-generation UI, hopefully lighter than it?
Edit: it seems possible to install a version in the past(thanks to github) now I just have to find the one that worked for me.
 
Last edited:

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,476
4,474
Just get back to my pc after 3 weeks, do some update and the text-generation UI stops working, I am using oobabooga. Can someone take a look and tell how to fix this?

Are there any other text-generation UI, hopefully lighter than it?
Edit: it seems possible to install a version in the past(thanks to github) now I just have to find the one that worked for me.
This thread is about Stable Diffusion image generation, not LLM oobabooga etc.

The short answer to your actual question:
Oobabooga and the underlying libraries are in a constant state of churn and breakage. seems like something updated that needs another package updated.

1st thing to try would be the update_webui.bat (or whatever it is called now)
2nd would be move your downloaded models out to a temp folder (and anything else you want to keep like character defs, system prompts). Then delete the whole thing and reinstall fresh.
 
Last edited:

modine2021

Member
May 20, 2021
417
1,389
been making depth map poses from images found on net. is there a way to get rid of the background areas and just keep the figure? cause when u use the pose it renders whatever was in the map too. i just want the model depth pose created
example:
D69142BAE1E941EAE0BA99730983EC8E19E5C86A8AB97BDED427AAF489CF3987-17136722400027.png
D69142BAE1E941EAE0BA99730983EC8E19E5C86A8AB97BDED427AAF489CF3987.jpeg
 
  • Like
Reactions: Markbestmark

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,476
4,474
modine2021 The depth map is just an image. You could download it, use an image editor to remove the background (replace it with pure black) and then re-upload as the controlnet depth mask.

The details of downloading/saving and re-uploading depend on the tool you are using. No guarantee that online AI generators allow that functionality. Local install of comfyui etc will definitely allow the setup though.

note that the AI will fill the black background parts with whatever is in your prompt, but is unlikely to do anything "close" there because of the black -> far away meaning.
 

modine2021

Member
May 20, 2021
417
1,389
modine2021 The depth map is just an image. You could download it, use an image editor to remove the background (replace it with pure black) and then re-upload as the controlnet depth mask.

The details of downloading/saving and re-uploading depend on the tool you are using. No guarantee that online AI generators allow that functionality. Local install of comfyui etc will definitely allow the setup though.

note that the AI will fill the black background parts with whatever is in your prompt, but is unlikely to do anything "close" there because of the black -> far away meaning.
im using this.. it has a n option to remove the background. but it looks a mess. or maybe im just doin it wrong:
 

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,476
4,474
im using this.. it has a n option to remove the background. but it looks a mess. or maybe im just doin it wrong:
I've not used that plugin before, I assumed you were using ControlNet Depth, which has the functionality I mentioned to upload your own source image for depth maps.
 
  • Like
Reactions: modine2021

modine2021

Member
May 20, 2021
417
1,389
I've not used that plugin before, I assumed you were using ControlNet Depth, which has the functionality I mentioned to upload your own source image for depth maps.
i use it cause u can batch files or whole folders. and it has a standalone version :cool:
 

deadshots2842

Member
Apr 30, 2023
188
290
What's up y'all I'm new to sb. So is there a way I can recreate img2img without any change?(like upscaling to higher resolution without any change)
 

Sharinel

Active Member
Dec 23, 2018
598
2,511
What's up y'all I'm new to sb. So is there a way I can recreate img2img without any change?(like upscaling to higher resolution without any change)
If you use forge or Automatic1111 you can use the extras tab, although there are probably better alternatives like Ultimate SD Upscale

Screenshot 2024-04-24 172106.jpg
 

Jimwalrus

Well-Known Member
Sep 15, 2021
1,047
4,002
This is primarily for deadshots2842 who requested it, but may be of interest to anyone who wants to replicate the artist SunsetRiders7's work (as found in Something Unlimited).

I've included the prompts etc. separately as deadshots2842 is using ComfyUI and I'm not sure how the PNGInfo of an image generated in A1111 would 'port across'.

Main Checkpoint I use (for SD1.5 - I can't get XL to work due to technical issues) is 'Anything 4.5 (VAE-Swapped)' which no longer seems to be available. Apparently that's the Checkpoint the main LoRA I use was trained on, so I've uploaded it to - N.B. it's 3.9GB! Short hash should be a504b5b137
Please exercise appropriate caution downloading a file that's been uploaded by some random stranger on the Internet. I know it's safe, but then I would say that, wouldn't I? :unsure:

However, any comics / cartoon / anime-focused Checkpoint is worth a try, they can give great results. Anything v3.0 or v5.0 especially.


The main LoRA I use is , created some time ago now by ablackcatman
There are also which, although they're not as consistent and can produce 'Anime-like' results, they can come in handy if weird stuff is happening with the first one.
There's a for PonyXL, but I have no 1st hand experience with it.

As an example image, here's one of the waitresses from the Glamor Slam who decided to get some of that sweet, sweet tips money:

You don't have permission to view the spoiler content. Log in or register now.

00074-2666781699.png

If you run into problems converting the above info from A1111 to ComfyUI, you'll need to ask one of the resident ComfyUI gurus, I haven't even tried it yet - been too busy having heart surgery recently!
 

deadshots2842

Member
Apr 30, 2023
188
290
This is primarily for deadshots2842 who requested it, but may be of interest to anyone who wants to replicate the artist SunsetRiders7's work (as found in Something Unlimited).

I've included the prompts etc. separately as deadshots2842 is using ComfyUI and I'm not sure how the PNGInfo of an image generated in A1111 would 'port across'.

Main Checkpoint I use (for SD1.5 - I can't get XL to work due to technical issues) is 'Anything 4.5 (VAE-Swapped)' which no longer seems to be available. Apparently that's the Checkpoint the main LoRA I use was trained on, so I've uploaded it to - N.B. it's 3.9GB! Short hash should be a504b5b137
Please exercise appropriate caution downloading a file that's been uploaded by some random stranger on the Internet. I know it's safe, but then I would say that, wouldn't I? :unsure:

However, any comics / cartoon / anime-focused Checkpoint is worth a try, they can give great results. Anything v3.0 or v5.0 especially.


The main LoRA I use is , created some time ago now by ablackcatman
There are also which, although they're not as consistent and can produce 'Anime-like' results, they can come in handy if weird stuff is happening with the first one.
There's a for PonyXL, but I have no 1st hand experience with it.

As an example image, here's one of the waitresses from the Glamor Slam who decided to get some of that sweet, sweet tips money:

You don't have permission to view the spoiler content. Log in or register now.

View attachment 3571236

If you run into problems converting the above info from A1111 to ComfyUI, you'll need to ask one of the resident ComfyUI gurus, I haven't even tried it yet - been too busy having heart surgery recently!
This is primarily for deadshots2842 who requested it, but may be of interest to anyone who wants to replicate the artist SunsetRiders7's work (as found in Something Unlimited).

I've included the prompts etc. separately as deadshots2842 is using ComfyUI and I'm not sure how the PNGInfo of an image generated in A1111 would 'port across'.

Main Checkpoint I use (for SD1.5 - I can't get XL to work due to technical issues) is 'Anything 4.5 (VAE-Swapped)' which no longer seems to be available. Apparently that's the Checkpoint the main LoRA I use was trained on, so I've uploaded it to - N.B. it's 3.9GB! Short hash should be a504b5b137
Please exercise appropriate caution downloading a file that's been uploaded by some random stranger on the Internet. I know it's safe, but then I would say that, wouldn't I? :unsure:

However, any comics / cartoon / anime-focused Checkpoint is worth a try, they can give great results. Anything v3.0 or v5.0 especially.


The main LoRA I use is , created some time ago now by ablackcatman
There are also which, although they're not as consistent and can produce 'Anime-like' results, they can come in handy if weird stuff is happening with the first one.
There's a for PonyXL, but I have no 1st hand experience with it.

As an example image, here's one of the waitresses from the Glamor Slam who decided to get some of that sweet, sweet tips money:

You don't have permission to view the spoiler content. Log in or register now.

View attachment 3571236

If you run into problems converting the above info from A1111 to ComfyUI, you'll need to ask one of the resident ComfyUI gurus, I haven't even tried it yet - been too busy having heart surgery recently!
Hello can someone help me I get everything upto positive and negative prompt but after that my ksampler don't have all the options. Thanks
 

deadshots2842

Member
Apr 30, 2023
188
290
Comfy is a lot better if you have a gfx card with 8-16gig ram, it only didn't work for me because my 4090 was quick enough through auto1111 and I loath the flowchart method of creating with comfy
I don't have 4090 but I got 3060 12 gb I'll try to install auto. I heard someone saying that comfy can also give less results compared to auto is that true?
 
  • Like
Reactions: Jimwalrus

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,476
4,474
I don't have 4090 but I got 3060 12 gb I'll try to install auto. I heard someone saying that comfy can also give less results compared to auto is that true?
ComfyUI and Automatic1111 are different user interfaces to the same underlying diffusion model processing.

Automatic1111 is the OG public open way for non-experts to run stable diffusion models at home. The first wave of community extensions (sd1.5 controlnet and the like) were all built around it and broke new ground. It is no longer the only game in town, and the pace of development seems to have slowed a bit. Some of the energy has been siphoned off into making commercialized hosted versions of webui.

ComfyUI can potentially have more flexibility in how you can arrange inputs and operations on the pipeline. But given how hard it is to understand what is going on anyway, few people seem to have a good grasp on how to use it effectively, and thus just imitate other people's working flows. cargo cult stuff. The flow based mechanism is similar to the game development patterns of unreal engine or blender's 3d shaders, so some people are familiar with that style of "coding/configuration". I think it's a bit of the mental divide though - flow style appeals to some people, others like the explicitness of a traditional UI.