## Setting up a development environment to build and test pytorch 1. Install miniconda into your home directory: ```sh wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh chmod +x ./Miniconda3-latest-Linux-x86_64.sh ./Miniconda3-latest-Linux-x86_64.sh ``` Then follow the setup prompts. You may need to restart your terminal after installing to update your environment variables. 2. Setup `conda` environment and clone pytorch: ```sh conda env create -f pytorch-dev.yaml git clone https://github.com/pytorch/pytorch git -C pytorch submodule update --init --recursive ``` 3. Build using the included script: ```sh ./build.sh ``` After this finishes, pytorch will be installed in the conda environment `pytorch-dev` which can be enabled with ``` conda activate pytorch-dev ```