Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-huang committed Mar 25, 2024
1 parent 1ad0d00 commit 10848c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/community/langchain_community/llms/ipex_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def from_model_id(

except ImportError:
raise ValueError(
"Could not import ipex_llm or transformers. "
"Please install it with `pip install --pre --upgrade ipex_llm[all]`."
"Could not import ipex-llm or transformers. "
"Please install it with `pip install --pre --upgrade ipex-llm[all]`."
)

_model_kwargs = model_kwargs or {}
Expand Down Expand Up @@ -125,8 +125,8 @@ def from_model_id_low_bit(

except ImportError:
raise ValueError(
"Could not import ipex_llm or transformers. "
"Please install it with `pip install --pre --upgrade ipex_llm[all]`"
"Could not import ipex-llm or transformers. "
"Please install it with `pip install --pre --upgrade ipex-llm[all]`."
)

_model_kwargs = model_kwargs or {}
Expand Down

0 comments on commit 10848c6

Please sign in to comment.