Individual skill
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; use when the user names plain PyTorch or preliminary source inspection identifies one plain-PyTorch owner, and not for Lightning, other frameworks, deployment, POC/production lifecycle, or experiment workflows.
skills/nvflare-convert-pytorch/SKILL.md
Source commit fce3cca4170be75e82c64920654d56ee2811b005
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 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,907
- 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,-conversion Declared skill tag
- 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 · 10,700 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesSKILL.mdcore · 10,587 bytesassets/client_with_eval.pyruns · 4,642 bytesevals/config.ymlasset · 295 bytesevals/evals.jsonasset · 61,934 bytesevals/files/SOURCE.mddoc · 3,112 bytesevals/files/checkpoint-pt/model.pyruns · 829 bytesevals/files/checkpoint-pt/train.pyruns · 1,123 bytesevals/files/data-parallel-pt/model.pyruns · 831 bytesevals/files/data-parallel-pt/train.pyruns · 1,121 bytesevals/files/eval-pt/model.pyruns · 954 bytesevals/files/eval-pt/train.pyruns · 1,956 bytesevals/files/external-data-pt/model.pyruns · 906 bytesevals/files/external-data-pt/train.pyruns · 2,342 bytesevals/files/factory-optimizer/train.pyruns · 1,007 bytesevals/files/gpu-device-pt/model.pyruns · 892 bytesevals/files/gpu-device-pt/train.pyruns · 1,124 bytesevals/files/hello-pt/model.pyruns · 906 bytesevals/files/hello-pt/train.pyruns · 1,343 bytesevals/files/injection-pt/README.mddoc · 1,025 bytesevals/files/injection-pt/config.yamlasset · 437 bytesevals/files/injection-pt/model.pyruns · 906 bytesevals/files/injection-pt/requirements.txtdoc · 316 bytesevals/files/injection-pt/train.pyruns · 2,027 bytesevals/files/state-mismatch-pt/checkpoint_manifest.jsonasset · 391 bytesevals/files/state-mismatch-pt/model.pyruns · 880 bytesevals/files/state-mismatch-pt/train.pyruns · 712 bytesreferences/job-validation.mddoc · 2,134 bytesreferences/pytorch-client-api-conversion.mddoc · 9,109 bytesreferences/recipe-selection.mddoc · 4,821 bytesskill-card.mddoc · 4,295 bytesskill.oms.sigasset · 11,317 bytes
Read excerpt
# NVFLARE Convert PyTorch
## Use When
Use when converting an existing plain PyTorch training script, `torch.nn.Module`,
manual training loop, `state_dict` workflow, data loader, checkpoint, or metric loop
into an NVFLARE federated training job. Supports horizontal FL, Client API model
exchange with `FLModel`, recipe `aggregator=` hooks, validation, and export.
## Do Not Use When
Do not use for PyTorch Lightning (route to `nvflare-convert-lightning`), Hugging Face Trainer (route to `nvflare-convert-huggingface`), TensorFlow, XGBoost,
scikit-learn, failed jobs (route to
`nvflare-diagnose-job`), federated statistics without training (route to