Skip to content

CompVis/stable-diffusion-v1-4 is missing fp16 files #2419

@vilobhmm

Description

@vilobhmm

Problem

You are loading the variant fp16 from CompVis/stable-diffusion-v1-4 via revision='fp16'. This behavior is deprecated and will be removed in diffusers v1. One should use variant='fp16' instead. However, it appears that CompVis/stable-diffusion-v1-4 currently does not have the required variant filenames in the 'main' branch.

Action

Taking appropriate action depending on the signal

The Diffusers team and community would be very grateful if you could open an issue: https://github.com/huggingface/diffusers/issues/new with the title 'CompVis/stable-diffusion-v1-4 is missing fp16 files' so that the correct variant file can be added.
warnings.warn(

Code snippet to reproduce problem

model_id = "CompVis/stable-diffusion-v1-4"
device = "cuda"
pipe = StableDiffusionPipeline.from_pretrained(model_id,
#use_auth_token=True,
use_auth_token="XXX",
revision="fp16",
torch_dtype=torch.float16)
pipe = pipe.to(device)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions