From 4410067346d91e2bdb15c86d89f60be394f562bd Mon Sep 17 00:00:00 2001 From: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:00:46 +0100 Subject: [PATCH] fix format --- optimum/intel/generation/modeling.py | 1 - 1 file changed, 1 deletion(-) diff --git a/optimum/intel/generation/modeling.py b/optimum/intel/generation/modeling.py index d7fe57622f..8a79014e22 100644 --- a/optimum/intel/generation/modeling.py +++ b/optimum/intel/generation/modeling.py @@ -280,7 +280,6 @@ def forward( if position_ids is not None: inputs["position_ids"] = position_ids - model_type = self.config.model_type.replace("_", "-") if self.use_cache: