mixle.utils.parallel.training_launchers moduleΒΆ
Optional cluster launchers for distributed-gradient sessions.
Ray Train and Lightning Fabric manage worker lifecycle. They do not alter the
statistical update or pretend to implement model-parallel kernels; each worker
still selects torch_native or megatron and materializes its plan.
- class LightningFabricLauncher[source]
Bases:
objectCreate Fabric for pure DDP or FSDP jobs.
Lightning is capability-gated to data parallelism here. Model parallel dimensions remain the responsibility of the native DeviceMesh or Megatron backend rather than being accepted and discarded by Fabric.
- class RayTrainLauncher[source]
Bases:
objectLaunch one worker per physical plan rank with
ray.train.torch.