nv_dfm_core.targets: Execution Targets#

DFM supports two execution targets that share the same core execution layer. Choose a target when constructing a Session.

nv_dfm_core.targets.flare: NVIDIA Flare Target#

Runs the federation over NVIDIA Flare’s distributed infrastructure. Suitable for production deployments where sites run on separate machines.

FlareSessionDelegate

FlareApp

FlareOptions

Flare options for the DFM Flare target.

FlareRouter

Job

nv_dfm_core.targets.local: Local Target#

Emulates a distributed federation on a single machine using Python multiprocessing. Ideal for development and testing without external infrastructure.

LocalSessionDelegate

FederationRunner

Manages a pool of N JobRunner instances, each of which has site-many processes.

LocalJob

A Job is a request to run a pipeline.

JobRunner

The JobRunner is a worker process that represents the logic running on a dfm site.

JobExecution

A JobExecution object has a JobRunner process for every site to execute a pipeline.

JobHandle

Lightweight tracking of running job execution.

JobSubmission

LocalRouter