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

Fixing a multithreading bug in WordpieceTokenizer #382

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

Craigacp
Copy link
Member

Description

WordpieceTokenizer improperly cloned it's state, so failed in multithreaded environments. Now it doesn't.

Motivation

Fewer crashes.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 25, 2024
Copy link
Member

@jhalexand jhalexand left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@Craigacp Craigacp merged commit 81605a2 into main Oct 25, 2024
14 checks passed
@Craigacp Craigacp deleted the wordpiece-fix branch October 25, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants