#Serverless SDXL Turbo endpoint returning seed inconsistent images

51 messages · Page 1 of 1 (latest)

lyric comet
#

I deployed a serverless SDXL Turbo endpoint but it returns different result despite using the same input seed and settings. Works fine with SDXL. Am I missing something?

glad jasper
#

Sounds like the seed is being ignored, check the code to figure out why.

limber lagoon
#

if you're using comfyui and using the same seeds to generate multiple times, your image might be cached in the ksampler, and it will just re decode the same latent sample to the vae and result to the same identical image as from the previous generations

lyric comet
limber lagoon
#

Check the github repo search it uo

lyric comet
limber lagoon
#

It should be correct if I'm not wrong from my memories checking the repo out

#

Wow steaming with sdxl interesting

limber lagoon
glad jasper
lyric comet
glad jasper
#

Because the image you're using is a RunPod image and all RunPod images are open source.

limber lagoon
#

Seems like so

limber lagoon
#

You can edit it and build your own docker image if you like to

lyric comet
#

I tested sdxl-turbo in ComfyUI again and I do get the same output given the same parameter. I made sure this was not a cache hit by restarting ComfyUI.

lyric comet
limber lagoon
#

Let me check on this inn a bit

lyric comet
#

I need to learn how to "open" a docker image to see what is inside next

#

And by the way, thank you so much for helping and trying to figure it out

glad jasper
#

You can set an active worker, start web terminal and view the source code to the hander.

limber lagoon
#

okay found it

#

ucodia, you can use this to set seeds in generation

limber lagoon
limber lagoon
lyric comet
#

I actually realized that the model only seems to take the positive prompt in account, changing the size or steps had no effect either!

limber lagoon
#

Hmm i guess so

#

{
"input": {
"prompt": "An image of a cat with a hat on.",
}
}
How are you inputting size, steps?

#

job_input = job['input']
prompt = job_input['prompt']

#

i only see prompt there ( postive )

lyric comet
#

I input all of it,

{
  "input": {
    "prompt": "a magestical orange fluffly cat in a ferny forest full of glowing mushrooms, photo realistic",
    "width": 512,
    "height": 512,
    "num_inference_steps": 2,
    "guidance_scale": 1,
    "strength": 1,
    "seed": 2112
  }
}
#

I am using the Runpod SDK for JavaScript

limber lagoon
#

ah idk, maybe it got deleted then

#

i guess the best way now is to create your custom handler

lunar pulsar
lyric comet
#

Thank you for the tips, really appreciate it. I really hoped I would not have to learn how to code/configure this as it was documented officially 🥲

limber lagoon
#

It's on docker docs

#

Hmm yeah I think runpod basic ready to use templates on serverless especially the one using hf workers doesn't provide much to customize

#

You can use a1111 worker for that if you'd like to

#

Search it up, a1111 worker Ashleyk, github

lyric comet
limber lagoon
#

Sure hahahah

#

But imo it's easier to just setup a1111 worker

#

And you can put the model in the right directory

#

And then voila just use the API