optimum/executorch/modeling.py [419:426]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        decoder_input_ids: torch.Tensor,
        cache_position: torch.Tensor,
        encoder_outputs: Optional[torch.Tensor] = None,
    ):
        # Encode if needed (first prediction pass)
        is_first_prediction = encoder_outputs is None
        self.stats.on_model_execution_start()
        if is_first_prediction:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



optimum/executorch/modeling.py [968:974]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        decoder_input_ids: torch.Tensor,
        cache_position: torch.Tensor,
        encoder_outputs: Optional[torch.Tensor] = None,
    ):
        is_first_prediction = encoder_outputs is None
        self.stats.on_model_execution_start()
        if is_first_prediction:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



