Skip to content

Commit 0ca9447

Browse files
authored
Fix format (#546)
1 parent 788e458 commit 0ca9447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optimum/intel/ipex/modeling_base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import logging
1717
import os
18-
from functools import wraps
1918
from pathlib import Path
2019
from tempfile import TemporaryDirectory
2120
from typing import Optional, Tuple, Union
@@ -290,7 +289,8 @@ class IPEXModelForQuestionAnswering(IPEXModel):
290289
auto_model_class = AutoModelForQuestionAnswering
291290
export_feature = "question-answering"
292291

293-
def forward(self,
292+
def forward(
293+
self,
294294
input_ids: torch.Tensor,
295295
attention_mask: torch.Tensor,
296296
token_type_ids: torch.Tensor = None,

0 commit comments

Comments
 (0)