Created
May 5, 2019 04:58
-
-
Save crcrpar/14c73e0061e9c457e1b15b6e4032fab9 to your computer and use it in GitHub Desktop.
Development environment of Chainer
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
| FROM nvidia/cuda:10.0-cudnn7-devel | |
| RUN apt-get update -y && \ | |
| apt-get install -y --no-install-recommends \ | |
| python3-dev \ | |
| python3-pip \ | |
| python3-wheel \ | |
| python3-setuptools \ | |
| git \ | |
| cmake \ | |
| libblas3 \ | |
| libblas-dev \ | |
| # LLVM | |
| libllvm-7-ocaml-dev libllvm7 llvm-7 llvm-7-dev llvm-7-doc llvm-7-examples llvm-7-runtime \ | |
| # Clang and co | |
| clang-7 clang-tools-7 clang-7-doc libclang-common-7-dev libclang-7-dev libclang1-7 clang-format-7 python-clang-7 \ | |
| # libfuzzer | |
| libfuzzer-7-dev \ | |
| # lldb | |
| lldb-7 \ | |
| # lld (linker) | |
| lld-7 \ | |
| # libc++ | |
| libc++-7-dev libc++abi-7-dev \ | |
| # OpenMP | |
| libomp-7-dev \ | |
| && \ | |
| rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | |
| RUN CHAINER_BUILD_CHAINERX=1 CHAINERX_BUILD_CUDA=1 pip3 install --no-cache-dir cupy-cuda100==6.0.0rc1 chainer==6.0.0rc1 'ideep4py<2.1' 'pytest<4.2.0' mock sphinx==1.8.2 sphinx_rtd_theme 'autopep8>=1.4.1,<1.5' 'flake8>=3.7,<3.8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment