Installation¶
Requires Python 3.10 or newer. PyTorch is optional.
Verify the install:
PyTorch¶
RDDACDataset and the rest of rddac.pytorch require PyTorch.
This pulls the default PyTorch wheel from PyPI (CPU on Windows and macOS, CUDA 12.x on Linux). For a different build (CUDA, ROCm, MPS) install PyTorch first from the PyTorch selector, then pip install rddac without the extra. The package does not pin PyTorch, so an existing wheel is preserved.
Advanced¶
Documentation build¶
Then mkdocs serve from the repository root for a live preview at http://127.0.0.1:8000.
Development install¶
git clone https://github.com/BaumSebastian/RDDAC.git
cd RDDAC
pip install -e .[dev,torch]
pre-commit install
[dev] adds pytest, black, ruff, bumpver, and pre-commit.
All runtime dependencies install automatically. This includes the ddacs package, which provides the shared dataset machinery and the download of the matching simulations.