executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
launch-and-packagingBuild FedML client/server packages, validate job YAML, and launch jobs on FedML/TensorOpera with explicit credential and side-effect control.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for fedml build, fedml train build, fedml federate build, fedml launch, and the Python launch/build APIs.
../setup-and-cli/SKILL.md.../distributed-training/SKILL.md.../model-serving/SKILL.md.../workflow-orchestration/SKILL.md.Read ../../references/cli-reference.md#launch-and-build.
Read ../../references/backend-matrix.md#workflow-backend-requirements.
Locate the job YAML and workspace/entry point it references.
Run the bundled YAML preflight helper when a local YAML file is available:
python sub-skills/launch-and-packaging/scripts/validate_job_yaml.py path/to/job.yaml
Decide whether the requested action is package-only or remote launch.
Package-only tasks are safe if they do not upload or launch remote resources.
Use one of:
fedml build --help
fedml train build --help
fedml federate build --help
Python API equivalents:
import fedml.api
fedml.api.fedml_build(platform, type, source_folder, entry_point, config_folder, dest_folder, ignore)
fedml.api.train_build(job_yaml_file, dest_folder)
fedml.api.federate_build(job_yaml_file, dest_folder)
Remote launch tasks require explicit approval because they can consume platform resources.
Before launching, confirm:
release, test, dev, or local).CLI and API entry points:
fedml launch job.yaml
fedml launch job.yaml -k <api-key> -c <cluster-name>
import fedml.api
result = fedml.api.launch_job("job.yaml", api_key="...")
result = fedml.api.launch_job_on_cluster("job.yaml", cluster="my-cluster", api_key="...")
A successful LaunchResult exposes result_code, result_msg, run_id, project_id, and sometimes inner_id for serving endpoints.
fedml jobs; older docs may mention fedml jobs start.A launch/packaging task is complete when the YAML/workspace is validated, package-vs-launch intent is clear, any remote side effects are approved, and launch/build outputs or blocking errors are recorded with run ids when available.