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

Commit61603e6

Browse files
authored
xformers installation fix (#731)
1 parentaf0058e commit61603e6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

‎pgml-extension/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ RUN apt-get update && apt-get install -y postgresql-pgml-14
2424
COPY --chown=postgres:postgres . /app
2525
WORKDIR /app
2626
RUN pip3 install -r requirements.txt
27+
RUN pip3 install -r requirements-xformers.txt --no-dependencies
28+
2729
# Listen on 0.0.0.0 and allow 'root' to connect without a password.
2830
# Please modify for production deployments accordingly.
2931
RUN cp /app/docker/postgresql.conf /etc/postgresql/14/main/postgresql.conf
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
xformers==0.0.20

‎pgml-extension/requirements.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ torchaudio==2.0.2
1818
torchvision==0.15.2
1919
tqdm==4.65.0
2020
transformers==4.29.2
21-
xformers==0.0.20
2221
xgboost==1.7.5
2322
langchain==0.0.180
2423
einops==0.6.1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp