LLM: Fix log condition for BIGDL_OPT_IPEX (#10441)
remove log for BIGDL_OPT_IPEX
This commit is contained in:
parent
a57fd52a5b
commit
dbdeaddd6a
1 changed files with 0 additions and 2 deletions
|
|
@ -649,8 +649,6 @@ def ggml_convert_low_bit(model, qtype, optimize_model=True,
|
||||||
# using ipex optimizer before changing to bigdl linear
|
# using ipex optimizer before changing to bigdl linear
|
||||||
_enable_ipex = get_enable_ipex()
|
_enable_ipex = get_enable_ipex()
|
||||||
|
|
||||||
if device == "cpu":
|
|
||||||
logger.info(f"BIGDL_OPT_IPEX: {_enable_ipex}")
|
|
||||||
if _enable_ipex:
|
if _enable_ipex:
|
||||||
model = _optimize_ipex(model, qtype)
|
model = _optimize_ipex(model, qtype)
|
||||||
return model
|
return model
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue