Closed
Description
Describe the bug
If both *.bin
and *.safetensors
weights exist in a repository both are downloaded even thought only the *.safetensors
version are used, doubling the disk size & time to download models.
As we load *.safetensors
by default, we should only download them.
Reproduction
import torch
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16)
Logs
No response
System Info
diffusers==0.11.1