Practical overview
When it fits
Use it when you need a Python/PyTorch toolkit to develop or research translation and language-model workflows, and can work within its documented dependencies and project status.
Who it is for
- Developers building or adapting neural machine translation systems.
- Researchers prototyping translation, language-model or summarization workflows in PyTorch.
Documented uses
- Develop and experiment with neural machine translation models.
- Prototype language-model workflows, including documented fine-tuning and quantization features.
- Explore summarization and other NLP tasks using a PyTorch framework.
Requirements & limits
The repository identifies the project as open source under the MIT license. Local installation instructions specify Python 3.8 or later and PyTorch 2.0 to below 2.2.
- The repository states that OpenNMT-py is no longer actively supported and recommends Eole to developers.
- Some advanced features need optional dependencies; GPU/CUDA use in the Docker example requires the NVIDIA Container Toolkit.
- The README lists converters for several model families, LoRA adapters, 4- and 8-bit quantization, and tensor parallelism for large models.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install OpenNMT-py locally
Install the library from its Python package on a machine meeting the listed requirements.
Before you start
- Python 3.8 or later
- PyTorch 2.0 or later, but below 2.2
Steps
Install the listed Python and PyTorch prerequisites.
Run the command below.
pip install OpenNMT-py
Expected outcome
The OpenNMT-py package is installed in the Python environment.
Guide limitations
- Some advanced features, including pretrained models or specific transforms, require additional packages from
requirements.opt.txt.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- OpenNMT/OpenNMT-py · Official homepage title · retained in its source language
Related options
Eole — The repository identifies it as a newer, revamped spin-off of OpenNMT-py and recommends that developers switch to it.

