nvflare.client.cell.bootstrap module
Typed connection profiles for Cell-based Client API execution.
External-process profiles are owner-written launch bootstraps. Attach profiles are pre-provisioned independently of a job. Key strings and schema versions are persisted protocol and must remain stable.
- class BootstrapKey[source]
Bases:
objectStable keys shared by the backend and trainer.
- ATTACH_ID = 'attach_id'
- AUTH_IDENTITY = 'auth_identity'
- CA_CERT = 'ca_cert'
- CJ_FQCN = 'cj_fqcn'
- CJ_PID = 'cj_pid'
- CONNECTION_SECURITY = 'connection_security'
- CONNECT_URL = 'connect_url'
- CP_FQCN = 'cp_fqcn'
- CUDA_EMPTY_CACHE = 'cuda_empty_cache'
- EXECUTION_MODE = 'execution_mode'
- JOB_ID = 'job_id'
- JOB_WAIT_TIMEOUT = 'job_wait_timeout'
- LAUNCH_TOKEN = 'launch_token'
- MEMORY_GC_ROUNDS = 'memory_gc_rounds'
- RENDEZVOUS_DIR = 'rendezvous_dir'
- SCHEMA_VERSION = 'schema_version'
- SECURE_MODE = 'secure_mode'
- SITE_NAME = 'site_name'
- TASK_EXCHANGE = 'task_exchange'
- TRAINER_FQCN = 'trainer_fqcn'
- bootstrap_file_name(seq: int) str[source]
Return a launch-scoped bootstrap name so stale processes retain stale credentials.