Jagrut Thakare commited on
Commit
2b43abc
·
1 Parent(s): 46c111c
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,5 +1,4 @@
1
- FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04
2
-
3
 
4
  ENV DEBIAN_FRONTEND=noninteractive \
5
  PYTHONUNBUFFERED=1 \
@@ -28,8 +27,8 @@ WORKDIR /home/user/app
28
  COPY --chown=user:user . /home/user/app
29
  RUN pip install --user pydantic==2.8.2 gradio
30
 
31
- RUN pip install --user torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
32
- RUN pip install --user --no-cache-dir mxnet-cu112 onnxruntime-gpu==1.12 Cython requests==2.25.1 insightface==0.2.1 kornia==0.5.4 dill opencv-python onnx numpy scikit-image wandb
33
 
34
  COPY --chown=user:user . .
35
  RUN chmod +x download_models.sh
 
1
+ FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04
 
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  PYTHONUNBUFFERED=1 \
 
27
  COPY --chown=user:user . /home/user/app
28
  RUN pip install --user pydantic==2.8.2 gradio
29
 
30
+ RUN pip install --user torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu113
31
+ RUN pip install --user --no-cache-dir mxnet-cu112 onnxruntime-gpu==1.12 Cython requests==2.25.1 insightface==0.2.1 kornia==0.5.4 numpy<=2.0 dill opencv-python onnx scikit-image wandb
32
 
33
  COPY --chown=user:user . .
34
  RUN chmod +x download_models.sh