Skip to content

Commit 54b973c

Browse files
authored
fix ipex_llm import in transformers 4.45 (#12099)
1 parent a6cbc01 commit 54b973c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/llm/src/ipex_llm/utils/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
trans_version = transformers.__version__
2424

25-
if trans_version >= "4.43.0":
25+
if trans_version >= "4.45.0":
26+
pass
27+
elif trans_version >= "4.43.0":
2628
from .benchmark_util_4_43 import BenchmarkWrapper
2729
elif trans_version >= "4.42.0":
2830
from .benchmark_util_4_42 import BenchmarkWrapper

0 commit comments

Comments
 (0)