Spaces:
Paused
Paused
Commit
•
6c0ce1b
1
Parent(s):
3aebb5e
trying something
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
|
|
|
2 |
|
3 |
LABEL maintainer="Hugging Face"
|
4 |
|
@@ -51,6 +52,7 @@ RUN cd colmap && \
|
|
51 |
git checkout FETCH_HEAD && \
|
52 |
mkdir build && \
|
53 |
cd build && \
|
|
|
54 |
cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES} && \
|
55 |
ninja && \
|
56 |
ninja install && \
|
|
|
1 |
+
# FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
|
2 |
+
FROM nvidia/cuda:11.8.0-devel-ubuntu20.04
|
3 |
|
4 |
LABEL maintainer="Hugging Face"
|
5 |
|
|
|
52 |
git checkout FETCH_HEAD && \
|
53 |
mkdir build && \
|
54 |
cd build && \
|
55 |
+
find . -name CMakeLists.txt -exec sed -i 's/CUDA_ARCHITECTURES native/CUDA_ARCHITECTURES all/' {} && \
|
56 |
cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES} && \
|
57 |
ninja && \
|
58 |
ninja install && \
|