def _get_worker_name(self):
    try:
        import horovod.mxnet as hvd
        if hvd.size():
            return f'worker_{hvd.rank()}'
    except (ModuleNotFoundError, ValueError, ImportError):
        pass
    return DEFAULT_WORKER_NAME
def _get_worker_name(self):
    try:
        import horovod.mxnet as hvd
        if hvd.size():
            return f'worker_{hvd.rank()}'
    except (ModuleNotFoundError, ValueError, ImportError):
        pass
    return DEFAULT_WORKER_NAME