def METHOD_NAME(torch_client_filename, inputs):
    # this is only used by the client (DDP or single process), so there is no need to specify the backend.
    args = load_arguments(FEDML_TRAINING_PLATFORM_CROSS_SILO)
    if args.scenario == FEDML_CROSS_SILO_SCENARIO_HIERARCHICAL:
        CrossSiloLauncher._run_cross_silo_hierarchical(args, torch_client_filename, inputs)
    elif args.scenario == FEDML_CROSS_SILO_SCENARIO_HORIZONTAL:
        CrossSiloLauncher._run_cross_silo_horizontal(args, torch_client_filename, inputs)
    else:
        raise Exception("we do not support {}, check whether this is typo in args.scenario".format(args.scenario))