Individual skill
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; 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.
skills/nvflare-convert-lightning/SKILL.md
Source commit 25340619336e89bcc40365c28bfe9e790430468e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,900
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- coding-agents Repository topic
- cuda Repository topic
- developer-tools Repository topic
- llm Repository topic
- omniverse Repository topic
- nvflare,-federated-learning,-pytorch-lightning,-conversion Declared skill tag
- data Derived category
- devops Derived category
- education Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
BENCHMARK.mddoc · 11,938 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesSKILL.mdcore · 13,200 bytesassets/lightning_client.pyruns · 5,560 bytesevals/config.ymlasset · 295 bytesevals/evals.jsonasset · 67,569 bytesevals/files/SOURCE.mddoc · 2,250 bytesevals/files/external-data-lightning/model.pyruns · 1,758 bytesevals/files/external-data-lightning/train.pyruns · 2,460 bytesevals/files/factory-lightning/train.pyruns · 1,370 bytesevals/files/gpu-device-lightning/model.pyruns · 1,254 bytesevals/files/gpu-device-lightning/train.pyruns · 1,077 bytesevals/files/hello-lightning/model.pyruns · 1,758 bytesevals/files/hello-lightning/train.pyruns · 1,168 bytesevals/files/routing-dual/train_huggingface.pyruns · 787 bytesevals/files/routing-dual/train_lightning.pyruns · 743 bytesevals/files/vocab-lightning/model.pyruns · 1,863 bytesevals/files/vocab-lightning/train.pyruns · 1,937 bytesreferences/lightning-conversion.mddoc · 16,715 bytesreferences/lightning-ddp-and-tracking.mddoc · 5,829 bytesreferences/lightning-detection.mddoc · 3,053 bytesreferences/lightning-validation.mddoc · 5,571 bytesskill-card.mddoc · 4,224 bytesskill.oms.sigasset · 9,129 bytes
Read excerpt
# NVFLARE Convert PyTorch Lightning
## Use When
Use only when the user asks to convert PyTorch Lightning code into an NVFLARE federated training job; require both federation intent and Lightning ownership. Treat requests for multiple sites or institutions to train collaboratively while each site's data remains local as federation intent, even when the request does not say "federated" or "NVFLARE."
Lightning source evidence alone is not sufficient. Relevant source may contain a `LightningModule`, `LightningDataModule`, a `Trainer` fit/validate/test loop,
Lightning callbacks, checkpointing, or loggers.
Supported: the PyTorch recipe family with `flare.patch(trainer)` as the model
exchange integration, Lightning-native evaluation, custom aggregation through
the same recipe `aggregator=` hook, and local validation and export.
## Standard Path
Always read this converter SKILL.md with