Installation¶
From source¶
Clone the repository:
git clone https://github.com/jpsferreira/hyper-surrogate.git
cd hyper-surrogate
Install dependencies with uv:
uv sync --all-groups
To also install the ML extras (PyTorch):
uv sync --all-groups --extra ml
Run tests:
uv run pytest
From PyPI¶
pip install hyper-surrogate
uv add hyper-surrogate
With ML support:
pip install hyper-surrogate[ml]