Skip to content

Conversation

@yiyixuxu
Copy link
Collaborator

@yiyixuxu yiyixuxu commented Aug 21, 2024

we cannot run this script anymore because the repo contains additional folders like vae_decoder etc (discovered when I try to run the testing script from this PR #8990)

import torch
from diffusers import  AutoPipelineForImage2Image

pipe = AutoPipelineForImage2Image.from_pretrained(
        "stabilityai/stable-diffusion-xl-base-1.0",
        variant="fp16",
        use_safetensors=True,
        torch_dtype=torch.float16,
        )

fixing here

@yiyixuxu yiyixuxu requested a review from DN6 August 21, 2024 03:28
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@DN6 DN6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch 💪🏽 thanks for fixing 🙏🏽

@DN6 DN6 merged commit 214372a into main Aug 21, 2024
@yiyixuxu yiyixuxu deleted the fix-safetensors-check branch August 21, 2024 17:21
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants