def _get_dummy_inputs(
        model: Union[HfModelHandler, PyTorchModelHandler], config: type[BasePassConfig]
    ) -> Union[dict, tuple]:
        """Get dummy inputs for the model."""
        return model.get_dummy_inputs(
            filter_hook=(
                model.merge_kv_cache_hook if config.use_dynamo_exporter else model.merge_kv_cache_to_tuple_hook
            ),
            filter_hook_kwargs={
                "past_kv_names": config.past_key_value_name,
            },
        )
Get dummy inputs for the model.
olive/passes/onnx/conversion.py