src/transformers/integrations.py/default_hp_search_backend
def default_hp_search_backend():
    if is_optuna_available():
        return "optuna"
    elif is_ray_tune_available():
        return "ray"