Skip to content

Installation

uv add torchio
pip install torchio

Optional extras

For NIfTI-Zarr support (chunked, lazy-loadable volumes):

uv add torchio --extra zarr
pip install "torchio[zarr]"

For cloud storage (HTTP/HTTPS URLs work out of the box):

pip install "torchio[azure]"
pip install "torchio[s3]"
pip install "torchio[gcs]"

For an interactive 3D viewer in Jupyter (NiiVue):

pip install "torchio[niivue]"

Verify

torchio --version