Installation¶
Prerequisites¶
- Python 3.11 (required; the project pins
requires-python = "==3.11.*") - uv for dependency management
Install uv¶
Install cdr_bench¶
This installs all required dependencies including RDKit, UMAP, openTSNE, ChemographyKit, Numba, and DGL-Life.
Verify installation¶
Optional: GPU Support¶
ChemDist embedding generation (via DGL-Life and PyTorch) benefits from GPU acceleration. If you have a CUDA-capable GPU, ensure your PyTorch installation includes CUDA support. The device option in bench_configs/features.toml controls whether to use "cuda" or "cpu".
Development Setup¶
To install with development dependencies (includes JupyterLab):
To install documentation dependencies:
To install all dependency groups: