@@ -7,15 +7,16 @@ Prerequisites
77MALA supports any Python version starting from ``3.10.4 ``. No upper limit on
88Python versions are enforced. The most recent *tested * version is ``3.10.12 ``.
99
10- MALA requires ``torch `` in order to function. As the installation of torch
11- depends highly on the architecture you are using, ``torch `` will not
12- automatically be installed alongside MALA. Please obtain a suitable version
13- of ``torch `` from the `official website <https://pytorch.org/ >`_ before
14- continuing.
15-
1610Installing the Python library
1711*****************************
1812
13+ MALA requires ``torch `` (https://pytorch.org). We install the latest
14+ GPU-enabled version (see ``requirements.txt ``),
15+ unless you have ``torch `` already installed (for example a version that supports
16+ AMD's ROCm a specific CUDA version).
17+
18+ To install the MALA package
19+
1920* Download the MALA repository, e.g., with ``git clone git@github.com:mala-project/mala.git ``
2021* Change into the directory you cloned the repository to
2122* Install MALA via ``pip install -e .[options] ``
@@ -26,6 +27,7 @@ The following options are available:
2627 the version and thus needed for large code development (developers)
2728- ``opt ``: Installs ``oapackage ``, so that the orthogonal array
2829 method may be used for large scale hyperparameter optimization (advanced users)
30+ - ``mpi ``: Installs ``mpi4py `` for MPI parallelization (advanced users)
2931- ``test ``: Installs ``pytest `` which allows users to test the code (developers)
3032- ``doc ``: Installs all dependencies for building the documentary locally (developers)
3133
0 commit comments