The variant extends the weight name by the provided variation, by changing the default weight name from diffusion_pytorch_model.bin to diffusion_pytorch_model.{variant}.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.