Skip to content

Commit c8e4529

Browse files
committed
update torch install
1 parent ec9030e commit c8e4529

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM python:3.11-slim
22

33
WORKDIR /codive-ai
44

5+
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
6+
57
COPY requirements.txt .
68
RUN pip install --no-cache-dir -r requirements.txt
79

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ gunicorn
44
python-multipart
55
aioboto3
66
rembg[cpu]
7-
torch
87
open-clip-torch
98
pillow
109
numpy

0 commit comments

Comments
 (0)