Skip to content

Commit

Permalink
Fix NeuralChat starcoder mha fusion issue (#494)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Chang <chang1.wang@intel.com>
  • Loading branch information
changwangss committed Oct 19, 2023
1 parent e133632 commit ce3d24e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def load_model(
)

adapt_transformers_to_gaudi()
elif device == "cpu":
elif device == "cpu" and not ipex_int8:
set_cpu_running_env()

if isinstance(optimization_config, AMPConfig):
Expand Down

0 comments on commit ce3d24e

Please sign in to comment.