SW777SW commited on
Commit
f8893b7
·
verified ·
1 Parent(s): f7b3b33

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 CONDA_DIR=/opt/conda
20
- ENV PATH=$CONDA_DIR/bin:$PATH
 
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"