def METHOD_NAME(self) -> None:
    with tempfile.TemporaryDirectory() as tmpdir:
        lc = LaunchConfig(
            min_nodes=1,
            max_nodes=1,
            nproc_per_node=2,
            run_id=str(uuid.uuid4()),
            rdzv_backend="c10d",
            rdzv_endpoint=os.path.join(tmpdir, "rdzv"),
            rdzv_configs={"store_type": "file"},
            start_method="spawn",
            monitor_interval=1,
            max_restarts=0,
        )
        elastic_launch(config=lc, entrypoint=self._run_trainer_random_ddp)()