Skip to content

Commit

Permalink
fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalapotter committed Jul 11, 2024
1 parent 5cb86bb commit 256a4e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/llm/src/ipex_llm/transformers/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ def _replace_with_low_bit_linear(model, qtype, modules_to_not_convert=None,
optimize_lm_head = os.environ.get("IPEX_LLM_LAST_LM_HEAD", None) == "1"
elif os.environ.get("IPEX_LLM_LOW_MEM", None) is not None:
optimize_lm_head = os.environ.get("IPEX_LLM_LOW_MEM", None) == "1"
else:
optimize_lm_head = False
with init_empty_weights():
new_linear = None
is_gptq = is_gptq_linear(module)
Expand Down

0 comments on commit 256a4e1

Please sign in to comment.