# nodus.integrations

> Framework callbacks that report training progress to Nodus from inside a container.

Source: https://nodus-platform-site.pages.dev/docs/reference/python/nodus-integrations/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

<!-- Generated by scripts/gen-reference.mjs from the SDK docstrings (griffe). Do not edit: run make gen. -->

Framework callbacks that report training progress to Nodus from inside a container.

`nodus.integrations.transformers.NodusCallback` plugs into a Hugging Face `Trainer` (and every TRL trainer); `nodus.integrations.lightning.NodusCallback` into a Lightning `Trainer`. Both send metrics to `nodus.log.metrics`, report progress, save when the node asks for a checkpoint, and do nothing outside Nodus. Only the global rank 0 process reports, so a multi-node gang reports once.
