Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MeouSker77 committed Dec 24, 2024
1 parent 4c7cae0 commit 95f41a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/llm/src/ipex_llm/transformers/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,7 @@ def _optimize_post(model, lightweight_bmm=False):

convert_forward(model, module.MistralModel, mistral_model_forward)
convert_forward(model, module.MistralAttention, mistral_attention_forward)
convert_forward(model, module.MistralSdpaAttention, mistral_attention_forward)
convert_forward(model, module.MistralRMSNorm, rms_norm_forward)
convert_forward(model, module.MistralMLP, mlp_silu_forward)
elif model.config.model_type == "gemma":
Expand Down

0 comments on commit 95f41a5

Please sign in to comment.