Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
santiatpml merged 2 commits intomasterfromsanti-xformers-dockerfile
Jun 13, 2023
Merged

Conversation

@santiatpml
Copy link
Contributor

No description provided.

@santiatpmlsantiatpml requested a review fromlevkkJune 13, 2023 03:41
torchvision==0.15.2
tqdm==4.65.0
transformers==4.29.2
xformers==0.0.20
Copy link
Contributor

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?

Copy link
Contributor

@levkklevkkJun 13, 2023
edited
Loading

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-dependencies

which is then installable with

pip install -r requirements-xformers.txt

Copy link
Contributor

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.

santiatpml reacted with thumbs up emoji
Copy link
ContributorAuthor

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

@santiatpmlsantiatpml requested a review fromlevkkJune 13, 2023 04:04
@santiatpmlsantiatpml merged commit61603e6 intomasterJun 13, 2023
@santiatpmlsantiatpml deleted the santi-xformers-dockerfile branchJune 13, 2023 04:15
SilasMarvin pushed a commit that referenced this pull requestOct 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@levkklevkkAwaiting requested review from levkk

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@santiatpml@levkk

[8]ページ先頭

©2009-2025 Movatter.jp