Skip to content

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
@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'
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
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