Installation ============ Sionna is composed of three Python modules, namely `Sionna RT `_, `Sionna PHY `_, and `Sionna SYS `_. Sionna PHY and Sionna SYS require `Python 3.11+ `_ and `PyTorch 2.9+ `_. We recommend Ubuntu 24.04. Earlier versions of PyTorch may still work but are not recommended. We refer to the `PyTorch get-started guide `_ for GPU (CUDA) support and the required driver setup. `Sionna RT `_ has the same requirements as `Mitsuba 3 `_ and we refer to its `installation guide `_ for further information. To run Sionna RT on CPU, `LLVM `_ is required by `Dr.Jit `_. Please check the `installation instructions for the LLVM backend `_. If you want to run the tutorial notebooks on your machine, you also need `JupyterLab `_. You can alternatively test them on `Google Colab `_. Although not necessary, we recommend running Sionna in a `Docker container `_ and/or `Python virtual enviroment `_. The `Sionna Research Kit `_ runs on the `NVIDIA DGX Spark `_. We refer to the `quickstart guide `_ for a detailed introduction. Using pip --------- The recommended way to install Sionna is via pip: .. code-block:: bash pip install sionna If you want to install only Sionna RT, run: .. code-block:: bash pip install sionna-rt If you want to install Sionna without the RT package, run: .. code-block:: bash pip install sionna-no-rt From source ----------- 1. Clone the repository with all submodules: .. code-block:: bash git clone --recursive https://github.com/NVlabs/sionna If you have already cloned the repository but forgot to set the `--recursive` flag, you can correct this via: .. code-block:: bash git submodule update --init --recursive --remote 2. Install Sionna (including Sionna RT) by running the following command from within the repository's root folder: .. code-block:: bash pip install ext/sionna-rt/ . pip install . Testing ------- First, you need to install the test requirements by executing the following command from the repository's root directory: .. code-block:: bash pip install '.[test]' The unit tests can then be executed by running ``pytest`` from within the ``test`` folder. Documentation ------------- Install the requirements for building the documentation by running the following command from the repository's root directory: .. code-block:: bash pip install '.[doc]' You might need to install `pandoc `_ manually. You can then build the documentation by executing ``make html`` from within the ``doc`` folder. To serve the documentation locally: .. code-block:: bash make serve This serves the documentation at ``http://localhost:8000/sionna/`` with the same URL structure as the production website. You can specify a different port with ``make serve PORT=9000``. For local development without the ``/sionna/`` prefix, build and serve with: .. code-block:: bash BASE_PATH= make html BASE_PATH= make serve