Skip to content

Commit

Permalink
Add into convert
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyuangong committed Jun 13, 2024
1 parent 58b2729 commit 1226837
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/llm/src/ipex_llm/transformers/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ def ggml_convert_low_bit(model, qtype, optimize_model=True,
f"{list(gguf_mixed_qtype.keys())[index]} "
f"format......")
modules_to_not_convert = [] if modules_to_not_convert is None else modules_to_not_convert
# Disable ipex duplicate import checker
from ipex_llm.utils.ipex_importer import revert_import
revert_import()

# using ipex_llm optimizer before changing to bigdl linear
_enable_ipex = get_enable_ipex()
Expand Down

0 comments on commit 1226837

Please sign in to comment.