Nvflare convert lightning vs Nvflare convert pytorch
Nvflare convert lightning is an open-source agent skill for ai models and llm tooling. Nvflare convert pytorch is an open-source agent skill for ai models and llm tooling.
- Nvflare convert lightning is best for turn my lightning training script into a federated job across three hospitals.
- Nvflare convert pytorch is best for convert my pytorch training script into a federated learning job.
- What it is
- Nvflare convert lightning is an open-source agent skill for ai models and llm tooling.Nvflare convert pytorch is an open-source agent skill for ai models and llm tooling.
- Best for
- Turn my Lightning training script into a federated job across three hospitalsConvert my PyTorch training script into a federated learning job
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, GooseClaude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- GitHub stars
- 4K4K
- Last commit
- Nov 2026Nov 2026
- License
- Apache-2.0Apache-2.0
- Open source
- Good for
- Turn my Lightning training script into a federated job across three hospitals; Export a federated Lightning job folder that I can run with the NVFLARE simulator; Run a local federated simulation of my existing LightningModule before deploymentConvert my PyTorch training script into a federated learning job; Make my existing nn.Module train across several hospitals with FedAvg; Wrap my manual training loop with NVFLARE Client API
What Nvflare convert lightning does
Lightning Client API patch
Wraps the existing Trainer with flare.patch so the patched trainer handles model exchange with the server.
FedAvg recipe construction
Builds the PyTorch FedAvg recipe from the documented recipe interface and wires in aggregation settings.
Lightning-native evaluation
Keeps validation and testing inside trainer.validate and validation_step with self.log for server metrics.
Local simulation and export
Runs the converted job in a local simulator or exports a folder that can be run with the simulator CLI.
Scoped validation workflow
Requires a single chosen validation target and stops at the first failed rung before diagnosing it.
Routing to related skills
Hands off DDP, Hugging Face Trainer, plain PyTorch and federated statistics requests to the matching NVFLARE skills.
What Nvflare convert pytorch does
Client API training conversion
Turns the training and evaluation loops into a client that exchanges model parameters and metrics with NVFLARE.
FedAvg recipe construction
Builds a federated job from the NVFLARE PyTorch FedAvg recipe, with explicit model class and arguments.
Constructor argument auditing
Checks the model's __init__ values from source so the job can reconstruct the model reliably.
Staged validation ladder
Runs compile checks, recipe construction and a local run, stopping at the first failure.
Step-weighted aggregation
Reports completed local optimizer steps per round as the FedAvg aggregation weight.
Safe checkpoint loading
Requires checkpoints to load with weights_only=True or asks for direction.
Nvflare convert lightning vs Nvflare convert pytorch: questions
Is Nvflare convert lightning or Nvflare convert pytorch cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Nvflare convert lightning and Nvflare convert pytorch?
Nvflare convert lightning is an open-source agent skill for ai models and llm tooling. Nvflare convert pytorch is an open-source agent skill for ai models and llm tooling.
