def io_config(self) -> dict[str, Any]:
        """Return io config of the model.

        Priority: io_config > hf onnx_config
        """
        io_config = None
        if self._io_config:
            # io_config is provided
            io_config = self.get_resolved_io_config(
                self._io_config, force_kv_cache=self.task.endswith("-with-past"), model_attributes=self.model_attributes
            )
        else:
            logger.debug("Trying hf optimum export config to get io_config")
            io_config = self.get_hf_io_config()
            if io_config:
                logger.debug("Got io_config from hf optimum export config")

        return io_config
Return io config of the model.

        Priority: io_config > hf onnx_config
        
olive/model/handler/hf.py