Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[generation] fix type hint #35725

Merged
merged 2 commits into from
Jan 16, 2025
Merged

[generation] fix type hint #35725

merged 2 commits into from
Jan 16, 2025

Conversation

gante
Copy link
Member

@gante gante commented Jan 16, 2025

What does this PR do?

Fixes #35723 (code crashes because of bad type hint)

@HuggingFaceDocBuilderDev

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.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

thanks!

@gante gante merged commit 3292e96 into huggingface:main Jan 16, 2025
25 checks passed
@gante gante deleted the fix_35723 branch January 16, 2025 15:10
@CISC
Copy link
Contributor

CISC commented Jan 17, 2025

Sorry, my bad, thanks for fixing.

However I'm wondering why this wasn't caught by the tests? I thought they ran on 3.9?

@ArthurZucker
Copy link
Collaborator

Nightly might yeah but CI is on 3.10 I think

bursteratom pushed a commit to bursteratom/transformers that referenced this pull request Jan 31, 2025
@ydshieh
Copy link
Collaborator

ydshieh commented Feb 3, 2025

Yes CI is on 3.10. On CircleCI, we might be able to switch to 3.9 easily, but not on daily CI. Let me check.

elvircrn pushed a commit to elvircrn/transformers that referenced this pull request Feb 13, 2025
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.

Break point in Transformers V4.48.0 and python 3.9
5 participants