vidit98 commited on
Commit
ede9366
1 Parent(s): 14cd634
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +0 -4
Dockerfile CHANGED
@@ -29,7 +29,8 @@ RUN chown -R user:user $WORKDIR
29
  RUN chmod -R 777 $WORKDIR
30
 
31
  COPY requirements.txt $WORKDIR/requirements.txt
32
- RUN cat $WORKDIR/requirements.txt | xargs -n 1 -L 1 pip install --no-cache-dir
 
33
  RUN pip install ninja
34
 
35
  COPY . .
 
29
  RUN chmod -R 777 $WORKDIR
30
 
31
  COPY requirements.txt $WORKDIR/requirements.txt
32
+ RUN pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
33
+ RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
34
  RUN pip install ninja
35
 
36
  COPY . .
requirements.txt CHANGED
@@ -33,10 +33,6 @@ safetensors==0.2.7
33
  timm==0.6.12
34
  transformers==4.25.1
35
  yapf==0.32.0
36
- --extra-index-url https://download.pytorch.org/whl
37
- torch==1.11.0+cu113
38
- torchvision==0.12.0+cu113
39
- torchaudio==0.11.0+cu113
40
  numpy==1.23
41
  git+https://github.com/facebookresearch/detectron2.git
42
  opencv-python
 
33
  timm==0.6.12
34
  transformers==4.25.1
35
  yapf==0.32.0
 
 
 
 
36
  numpy==1.23
37
  git+https://github.com/facebookresearch/detectron2.git
38
  opencv-python