Skip to content
Back to skills

Ignite

ASecurity

"Routes PyTorch Ignite training, handlers, metrics, distributed,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
developmentpythondebuggingapibackend

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill ignite --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ignite?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ignite
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ignite/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ignite)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ignite
description: "Routes PyTorch Ignite training, handlers, metrics, distributed,
  and legacy contrib workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# PyTorch Ignite

PyTorch Ignite is a high-level library for training and evaluating neural networks in PyTorch. This runtime skill routes common user requests to focused sub-skills and keeps the package self-contained.

## Install and confirm the package

- Install the package in the active environment with `python -m pip install pytorch-ignite`.
- If you are working from the source checkout, `python -m pip install -e .` is the most direct editable install.
- Minimal import check: `python -I -c "import ignite; print(ignite.__version__)"`.
- For a quick end-to-end smoke check, run `scripts/core_smoke.py`.
- For focused handler, metric, or distributed checks, run `sub-skills/handlers/scripts/smoke_handlers.py`, `sub-skills/metrics/scripts/metric_smoke.py`, or `sub-skills/distributed/scripts/distributed_smoke.py`.

Read `references/repo-provenance.md` when you need to confirm that this skill matches the checked-out repository, and read it again before refreshing the skill after repo changes.
Read `references/repo-routing-metadata.json` when you need the structured router placement, read-when signals, and selection guidance that keep this repo skill aligned with managed scenario routing.

Read `references/optional-dependencies.md` before enabling advanced metrics, distributed backends, logger integrations, or example workflows that need extra packages.

Read `references/troubleshooting.md` for import failures, missing optional packages, backend selection issues, and common runtime errors.

## Route map

- `sub-skills/engine/` — Engine, Events, supervised trainer/evaluator helpers, deterministic runs, resume logic, custom events, gradient accumulation, and AMP/TPU/MPS variants.
- `sub-skills/handlers/` — Checkpointing, early stopping, EMA, progress bars, loggers, parameter schedulers, LR finder, time profiling, and termination helpers.
- `sub-skills/metrics/` — Metric attachment, direct update/compute/reset, metric arithmetic, and the curated classification/regression/NLP/vision/GAN metric families.
- `sub-skills/distributed/` — `Parallel`, `auto_dataloader`, `auto_model`, `auto_optim`, distributed backends, rank helpers, and launcher/debugging workflows.
- `references/legacy-contrib.md` — Older `ignite.contrib.*` imports, TBPTT helpers, and deprecation guidance for legacy code.
- `references/utils-reference.md` — Cross-cutting tensor, logging, seed, deprecation, and checkpoint helpers shared across routes.

## How to choose a route

Use the engine route when the request is about constructing or debugging the training loop itself. Use handlers when the request is mostly about checkpointing, logging, schedules, progress, or early stopping around that loop. Use metrics when the task is about computing or validating model outputs. Use distributed when the task names `Parallel`, `idist`, `torchrun`, `horovodrun`, `gloo`, `nccl`, `mpi`, or `xla-tpu`.

If the user mentions old `ignite.contrib` imports, start with `references/legacy-contrib.md` and then jump to the modern sub-skill that owns the replacement API.

## Shared notes

- The package version in this repository is `0.6.0`.
- Advanced logger integrations such as ClearML, MLflow, Neptune, Polyaxon, W&B, TensorBoard, and Visdom are handled inside `sub-skills/handlers/`.
- GPU/TPU/Horovod-specific behavior is optional and may be absent in a CPU-only environment.

Files in this skill

  • SKILL.md3.5 KB
  • references/legacy-contrib.md1.8 KB
  • references/optional-dependencies.md2 KB
  • references/repo-provenance.md1.1 KB
  • references/repo-routing-metadata.json427 B
  • references/troubleshooting.md4.4 KB
  • references/utils-reference.md2.1 KB
  • scripts/core_smoke.py5.1 KB
  • sub-skills/distributed/SKILL.md2.5 KB
  • sub-skills/distributed/references/api-reference.md4.2 KB
  • sub-skills/distributed/references/troubleshooting.md3.1 KB
  • sub-skills/distributed/references/workflows.md2.7 KB
  • sub-skills/distributed/scripts/distributed_smoke.py3.2 KB
  • sub-skills/engine/SKILL.md2.5 KB
  • sub-skills/engine/references/api-reference.md3.1 KB
  • sub-skills/engine/references/troubleshooting.md1.9 KB
  • sub-skills/engine/references/workflows.md3.4 KB
  • sub-skills/engine/scripts/resume_smoke.py2 KB
  • sub-skills/handlers/SKILL.md2.5 KB
  • sub-skills/handlers/references/api-reference.md4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.