iant}.bin or from diffusion_pytorch_model.safetensors to diffusion_pytorch_model.{variant}.safetensors. By doing so, one creates a variant of the pipeline checkpoint that can be loaded instead of the “main” pipeline checkpoint.
Let’s have a look at how we could create a float16 variant of a pipeline. First, we load
the “main” variant of a checkpoint (stored in float32 precision) into mixed precision format, using torch_dtype=torch.float16.


	C