Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -53,7 +53,7 @@ WORKDIR $HOME/app
|
|
53 |
# Upgrade pip and install numpy<2 first, then PyTorch
|
54 |
RUN pip install --no-cache-dir --upgrade pip && \
|
55 |
pip install --no-cache-dir "numpy<2" && \
|
56 |
-
pip install --no-cache-dir torch==1.
|
57 |
python -c "import torch; print('PyTorch version:', torch.__version__)"
|
58 |
|
59 |
# Clone the repository
|
|
|
53 |
# Upgrade pip and install numpy<2 first, then PyTorch
|
54 |
RUN pip install --no-cache-dir --upgrade pip && \
|
55 |
pip install --no-cache-dir "numpy<2" && \
|
56 |
+
pip install --no-cache-dir torch==1.8.0 torchvision --extra-index-url https://download.pytorch.org/whl/cu113 && \
|
57 |
python -c "import torch; print('PyTorch version:', torch.__version__)"
|
58 |
|
59 |
# Clone the repository
|