forked from openai/tiktoken
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream code in openai/tiktoken is wrapped with PyO3 so they're concerned about short-lived python-land threads eating up memory in our case, we have a fixed actor-thread-pool dedicated to tokenization so we don't need extra copies and hash collisions getting in the way
- Loading branch information
Showing
3 changed files
with
23 additions
and
37 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters