Skip to content

Commit

Permalink
Merge branch 'dev2'
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Jun 24, 2023
2 parents ba26879 + 73d2f14 commit b48a94a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ RUN python3 -m pip install wheel
## RUN python3 -m pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers

# Install requirements
COPY requirements_linux.txt ./setup/setup.py ./
RUN python3 -m pip install --use-pep517 -r requirements_linux.txt xformers
COPY ./requirements.txt ./requirements_linux_docker.txt ./
COPY ./setup/docker_setup.py ./setup.py
RUN python3 -m pip install -r ./requirements_linux_docker.txt
RUN python3 -m pip install -r ./requirements.txt

# Replace pillow with pillow-simd
RUN python3 -m pip uninstall -y pillow && \
Expand Down
5 changes: 5 additions & 0 deletions requirements_linux_docker.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
xformers==0.0.20
bitsandbytes==0.39.1
accelerate==0.19.0
tensorboard==2.12.1
tensorflow==2.12.0
3 changes: 3 additions & 0 deletions setup/docker_setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from setuptools import setup, find_packages

setup(name="library", version="1.0.3", packages=find_packages())

0 comments on commit b48a94a

Please sign in to comment.