Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 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 \
|