Spaces:
Running
on
T4
Running
on
T4
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official PyTorch image with CUDA support as the base image
|
2 |
-
FROM pytorch/pytorch:2.0.
|
3 |
|
4 |
# Add NVIDIA CUDA GPG key
|
5 |
# Add NVIDIA CUDA GPG key using a different key server
|
@@ -44,7 +44,7 @@ WORKDIR $HOME/app
|
|
44 |
RUN git clone -b main https://github.com/fffiloni/video-retalking $HOME/app
|
45 |
|
46 |
# Install specific versions of PyTorch and TorchVision
|
47 |
-
RUN pip install torch==2.0.
|
48 |
|
49 |
# Install dependencies
|
50 |
#COPY requirements.txt $HOME/app/requirements.txt
|
|
|
1 |
# Use an official PyTorch image with CUDA support as the base image
|
2 |
+
FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel
|
3 |
|
4 |
# Add NVIDIA CUDA GPG key
|
5 |
# Add NVIDIA CUDA GPG key using a different key server
|
|
|
44 |
RUN git clone -b main https://github.com/fffiloni/video-retalking $HOME/app
|
45 |
|
46 |
# Install specific versions of PyTorch and TorchVision
|
47 |
+
RUN pip install torch==2.0.0+cu117 torchvision==0.15.0+cu117 -f https://download.pytorch.org/whl/torch_stable.html
|
48 |
|
49 |
# Install dependencies
|
50 |
#COPY requirements.txt $HOME/app/requirements.txt
|