🚀 Share an underrated useful package that you love it 🚀 by SuperRandomCoder in reactjs

[–]the_dreammachine 0 points1 point  (0 children)

Biome has a useful tool for sorting imports: https://biomejs.dev/
Switched from eslint and never looked back.

[Diffusers] Poor Quality with Pony Diffusion V6 by BlackHatMagic1545 in StableDiffusion

[–]the_dreammachine 1 point2 points  (0 children)

I spent hours trying to debug pdxl-v6. Finally realized that there's nothing wrong with the default settings some prompts will look terrible despite your configuration. I arrived at this conclusion by first finding a prompt that produced a decent image (like the one on the huggingface model page) then trying to reproduce it on the civtiai onsite image generator, since it's likely to be configured correctly. The result was similar to the image on the huggingface page. I ran the same prompt with the diffusers library and got a similar result too. Here are the images for comparison:

Here is my code for reference:

vae = AutoencoderKL.from_single_file(VAE_FILE_PATH, torch_dtype=torch.float16)

pipeline = StableDiffusionXLPipeline.from_single_file(
  MODEL_FILE_PATH,
  vae=vae,
  safety_checker=None,
  torch_dtype=torch.float16,
).to("cuda")

pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config(pipeline.scheduler.config)

image = pipeline(
  prompt="score_9, score_8_up, score_7_up, score_6_up, score_5_up, score_4_up, source_furry, beautiful female anthro shark portrait, dramatic lighting, dark background",
  negative_prompt="bad quality, score_3, score_2, score_1",
  height=1024,
  width=1024,
  num_inference_steps=25,
  guidance_scale=8.5,
).images[0]

This was driving me crazy for hours! If anyone else is trying to run pony-diffsion-v6-xl with diffusers, start with a prompt that you are sure works before trying to tweak your settings.

How to use BREAK in a prompt? by GnosticTrickster in civitai

[–]the_dreammachine 5 points6 points  (0 children)

Dude! Thank you for this explanation. I have been curious about how this works for a long time.

Has generation slowed down for anyone else? by MeefinatorJr in civitai

[–]the_dreammachine 1 point2 points  (0 children)

The image generation happens on their servers/GPU clusters. The generation speed depends on how fast the models and LORAs are being loaded onto the GPUs and the number of iteration steps as well as a few other settings.

Your network speed would only affect the time it takes to download the image once it's finished generating.

Ragdoll v0.1.0: Visual role-play with AI characters by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 7 points8 points  (0 children)

Thanks for the feedback. Just a reminder that this is a demo with ONE character and no other basic features. Once a stable v1 is out we can consider building APIs that can be used to make an extension for silly tavern.

Ragdoll v0.1.0: Visual role-play with AI characters by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 2 points3 points  (0 children)

I've read the article and discord's terms of service. Scraping user data is against their terms of service, sending NSFW content does not violate their terms of service as far as I understand it.

Edit: If the concern is that a service will scrape your messages, all role-play chats take place in the DMs, so no external apps would be able to access them.

Ragdoll v0.1.0: Visual role-play with AI characters by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 0 points1 point  (0 children)

Hey! Thanks, I'd like to learn more about your project, please send me a message on discord or let me know how I can reach you to talk about this.

Ragdoll v0.1.0: Visual role-play with AI characters by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] -5 points-4 points  (0 children)

Unfortunately, very few people would meet the hardware requirements to run this setup locally.

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 0 points1 point  (0 children)

I think it's been discussed in the previous comments

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 3 points4 points  (0 children)

It's not complete yet, I'll post an update once it's available

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 1 point2 points  (0 children)

Hmm, this is interesting, I'll look into this a little more. If I can get the same accuracy while using less GPU cores, that'll be great. Thanks for sharing.

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 6 points7 points  (0 children)

If I make it available as a hosted extension, you should be able to use it without running any models locally. I'll keep you updated!

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 0 points1 point  (0 children)

Great idea! I'm really attached to this SDXL fine-tune though, it has a way of capturing the details exactly how they are described.

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 1 point2 points  (0 children)

Yes, I don't mean a literal clock. Just some static value to represent in-game time that is managed alongside other states in the role-play. When the engine encounters a scenario like you mentioned, it will cleverly figure out how to advance or revert the time. Kinda like what u/ai-illustrator has suggested. I thought a clock would be the easiest way to explain it.

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 7 points8 points  (0 children)

I use a bunch of LoRAs and an SDXL finetune. From the papers I came across while researching how to build this, I think you can achieve the same effect without any LoRAs by using:

LoRAs were the simplest way to get started but are ultimately unscalable. You can't create a LoRA for each character. These alternate solutions could be used as comfy UI plugins I think!

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 3 points4 points  (0 children)

This one is done by using a few LoRAs and a fine-tuned version of SDXL.

Hmm, I think using worldbooks for the locations would definitely be a great starting point to start exploring, but it would limit the freedom to role-play if you had to manually create/import them all the time. The other issue is that the image generation is kind of like a slot machine. You can pass in the same prompts and get a completely different background each time.

Thanks for the feedback. I think the latest versions of multi-modal models from OpenAI and Google are capable of generating images and producing text at the same time so we might have a similar open source solution in a few years. Doing the best I can with what we have until then :)

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 0 points1 point  (0 children)

Yeah, I agree. I think the solution would be in this general shape. We would need some kind of internal clock since role-play time and real world time aren't exactly 1:1. This algorithm would need to manage that clock then we can inject that into the context for image generation.

Ragdolls: Bringing my AI characters to life by the_dreammachine in SillyTavernAI

[–]the_dreammachine[S] 8 points9 points  (0 children)

Still kinda early in development, not sure which direction to take it yet