lly yield
higher quality images for inference. Non-EMA weights are usually better for continuing finetuning.   upcast_attention (bool, optional, defaults to None) —
Whether the attention computation should always be upcasted.   image_size (int, optional, defaults to 512) —
The image size the model was trained on. Use 512 for all Stable Diffusion v1 models and the Stable
Diffusion v2 base model. Use 768 for Stable Diffusion v2.   prediction_type