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

Appearance settings

Commit 61603e6

Browse filesBrowse files
authored
xformers installation fix (#731)
1 parent af0058e commit 61603e6
Copy full SHA for 61603e6

File tree

3 files changed

+3
-1
lines changed
Filter options

3 files changed

+3
-1
lines changed

‎pgml-extension/Dockerfile

Copy file name to clipboardExpand all lines: pgml-extension/Dockerfile
+2Lines 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
+1Lines 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

Copy file name to clipboardExpand all lines: pgml-extension/requirements.txt
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.