Skip to main content

Module scheduler

Module scheduler 

Source
Expand description

Scheduler: distributes ExecutionPlan nodes across available workers.

Rules:

  1. Sequential phases → single worker (avoid data transfer)
  2. Parallel branches → distribute across workers by capability
  3. Differentiable connected nodes → same worker (gradient flow)
  4. Study trials → round-robin across all workers
  5. Auto-assign: users don’t pick workers, the scheduler does

Structs§

Assignment
Assignment of a node/phase to a specific worker.
DataTransfer
A data transfer between workers.
DistributionPlan
The complete distribution plan produced by the scheduler.
PlanPhase
A phase in the execution plan.
WorkerInfo
A worker’s capabilities and current load.

Enums§

Phase
Execution phase type.

Functions§

schedule
Schedule an execution plan across available workers.