Skip to content

Commit

Permalink
remove vision from req add to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JEMeyer committed Jan 5, 2025
1 parent e2fae01 commit 5fa3e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ WORKDIR /app

# Install PyTorch separately with CUDA 12.1
# Ensure 'torch' is **not** listed in requirements.txt to avoid duplication
RUN /opt/venv/bin/pip install torch==2.0.1+cu121 --extra-index-url https://download.pytorch.org/whl/cu121
RUN /opt/venv/bin/pip install torch==2.0.1+cu121 torchvision --extra-index-url https://download.pytorch.org/whl/cu121

# Copy and install Python dependencies
COPY requirements.txt .
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ uvicorn[standard]==0.22.0
diffusers==0.20.2
transformers==4.31.0
Pillow==10.0.0
xformers==0.0.20
torchvision==0.15.2
xformers==0.0.20\

0 comments on commit 5fa3e30

Please sign in to comment.