alrichardbollans commited on
Commit
4f1d19a
·
1 Parent(s): 8ae97f2

The --no-build-isolation flag seems to be an improvement but now getting runtime error, so revert version specifications

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
10
 
11
  RUN pip install --no-cache-dir pip -U && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf_xet>=1.0.0,<2.0.0" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
12
 
13
- RUN pip install --no-cache-dir --no-build-isolation git+https://github.com/facebookresearch/detectron2.git@v0.6
14
 
15
  COPY . .
16
 
 
10
 
11
  RUN pip install --no-cache-dir pip -U && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf_xet>=1.0.0,<2.0.0" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
12
 
13
+ RUN pip install --no-cache-dir --no-build-isolation git+https://github.com/facebookresearch/detectron2.git
14
 
15
  COPY . .
16
 
requirements.txt CHANGED
@@ -6,7 +6,7 @@ shinywidgets
6
  pandas
7
  opencv-python-headless
8
  pyyaml==5.1
9
- torch==2.6.0
10
- torchvision==0.21.0
11
  ninja
12
  supervision
 
6
  pandas
7
  opencv-python-headless
8
  pyyaml==5.1
9
+ torch
10
+ torchvision
11
  ninja
12
  supervision