Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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