Skip to content

Commit

Permalink
Update optimum/intel/openvino/modeling_decoder.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ella Charlaix <[email protected]>
  • Loading branch information
eaidova and echarlaix authored Jan 30, 2025
1 parent a9a64c6 commit 1760da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/intel/openvino/modeling_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _from_transformers(
stateful=stateful,
model_loading_kwargs=model_loading_kwargs,
library_name=cls._library_name,
weughts_variant=variant,
variant=variant,
)

if config.model_type == "phi3" and config.max_position_embeddings != getattr(
Expand Down

0 comments on commit 1760da7

Please sign in to comment.