Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -20,13 +20,14 @@ RUN git clone --recursive https://github.com/NVlabs/InstantSplat.git && \
|
|
| 20 |
# cd ../../
|
| 21 |
|
| 22 |
# Create the conda environment and install dependencies
|
| 23 |
-
RUN
|
|
|
|
| 24 |
pip install submodules/simple-knn && \
|
| 25 |
sed -i '154s/p_view.z <= 0.2f/p_view.z <= 0.001f/' submodules/diff-gaussian-rasterization/cuda_rasterizer/auxiliary.h && \
|
| 26 |
pip install submodules/diff-gaussian-rasterization
|
| 27 |
|
| 28 |
# Compile the CUDA kernels for RoPE
|
| 29 |
-
RUN cd submodules/dust3r/croco/models/curope/ && \
|
| 30 |
python setup.py build_ext --inplace
|
| 31 |
|
| 32 |
RUN useradd -m -u 1000 user
|
|
|
|
| 20 |
# cd ../../
|
| 21 |
|
| 22 |
# Create the conda environment and install dependencies
|
| 23 |
+
RUN cd InstantSplat && \
|
| 24 |
+
pip install -r requirements.txt && \
|
| 25 |
pip install submodules/simple-knn && \
|
| 26 |
sed -i '154s/p_view.z <= 0.2f/p_view.z <= 0.001f/' submodules/diff-gaussian-rasterization/cuda_rasterizer/auxiliary.h && \
|
| 27 |
pip install submodules/diff-gaussian-rasterization
|
| 28 |
|
| 29 |
# Compile the CUDA kernels for RoPE
|
| 30 |
+
RUN cd InstantSplat/submodules/dust3r/croco/models/curope/ && \
|
| 31 |
python setup.py build_ext --inplace
|
| 32 |
|
| 33 |
RUN useradd -m -u 1000 user
|