Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
FROM pytorch/pytorch:2.1.2-cuda11.8-cudnn8-devel
|
| 3 |
|
| 4 |
# Install build deps
|
| 5 |
-
RUN apt-get update -y && apt-get install -y wget git vim \
|
| 6 |
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
| 7 |
|
| 8 |
# Clone the InstantSplat repository and download the pre-trained model
|
|
@@ -16,8 +16,9 @@ RUN git clone --recursive https://github.com/NVlabs/InstantSplat.git && \
|
|
| 16 |
# cd ../../
|
| 17 |
|
| 18 |
# Set up environment variables
|
| 19 |
-
ENV
|
| 20 |
-
ENV
|
|
|
|
| 21 |
|
| 22 |
# Set CUDA architecture flags
|
| 23 |
ENV TORCH_CUDA_ARCH_LIST="7.0;7.5;8.0;8.6"
|
|
|
|
| 2 |
FROM pytorch/pytorch:2.1.2-cuda11.8-cudnn8-devel
|
| 3 |
|
| 4 |
# Install build deps
|
| 5 |
+
RUN apt-get update -y && apt-get install -y wget git vim ninja-build \
|
| 6 |
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
| 7 |
|
| 8 |
# Clone the InstantSplat repository and download the pre-trained model
|
|
|
|
| 16 |
# cd ../../
|
| 17 |
|
| 18 |
# Set up environment variables
|
| 19 |
+
ENV CUDA_HOME=/usr/local/cuda
|
| 20 |
+
# ENV CONDA_DIR=/opt/conda
|
| 21 |
+
# ENV PATH=$CONDA_DIR/bin:$PATH
|
| 22 |
|
| 23 |
# Set CUDA architecture flags
|
| 24 |
ENV TORCH_CUDA_ARCH_LIST="7.0;7.5;8.0;8.6"
|