Install fuse-augmentations¶
The base package requires Python 3.10 or newer and PyTorch 2.2 or newer. Kornia, TorchVision, and Albumentations are optional because the native builder can create a useful pipeline without them.
!!! note "Project maturity" The package is currently classified Alpha. Pin versions in production or research environments and validate the exact pipeline after upgrades.
Base installation¶
This installs NumPy, PyTorch, and the package itself. It is enough for Compose.from_params.
Optional backends¶
Install only the adapter ecosystems you use:
The extras enable adapter support; they do not make every upstream transform or parameter combination fusible. Check the capability tables.
Verify the installation¶
The same smoke check is executable in the generated documentation test suite:
import torch
import fuse_augmentations
assert torch.__version__
assert fuse_augmentations.__version__
Both import namespaces expose the same objects:
from fuse_aug import Compose as ShortCompose
from fuse_augmentations import Compose
assert ShortCompose is Compose
Long-form documentation uses fuse_augmentations so the import matches the distribution name.
Build these docs locally¶
The repository uses uv for its locked development environment:
Run the release-style documentation gate with:
The generated site is written to site/. The docs dependency group is not installed for package users.