Skip to content

Conversation

@pcuenca
Copy link
Member

@pcuenca pcuenca commented Sep 29, 2023

The following will download safetensors and onnx files:

from diffusers.pipelines import FlaxStableDiffusionXLPipeline
_ = FlaxStableDiffusionXLPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0",
    revision="refs/pr/95",
)

Ideally we should bring over some of the logic we've been adding to pipeline_utils.py, but this PR does the trick for now.

@patrickvonplaten
Copy link
Contributor

Thanks, noticed that too

@patrickvonplaten patrickvonplaten merged commit 0c7cb9a into main Oct 2, 2023
@patrickvonplaten patrickvonplaten deleted the flax-ignore-patterns branch October 2, 2023 10:17
chuzhdontcode pushed a commit to chuzhdontcode/diffusers that referenced this pull request Oct 4, 2023
…uggingface#5237)

Ignore PyTorch, ONNX files when they coexist with Flax weights
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…uggingface#5237)

Ignore PyTorch, ONNX files when they coexist with Flax weights
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
…uggingface#5237)

Ignore PyTorch, ONNX files when they coexist with Flax weights
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.

3 participants