mpt, generator=generator).images[0]
image  This process took ~30 seconds on a T4 GPU (it might be faster if your allocated GPU is better than a T4). By default, the DiffusionPipeline runs inference with full float32 precision for 50 inference steps. You can speed this up by switching to a lower precision like float16 or running fewer inference steps. Let’s start by loading the model in float16 and generate an image:   Copied import torch

pipel