# nvflare-convert-lightning

Convert existing PyTorch Lightning training code into an NVFLARE federated job using the Lightning Client API patch, local validation, and job export.

- Type: Skill
- Updated: 22 Nov 2026
- Category: Training AI

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Convert existing PyTorch Lightning training code into an NVFLARE federated job using the Lightning Client API patch, local validation, and job export; use only when the request names federated/NVFLARE conversion or asks multiple sites to train collaboratively while keeping each site's data local, and either names PyTorch Lightning or preliminary source inspection identifies one Lightning owner; do not use for non-federated Lightning work such as DDP, profiling, inference serving, or training-loop changes, nor for plain PyTorch, TensorFlow/Keras, other frameworks, deployment, POC/production lifecycle, or experiment workflows.

## More in Training AI

- [nvflare-convert-pytorch](https://www.ulpi.io/en/marketplace/skills/nvflare-convert-pytorch): Convert existing plain or manual PyTorch training code into an NVFLARE federated job using Client API model exchange, local validation, and job export.
- [nvflare-diagnose-job](https://www.ulpi.io/en/marketplace/skills/nvflare-diagnose-job): Use when the user asks why a reported NVFLARE job failure signal occurred: the job failed, stalled, timed out, lost clients, ended with EXECUTION_EXCEPTION.
- [nvflare-orient](https://www.ulpi.io/en/marketplace/skills/nvflare-orient): Route open-ended NVFLARE advice and only conversion requests whose preliminary source inspection reports unresolved or conflicting ownership.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
