Skip to content

upgrade min transformers version for phi3#2263

Merged
echarlaix merged 1 commit into
mainfrom
phi3
May 13, 2025
Merged

upgrade min transformers version for phi3#2263
echarlaix merged 1 commit into
mainfrom
phi3

Conversation

@echarlaix
Copy link
Copy Markdown
Collaborator

No description provided.

@echarlaix echarlaix marked this pull request as ready for review May 13, 2025 13:56
def __init__(self, *args, **kwargs):
if is_transformers_version("==", "4.46.0"):
logger.error(
"Found transformers v4.46.0 while trying to exporting a Phi3 model, this specific version of transformers is not supported. "
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for 4.46 fixed in : huggingface/transformers#34376
for 4.49 fixed in : huggingface/transformers#36332
currently failing with v4.45 for num_beams > 1 : https://github.com/huggingface/optimum/actions/runs/14990250710

upgrading min transformers needed to v4.50 cc @IlyasMoutawwakil

@echarlaix echarlaix merged commit 446af0a into main May 13, 2025
27 of 28 checks passed
@echarlaix echarlaix deleted the phi3 branch May 13, 2025 14:12
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants