Requirements
- Python 3.11 or later
- A working
piporuvinstallation - PyTorch 2.0 or later (installed automatically as a dependency)
Install
Verify
torch is not installed, the doctor check still passes — PyTorch is required for training but not for running pre-compiled artifacts.
Install with training dependencies
If you are training models (not just running pre-compiled artifacts), install with the training extras:pip install thrindex is sufficient.
The CLI
After installation, thethrindex command is available on your PATH:
Building from source
cargo build --workspace. The Python wheel is built with maturin. CI runs on Ubuntu and macOS.