def parser_schedulers_config(scheduler_id: str):
    """
    add extra config parameter to scheduler
    """
    kwargs = {}
    if "karras" in scheduler_id:
        kwargs["use_karras_sigmas"] = True
    return kwargs

    add extra config parameter to scheduler
    
lib/diffusers/scheduler.py