Skip to content

Commit bd03552

Browse files
committed
remove duplicates
1 parent efedca4 commit bd03552

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

optimum/intel/ipex/modeling_base.py

-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ def _is_patched_with_ipex(model, task):
6868
return False
6969

7070
if isinstance(model, torch.jit.ScriptModule):
71-
if is_ipex_version("<", "2.3.0"):
72-
return False
7371
for node in model.graph.nodes():
7472
# Jit will record the codes position so we can check if the node use ipex exporter.
7573
if "torch_ipex::rotary_position_embedding" in node.__str__():

0 commit comments

Comments
 (0)