Installation
Fiducio requires Python ≥ 3.10 and PyTorch ≥ 2.10.
From PyPI
Fiducio is published on PyPI:
or, in an existing uv application:
The core install depends only on numpy and torch.
From GitHub
To install the development version directly from the repository:
Or with pip:
Developing from a checkout
Use uv 0.12.3 and the committed uv.lock:
git clone https://github.com/fiducio-ai/Fiducio.git
cd Fiducio
uv sync --locked --extra docs --group build
uv run --no-sync pytest
The checkout defaults to Python 3.12 and CPU PyTorch for development and CI. The wheel does not impose that backend: applications using CUDA should install Fiducio into their own compatible PyTorch environment. The development lockfile is not inherited by downstream applications.
Optional extras
Heavy or domain-specific dependencies are kept out of the core install and loaded only when you ask for them:
| Extra | Installs | For |
|---|---|---|
fiducio[plots] |
matplotlib |
reliability-diagram plots |
fiducio[docs] |
MkDocs Material + mkdocstrings | building the docs |
fiducio[dev] |
pytest, ruff, mypy, build, matplotlib | development |
fiducio[all] |
all of the above | everything |
A minimal install can import fiducio and use every calibrator and metric
without matplotlib present; matplotlib is only needed for the optional
plotting helpers.