- Notifications
You must be signed in to change notification settings - Fork352
xformers installation fix#731
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| torchvision==0.15.2 | ||
| tqdm==4.65.0 | ||
| transformers==4.29.2 | ||
| xformers==0.0.20 |
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.
We use this file to install dependencies elsewhere, e.g. in our production cloud. Would it be possible to add another file, perhapsrequirements-xformers.txt to install that special package?
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.
I think you can do:
requirements-xformers.txt
xformers==0.0.20 --no-dependencieswhich is then installable with
pip install -r requirements-xformers.txtThere 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.
I'm afraid that if we put this package only in the dockerfile, we'll forget to add it elsewhere where it's needed.
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.
--no-dependencies has to be outside requirements.txt file.pip install -r requirements-xformers.txt --no-dependencies
No description provided.