Run this model with HF Jobs

Run stabilityai/stable-diffusion-3-medium-diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

What is the usual number of steps needed to generate decent images?

#41
by Dinghuai - opened

In the document the num_inference_steps is set to 28. I wonder where does this number come from?

Does anyone know if we can use less steps to generate decent-looking images?

@Dinghuai Depends on what you mean by decent.
Sometimes, 20 steps works fine enough so you can try that. In my opinion, usually the best results come from around 30 or 35 steps where you get good text and quality. Still doesn't really solve human issues but overall good.

Sign up or log in to comment