Skip to main content

viter

viter

Forced alignment in one binary. The Montreal Forced Aligner recipe, on your GPU.

PyPI release

Install

uv pip install viter

The wheel ships the viter command and the Python API. For the binary alone, cargo binstall --git https://github.com/thewh1teagle/viter viter or the releases page.

Use

viter train corpus/ --dict dict.txt -o model.viter
viter align corpus/ model.viter -o out/
viter serve out/

corpus/ holds audio files with a same-named .txt transcript beside each one. Without a dictionary every token is a phoneme, so any language works. An existing MFA model loads with viter import.

Pretrained English models and dictionaries: models-v1.0.

Python

import viter

model = viter.train("corpus/", dict="dict.txt")
alignment = model.align("audio.wav", "the quick brown fox")
alignment.to_textgrid("audio.TextGrid")

Examples in crates/python/examples/.

Documentation

docs/ — CLI flags, corpus format, the Python API, the training recipe, and how the numbers were measured.

MIT.

Metadata

Release files for viter 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for viter 0.4.1
File
viter-0.4.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
viter-0.4.1-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details
viter-0.4.1-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details
viter-0.4.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
viter-0.4.1-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 28.4 MB

Release files / viter-0.4.1-cp39-abi3-win_amd64.whl

Download URL viter-0.4.1-cp39-abi3-win_amd64.whl
Size 6.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f5029c7488d0773abd0c6760b5c445820978851023e5cbbf6801ca11ea7ddc6c
BLAKE2b-256 checksum
How to use checksums
131843a83a84f515f52bcd22df21fd0c7b8e19199369d01de1834b9ee4ad4a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / viter-0.4.1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL viter-0.4.1-cp39-abi3-manylinux_2_28_x86_64.whl
Size 6.1 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
8e69874e5f5d86bbe00ee15bfee092695517e099c3565af8673e1df019367e35
BLAKE2b-256 checksum
How to use checksums
4b941bf68a65a84e6295971680f926a3ba01f9468e6fc1ba4d56194baf31493b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / viter-0.4.1-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL viter-0.4.1-cp39-abi3-manylinux_2_28_aarch64.whl
Size 5.5 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4fe3f3fd7283209072d1d445b6511d8d5a71ef1540f0e9a7ea65fb790e5ad764
BLAKE2b-256 checksum
How to use checksums
0b32d2c18ce6ef82fe5b6ae9d6fd7d413494d428f0366ccce480097fb5071ddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / viter-0.4.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL viter-0.4.1-cp39-abi3-macosx_11_0_arm64.whl
Size 5.0 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8eb64fd4a279ebcc867edaac54983d3c9945af80d65ea94b5ecb5ac5a3a97de6
BLAKE2b-256 checksum
How to use checksums
c0a7d264aa66d761aa8585a1a97b10729467d7e3767e4174d5f4b3d9dd4f2281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / viter-0.4.1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL viter-0.4.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 5.6 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4d7ed0ebdb9f38ef53a17b4f6e39b047d0ff07fa72f272c6668494bff20b99a7
BLAKE2b-256 checksum
How to use checksums
d91099e234408c0a8d5803a64d6cba96a061cb0810702fcfe76d757ae5e4d3dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release history Release notifications | RSS feed

0.5.1

5 release files

0.5.0

5 release files

0.4.2

5 release files

This release

0.4.1 This release

5 release files

0.4.0

5 release files

0.3.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page