# pytorch/ignite

High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently.

Repository: https://github.com/pytorch/ignite
Canonical: https://ross.abutalabs.com/products/pytorch-ignite
Homepage: https://pytorch-ignite.ai
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: pytorch, neural-network, python, machine-learning, deep-learning, metrics, hacktoberfest, closember
Last push: 2026-08-17T23:45:17+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 70, longevity 100
- inputs: {"age_days": 3205, "days_push": 16, "days_rel": 42, "gap_med": 162, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4778, forks 715 (observed 2026-08-28T04:08:59.540780+00:00)

## What it is
PyTorch-Ignite is a high-level library for training and evaluating neural networks in PyTorch flexibly and transparently. It provides an Engine and event system, rich handlers (checkpointing, early stopping, scheduling), 50+ distributed-ready metrics, and helpers for distributed training on CPUs, GPUs, and TPUs.

## Use cases
- train neural networks in pytorch without writing boilerplate training loops
- add checkpointing and early stopping to my model training
- run distributed training across gpus and tpus
- compute accuracy and other metrics during validation
- schedule learning rate changes during training
- find a good learning rate for my model
- attach custom logic to training events like epoch completed

## When to choose
- you use PyTorch and want a flexible, transparent high-level training loop
- you need built-in metrics, checkpointing, and early stopping out of the box
- you want to scale training to multi-GPU/TPU with minimal code changes

## When to avoid
- you prefer PyTorch Lightning's more opinionated, fully-automated training structure
- you work outside the PyTorch ecosystem (e.g., TensorFlow or JAX)
- you need a zero-dependency minimal training script

## Facets
- artifact type: library
- maturity: stable
- function: machine-learning, deep-learning, benchmarking, monitoring
- domain: machine-learning, deep-learning, artificial-intelligence
- platform: python, cross-platform
- tags: pytorch, training-loop, event-system, metrics, distributed-training, checkpointing, early-stopping, gpu

## Member repositories
- pytorch/ignite (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:59.540780+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:45.602116+00:00, confidence not recorded.
  - readme: https://github.com/pytorch/ignite (fetched 2026-08-28T04:08:59.540780+00:00, sha 41d9adb3c05e)
  - homepage: https://pytorch-ignite.ai (fetched 2026-08-29T09:02:08.013236+00:00, sha 1fd641dbb77d)
  - site_page: https://pytorch-ignite.ai/about/community (fetched 2026-08-29T09:02:08.022569+00:00, sha ef3e441786c8)
  - site_page: https://pytorch-ignite.ai/about/contribution-guide (fetched 2026-08-29T09:02:08.029000+00:00, sha 708e795bc67b)
  - site_page: https://pytorch-ignite.ai/about/coc (fetched 2026-08-29T09:02:08.031513+00:00, sha bdc1531b52d0)
  - site_page: https://pytorch-ignite.ai/about/governance (fetched 2026-08-29T09:02:08.033918+00:00, sha 64deafda4e96)
  - site_page: https://pytorch-ignite.ai/getting-started (fetched 2026-08-29T09:02:08.035679+00:00, sha ac9674ca114f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
