def is_accelerator_agnostic(accelerator_spec: AcceleratorSpec) -> bool:
        """Override this method to return False by using the accelerator spec information."""
        from onnxruntime import __version__ as OrtVersion
        from packaging import version

        return version.parse(OrtVersion) < version.parse("1.17.0")
Override this method to return False by using the accelerator spec information.
olive/passes/onnx/transformer_optimization.py