# mpi-pytorch **Repository Path**: aikedaer/mpi-pytorch ## Basic Information - **Project Name**: mpi-pytorch - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mpi-pytorch - vi /etc/apt/sources.list deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse - sudo apt update - sudo apt upgrade - sudo apt install gcc - sudo apt install build-essential - bash Anaconda3-2020.02-Linux-x86_64.sh ### open another terminal to install pytorch and torchvision from source - conda install -y numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing_extensions future six requests matplotlib - conda install -y -c conda-forge openmpi - CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} - cd pytorch - python setup.py install ---------------------------------------------------------------------------------------------------------------------------------------------- - git clone https://github.com/pytorch/vision.git - python setup.py install ----------------------------------------------------------------------------------------------------------------------------------------------- - https://gist.github.com/ax3l/9489132 - cudnn