Skip to content

Conversation

@anton-l
Copy link
Member

@anton-l anton-l commented Dec 9, 2022

As seen on the forums, some libraries can force-reinstall transformers on startup: https://discuss.huggingface.co/t/i-need-help-with-a-transformers-error/27485/

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 9, 2022

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

@patrickvonplaten
Copy link
Contributor

We need to add back all the classes that are not compatible with 4.25.0 here:

if name in ["StableDiffusionDepth2ImgPipeline"] and is_transformers_version("<", "4.26.0.dev0"):

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Perfect thanks!

@anton-l anton-l merged commit 3ebe40f into main Dec 9, 2022
@anton-l anton-l deleted the transformers-version-patch branch December 9, 2022 16:42
anton-l added a commit that referenced this pull request Dec 9, 2022
* Adapt to forced transformers version in some dependent libraries

* style

* Update __init__.py

* update requires_backends
tcapelle pushed a commit to tcapelle/diffusers that referenced this pull request Dec 12, 2022
…gingface#1638)

* Adapt to forced transformers version in some dependent libraries

* style

* Update __init__.py

* update requires_backends
sliard pushed a commit to sliard/diffusers that referenced this pull request Dec 21, 2022
…gingface#1638)

* Adapt to forced transformers version in some dependent libraries

* style

* Update __init__.py

* update requires_backends
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…gingface#1638)

* Adapt to forced transformers version in some dependent libraries

* style

* Update __init__.py

* update requires_backends
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