Installation
Note
It is recommended to install PyTorch before installing nessai
. See the PyTorch documentation for how to install the correct version.
conda install -c conda-forge -c pytorch nessai
pip install nessai
This will install the dependencies needed but the version of PyTorch will not necessarily be the correct version for your system.
Nessai for development
To install nessai
for development purposes see the contribution guidelines.
Using nessai with bilby
nessai
is included in bilby
version 1.1.0 onwards. For instructions on how to install bilby
see here.
For examples of how to run nessai
via bilby
see the examples directory.