Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Loading] Ignore unneeded files #1107

Merged
merged 2 commits into from
Nov 2, 2022
Merged

Conversation

patrickvonplaten
Copy link
Contributor

No description provided.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 2, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@anton-l anton-l left a comment

Choose a reason for hiding this comment

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

Very nice! Should we exclude *.ckpt too maybe?

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

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

Looks good!

@patrickvonplaten
Copy link
Contributor Author

patrickvonplaten commented Nov 2, 2022

Very nice! Should we exclude *.ckpt too maybe?

They should be excluded automatically because they'll never be inside any folder. The allow pattern only allows for folders as defined in the model_index.json

@patrickvonplaten patrickvonplaten merged commit c39a511 into main Nov 2, 2022
@patrickvonplaten patrickvonplaten deleted the ignore_flax_files_for_pytorch branch November 2, 2022 18:20
pcuenca added a commit that referenced this pull request Nov 26, 2022
It worked for models but not for pipelines.
Accidentally broken in #1107.
@pcuenca pcuenca mentioned this pull request Nov 26, 2022
pcuenca added a commit that referenced this pull request Nov 28, 2022
Fix Flax `from_pt`.

It worked for models but not for pipelines.
Accidentally broken in #1107.
sliard pushed a commit to sliard/diffusers that referenced this pull request Dec 21, 2022
Fix Flax `from_pt`.

It worked for models but not for pipelines.
Accidentally broken in huggingface#1107.
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* [Loading] Ignore unneeded files

* up
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
Fix Flax `from_pt`.

It worked for models but not for pipelines.
Accidentally broken in huggingface#1107.
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