Asked about Working with pretrained image models
You need image generation under one second per image. What are your options?
An answer that works
Fewer steps with a better sampler, a distilled few-step model, smaller resolution with upscaling, 16-bit weights and compiled models, batching, and caching repeated prompts. Measure quality on representative prompts at each setting rather than choosing by eye.
Reading an answer is not being able to give one. The section that teaches this is Working with pretrained image models, 3 hours of Diffusion & generative models.
Learn this properlyAlso asked about Diffusion & generative models
How do diffusion models work?Why did diffusion displace GANs?What is latent diffusion?How do you trade quality against latency in a diffusion model?What is classifier-free guidance?How would you add a specific style to a diffusion model?Write down the diffusion training objective and explain it.You trained a diffusion model and samples look like blurry blobs. What might be wrong?