-
Notifications
You must be signed in to change notification settings - Fork 6.1k
fix dummy import for AudioLDM2 #4741
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
Conversation
Not sure it wasn't caught in the CI :( |
I'm getting import errors locally when my |
The documentation is not available anymore as the PR was closed or merged. |
Colab to reproduce: https://colab.research.google.com/drive/1BFDZWqHWj1eaQeSZX44SU4kyJXO7g4P3?usp=sharing |
I don't immediately see any problem with |
I've attached colab to reproduce the issue. |
But from the looks of it, the error shouldn't be dependent on the |
You can try the colab to reproduce the issue. |
This should not happen as we don't have hard dep on transformers version, imports should work for |
A bit confused here. I was able to do: !pip install git+https://github.com/huggingface/diffusers.git And then: from diffusers import T2IAdapter (no |
Tells me that
But even with that https://github.com/huggingface/diffusers/blob/main/tests/others/test_dependencies.py should have caught it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks! This is a tough issue to spot and here I don't expect our import tester to catch it.
@sayakpaul you need to install |
The CLAP model isn't available when
Is my understanding correct? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch - thanks @patil-suraj for the fix
* fix import * style
* fix import * style
What does this PR do?
fix dummy import for AudioLDM2