abiyyufahri commited on
Commit
d2a35a3
·
verified ·
1 Parent(s): f4207df

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ RUN pip install --upgrade pip && \
21
  pip install --no-cache-dir packaging ninja wheel setuptools
22
 
23
  # Force install NumPy 1.x first to avoid compatibility issues
24
- RUN pip install --no-cache-dir --force-reinstall "numpy==1.24.3"
25
 
26
  # Install PyTorch CPU version (compatible with NumPy 1.x)
27
  RUN pip install --no-cache-dir torch==2.2.2+cpu torchvision==0.17.2+cpu torchaudio==2.2.2+cpu \
 
21
  pip install --no-cache-dir packaging ninja wheel setuptools
22
 
23
  # Force install NumPy 1.x first to avoid compatibility issues
24
+ RUN pip install --no-cache-dir --force-reinstall "numpy<2.0"
25
 
26
  # Install PyTorch CPU version (compatible with NumPy 1.x)
27
  RUN pip install --no-cache-dir torch==2.2.2+cpu torchvision==0.17.2+cpu torchaudio==2.2.2+cpu \