def METHOD_NAME(
    local_rank: int, backend: str, fn: Callable, args: Tuple, kwargs_dict: Mapping
) -> None:
    from ignite.distributed.utils import _set_model, finalize
    model = _XlaDistModel.create_from_backend(backend)
    _set_model(model)
    fn(local_rank, *args, **kwargs_dict)
    finalize()