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

Fix stack overflow #9114

Merged
merged 1 commit into from
Dec 15, 2020
Merged

Fix stack overflow #9114

merged 1 commit into from
Dec 15, 2020

Conversation

LysandreJik
Copy link
Member

Currently calling n_sequences on a BatchEncoding results in a stack overflow.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks!

@LysandreJik LysandreJik merged commit 59da3f2 into master Dec 15, 2020
@LysandreJik LysandreJik deleted the fix-stack-overflow branch December 15, 2020 14:15
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.

None yet

2 participants