GitHub stars   PyPI version   ReadTheDocs

Welcome to itwinai

Accelerate AI & ML workflows for Scientific Digital Twins.

itwinai streamlines distributed training, hyperparameter optimization, logging, and modular workflows, so you can focus on science, not plumbing.

Features

  • πŸš€ Seamless Scaling: Run training and inference on HPC clusters or cloud with a single CLI command.

  • πŸ” Effortless Logging: Built-in support for MLflow, Weights & Biases, TensorBoard, and more.

  • 🧩 Modular Workflows: Define reusable pipelines for end-to-end experiment management.

  • πŸ€– HPO Made Easy: Native hyperparameter optimization with minimal configuration.

  • πŸ”Œ Extensible Plugins: Add custom integrations or contribute new features.

Quick Start

# Install via pip
pip install itwinai

# Launch a complete workflow with SLURM integration using the MNIST example
itwinai run -c https://raw.githubusercontent.com/interTwin-eu/itwinai/refs/heads/main/use-cases/mnist/torch/run-example.yaml

# View logs in MLflow
itwinai mlflow-ui --path mllogs/mlflow

πŸš€ Begin Here

πŸ› οΈ Core Guides

πŸŽ“ Tutorials

πŸ“š Use Cases & 🧩 Plugins

For the full list of scientific use cases refer to the navigation side bar.

⚑ API Reference

Integration with EuroHPC centers

Our code has been run and tested on the following EuroHPC systems:

Community & Support

itwinai is an open-source Python library primarily developed by CERN, in collaboration with Forschungszentrum JΓΌlich (FZJ). As the primary contributor, CERN will retain administrative rights to the repository during and after the interTwin project, except in cases where CERN is unable to maintain it.

How to contribute

Want to help improve itwinai? Here are a few good ways to get involved:

Indices and Tables

Citation

If you use itwinai in your research, please cite:

Bunino et al., (2026). itwinai: A Python Toolkit for Scalable Scientific
Machine Learning on HPC Systems. Journal of Open Source Software, 11(117),
9409. https://doi.org/10.21105/joss.09409

BibTeX:

@article{Bunino2026,
  doi = {10.21105/joss.09409},
  url = {https://doi.org/10.21105/joss.09409},
  year = {2026},
  publisher = {The Open Journal},
  volume = {11},
  number = {117},
  pages = {9409},
  author = {Bunino, Matteo and Sæther, Jarl and Eickhoff, Linus and Lappe, Anna and
            Tsolaki, Kalliopi and Verder, Killian and Mutegeki, Henry and Machacek,
            Roman and Girone, Maria and Krochak, Oleksandr and RΓΌttgers, Mario and
            Sarma, Rakesh and Lintermann, Andreas},
  title = {itwinai: A Python Toolkit for Scalable Scientific Machine Learning on HPC Systems},
  journal = {Journal of Open Source Software}
}