load model
#35
by
yangxiaoze
- opened
ValueError: Cannot load <class 'diffusers.models.autoencoders.autoencoder_kl.AutoencoderKL'> from stabilityai/stable-diffusion-3-medium-diffusers because the following keys are missing: post_quant_conv.weight, post_quant_conv.bias, quant_conv.bias, quant_conv.weight.
Are you authenticated with hf? Try this:
...
access_token = "YOUR_HUGGINGFACE_TOKEN"
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16, token=access_token)
...