Skip to content

Commit 0ddbc16

Browse files
authored
Add tokenizers package (#1675)
`tokenizers` is used for tokenization of strings. While we do currently import titoken as well, we want to use `tokenizers` to count tokens the same way Seer does in Sentry for stacktrace token counts. We could consider converting usages of titoken to `tokenizers` to maintain a dependency on only one tokenization package, but for now we will have them both.
1 parent c601687 commit 0ddbc16

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ validate_incorrect_missing_deps = psycopg2-binary
573573
[filelock==3.15.3]
574574
[filelock==3.16.1]
575575
[filelock==3.18.0]
576+
[filelock==3.19.1]
576577

577578
[flake8==4.0.1]
578579
[flake8==5.0.2]
@@ -614,6 +615,8 @@ validate_incorrect_missing_deps = psycopg2-binary
614615
[frozenlist==1.4.1]
615616
[frozenlist==1.5.0]
616617

618+
[fsspec==2025.9.0]
619+
617620
[ghp-import==2.1.0]
618621

619622
[gitdb==4.0.5]
@@ -825,6 +828,8 @@ python_versions = <3.13
825828

826829
[hera==5.25.1]
827830

831+
[hf-xet==1.1.10]
832+
828833
[hiredis==0.3.1]
829834
python_versions = <3.12
830835
[hiredis==2.0.0]
@@ -856,6 +861,8 @@ python_versions = <3.12
856861
[httpx==0.27.2]
857862
[httpx==0.28.1]
858863

864+
[huggingface-hub==0.35.3]
865+
859866
[hyperframe==6.0.1]
860867
[hyperframe==6.1.0]
861868

@@ -1675,6 +1682,9 @@ python_versions = <3.13
16751682
[pyyaml==6.0.2]
16761683
apt_requires = libyaml-dev
16771684
brew_requires = libyaml
1685+
[pyyaml==6.0.3]
1686+
apt_requires = libyaml-dev
1687+
brew_requires = libyaml
16781688

16791689
[pyyaml-env-tag==1.1]
16801690

@@ -2970,6 +2980,8 @@ python_versions = <3.13
29702980
[tokenize-rt==5.2.0]
29712981
[tokenize-rt==6.1.0]
29722982

2983+
[tokenizers==0.22.1]
2984+
29732985
[toml==0.10.2]
29742986

29752987
[tomli==2.0.1]

0 commit comments

Comments
 (0)