Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -20,6 +20,9 @@ RUN git clone --recursive https://github.com/NVlabs/InstantSplat.git && \
|
|
| 20 |
ENV CONDA_DIR=/opt/conda
|
| 21 |
ENV PATH=$CONDA_DIR/bin:$PATH
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
# Create the conda environment and install dependencies
|
| 24 |
RUN conda update -n base -c defaults conda
|
| 25 |
|
|
@@ -41,7 +44,8 @@ RUN conda create -n instantsplat python=3.11 cmake=3.14.0 -y && \
|
|
| 41 |
# pip install submodules/diff-gaussian-rasterization
|
| 42 |
|
| 43 |
# Compile the CUDA kernels for RoPE
|
| 44 |
-
RUN
|
|
|
|
| 45 |
python setup.py build_ext --inplace
|
| 46 |
|
| 47 |
RUN useradd -m -u 1000 user
|
|
|
|
| 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"
|
| 25 |
+
|
| 26 |
# Create the conda environment and install dependencies
|
| 27 |
RUN conda update -n base -c defaults conda
|
| 28 |
|
|
|
|
| 44 |
# pip install submodules/diff-gaussian-rasterization
|
| 45 |
|
| 46 |
# Compile the CUDA kernels for RoPE
|
| 47 |
+
RUN /bin/bash -c "source activate instantsplat" && \
|
| 48 |
+
cd InstantSplat/submodules/dust3r/croco/models/curope/ && \
|
| 49 |
python setup.py build_ext --inplace
|
| 50 |
|
| 51 |
RUN useradd -m -u 1000 user
|