def METHOD_NAME(self, cfg: ConfigDict, default_args: dict = None):
    try:
        return METHOD_NAME(
            self.lora_layers.parameters(),
            cfg=cfg,
            default_args=default_args)
    except KeyError as e:
        self.logger.error(
            f'Build optimizer error, the optimizer {cfg} is a torch native component, '
            f'please check if your torch with version: {torch.__version__} matches the config.'
        )
        raise e