def METHOD_NAME(node_rank):
    torchrun_path = subprocess.run(["which", "torchrun"], capture_output=True, text=True).stdout.strip()
    return [
        torchrun_path,
        f"--nnodes={args.n_node_in_silo}",
        f"--nproc_per_node={args.n_proc_per_node}",
        # "--rdzv_backend=c10d",
        f"--rdzv_endpoint={args.master_address}:{args.launcher_rdzv_port}",
        f"--node_rank={node_rank}",
        "--rdzv_id=hi_fl",
        torch_client_filename,
    ] + inputs