Independent package implementing the monotonic alignment search algorithm from Glow-TTS for aligning text and speech. Currently at v0.2.1, supports PyTorch (CPU/GPU) and NumPy backends. Requires Python >=3.10.
pip install monotonic-alignment-searchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Perform monotonic alignment search on a random hard attention matrix using PyTorch.
Ensure your attention matrix is monotonic and non-negative before calling maximum_path.
Prefer the PyTorch backend (maximum_path) for stability. If you need NumPy, pin to v0.1.1.
Install PyTorch separately according to your hardware (CPU/CUDA) before using this package.