.. _link-prerequisites: Prerequisites ############# Throughout this documentation, we assume a Unix-based operating system (e.g. Linux or MacOS). For Windows users, we recommend to use the Windows Subsystem Linux (WSL; see e.g. `here `_). Below is a list of the most important python packages required to be able to install Magrittetorch. * `PyTorch `_ (version :literal:`2.0.0` or later): for GPU parallelisation and automatic differentiation; * `Astropy `_: for `units `_ and astronomy related file IO; * `Anaconda `_: for managing the required Python packages; * `Pip `_: for installing Magrittetorch; And software required for GPU parallelisation (optional, depending on the GPU vendor): * `CUDA `_: for Nvidia GPU's; * `ROCm `_: for AMD GPU's; The comprehensive list of required Python packages can be found in the `pyproject.toml file `_. Once Anaconda, Pip and (optionally) CUDA or ROCm are in place, Magrittetorch can be installed following the :ref:`quickstart `. .. note:: Magrittetorch can also be run on CPU. For this, the GPU related dependencies (CUDA, ROCm) are not required. However, computation times will be significantly longer, when compared to compiled C++ code `Magritte `_.