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

The install requirement #47

Open
qlinsey opened this issue Mar 7, 2023 · 5 comments
Open

The install requirement #47

qlinsey opened this issue Mar 7, 2023 · 5 comments

Comments

@qlinsey
Copy link

qlinsey commented Mar 7, 2023

Hi,

Firstly, thanks for the work. Can please list the installation requirement.

I am having this issue right now and seems I cannot make it work after a few hours: AttributeError: 'CrossAttention' object has no attribute 'new_forward' .

Look forward to hear from you soon!

@nupurkmr9
Copy link
Collaborator

Hi,
Which of the two versions are you trying to use, CompVis based implementation or diffusers based implementation?

Thanks!

@qlinsey
Copy link
Author

qlinsey commented Mar 16, 2023

Hi, Thank you. i followed the instruction from https://github.com/adobe-research/custom-diffusion . so should be diffusers based, am i right? thanks

@nupurkmr9
Copy link
Collaborator

Hi,
For using custom diffusion with diffusers, the following installations should be good:

pip install accelerate
pip install modelcards
pip install transformers>=4.25.1
pip install deepspeed
pip install diffusers==0.11.0

We also mention the steps for training here. Please let me know if you still face any issues.

Thanks.

@qlinsey
Copy link
Author

qlinsey commented Mar 26, 2023 via email

@dp-0809
Copy link

dp-0809 commented Jul 28, 2023

Hi, For using custom diffusion with diffusers, the following installations should be good:

pip install accelerate
pip install modelcards
pip install transformers>=4.25.1
pip install deepspeed
pip install diffusers==0.11.0

We also mention the steps for training here. Please let me know if you still face any issues.

Thanks.

Hi,
I have installed those pips and the requirements from diffusers.
But terminal report ModuleNotFoundError: No module named 'google.protobuf' and ModuleNotFoundError: No module named 'tensorboardX', when go to the steps of accelerate config.
So, I'm wondering is there any patch compatible requirement problems?

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

No branches or pull requests

3 participants