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

[CI] Pin diffusers #936

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Conversation

younesbelkada
Copy link
Contributor

Fixes the current failing CI by pinning diffusers to before 0.21

The 0.21 version introduced a new way to load and run lora layers, and also introduced the scale parameter for forward pass. As this behaviour seems to break inference with PEFT, let's pin diffusers version and wait for the more global diffusers + peft integration coming soon

cc @pacman100 @BenjaminBossan

@younesbelkada younesbelkada changed the title [Core] Pin diffusers [CI] Pin diffusers Sep 15, 2023
Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @younesbelkada, LGTM!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 15, 2023

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

@younesbelkada younesbelkada merged commit c8c936e into huggingface:main Sep 15, 2023
11 checks passed
@younesbelkada younesbelkada deleted the pin-diffusers branch September 15, 2023 11:46
BenjaminBossan added a commit to BenjaminBossan/peft that referenced this pull request Oct 18, 2024
The pin was added way back in huggingface#936 and then we forget to ever remove it.

This is now causing trouble, as the old diffusers version still uses
cached_download, which was removed from huggingface_hub:

> ImportError: cannot import name 'cached_download' from 'huggingface_hub'
BenjaminBossan added a commit that referenced this pull request Oct 18, 2024
The pin was added way back in #936 and then we forget to ever remove it.

This is now causing trouble, as the old diffusers version still uses
cached_download, which was removed from huggingface_hub:

> ImportError: cannot import name 'cached_download' from 'huggingface_hub'
sirluk pushed a commit to sirluk/peft that referenced this pull request Oct 19, 2024
The pin was added way back in huggingface#936 and then we forget to ever remove it.

This is now causing trouble, as the old diffusers version still uses
cached_download, which was removed from huggingface_hub:

> ImportError: cannot import name 'cached_download' from 'huggingface_hub'
yaswanth19 pushed a commit to yaswanth19/peft that referenced this pull request Oct 20, 2024
The pin was added way back in huggingface#936 and then we forget to ever remove it.

This is now causing trouble, as the old diffusers version still uses
cached_download, which was removed from huggingface_hub:

> ImportError: cannot import name 'cached_download' from 'huggingface_hub'
yaswanth19 pushed a commit to yaswanth19/peft that referenced this pull request Oct 20, 2024
The pin was added way back in huggingface#936 and then we forget to ever remove it.

This is now causing trouble, as the old diffusers version still uses
cached_download, which was removed from huggingface_hub:

> ImportError: cannot import name 'cached_download' from 'huggingface_hub'
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