# nodus.integrations

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

Source: https://www.nodus-compute.ai/docs/reference/python/nodus-integrations/
Build revision: 3f2cb825a7aa0daaa9150df8ae7a28c39a5c1dfa

<!-- 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.
