# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# Setup and install pytorch from source in debug mode.  
#
# More infos found at:
# - [Contributing](https://github.com/pytorch/pytorch/blob/v1.4.0/CONTRIBUTING.md)
# - [Install from source](https://github.com/pytorch/pytorch/tree/v1.4.0#from-source)
#
# ## Prepare env
#
# usually simply follow steps on install from source.
# eg: pytorch 1.4.0 with anaconda:
#
# ```shell
# git clone https://github.com/pytorch/pytorch.git
# # cd pytorch
# git checkout v1.4.0
# git submodule update --init --recursive
# ```
#
#
# ## Build with debug flags
#
# Follows infos on contributing
#
# ```shell
# export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
# export DEBUG=1
# export USE_CUDA=0
# python setup.py develop
# ```

StarcoderdataJupyterScriptsDedupFiltered