Last active
December 23, 2025 03:59
-
-
Save LimHyungTae/94dc3a8d70b50959479522b5975c69d1 to your computer and use it in GitHub Desktop.
MinokwskiEngie Docker File for higher version of GPU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use use previous versions, modify these variables | |
| # ARG PYTORCH="1.9.0" | |
| # ARG CUDA="11.1" | |
| ARG PYTORCH="2.0.0" | |
| ARG CUDA="11.7" | |
| ARG CUDNN="8" | |
| FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel | |
| ############################################## | |
| # You should modify this to match your GPU compute capability | |
| # ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX" | |
| ENV TORCH_CUDA_ARCH_LIST="8.6 8.9" | |
| ############################################## | |
| ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all" | |
| # Install dependencies | |
| RUN apt-get update | |
| RUN apt-get install -y git ninja-build cmake build-essential libopenblas-dev \ | |
| xterm xauth openssh-server tmux wget mate-desktop-environment-core | |
| RUN apt-get clean | |
| RUN rm -rf /var/lib/apt/lists/* | |
| # For faster build, use more jobs. | |
| ENV MAX_JOBS=36 | |
| RUN git clone --recursive "https://github.com/leadbreak/MinkowskiEngine" | |
| RUN cd MinkowskiEngine; python setup.py install --force_cuda --blas=openblas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment