-
Notifications
You must be signed in to change notification settings - Fork 211
update ipex api #1650
base: main
Are you sure you want to change the base?
update ipex api #1650
Conversation
Signed-off-by: intellinjun <[email protected]>
⛈️ Required checks status: Has failure 🔴
Groups summary🟢 Format Scan Tests workflow
These checks are required after the changes to 🔴 NeuralChat Unit Test
These checks are required after the changes to 🟡 Chat Bot Test workflow
These checks are required after the changes to Thank you for your contribution! 💜
|
@changwangss could you help review this pr? |
model.eval(), | ||
dtype=torch_dtype, | ||
inplace=True, | ||
level="O1", | ||
auto_kernel_selection=True, | ||
) | ||
except AssertionError: | ||
model = intel_ipex.optimize( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also change it (Line 849)? as I know, ipex.llm.optimize
is recommanded to run bf16 LLMs inference by IPEX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: intellinjun <[email protected]>
convert to draft since the intel_ipex.llm.optimize will make the model cannot run. |
Type of Change
feature or bug fix or documentation or others
API changed or not
yes
Description
update ipex api
detail description