def default_config(cls, accelerator_spec: AcceleratorSpec) -> dict[str, PassConfigParam]:
        """Get the default configuration for the pass."""
        config = cls._default_config(accelerator_spec)
        # validate that all parameters ending with data_config are of type DataConfig, Union[DataConfig, dict], ...
        # this requirement is on the pass developer but we can only check it here
        for param, param_config in config.items():
            if param.endswith("data_config"):
                param_type = param_config.type_
                assert param_type == DataConfig or DataConfig in get_args(param_type), (
                    f"{param} ending with data_config must be of type DataConfig."
                )
        return config
Get the default configuration for the pass.
olive/passes/olive_pass.py