Skip to content

Commit 3228e77

Browse files
authored
gguf-py : bump sentencepiece version (ggml-org#19319)
* gguf-py: Bump sentencepiece version There's a new version that's been out for a while that addresses the issues mentioned in ggml-org#14200. There's a long chain of reasons I would like this change, but the short version is that it allows people who use both `sentencepiece` and `gguf` to take advantage of these fixes. On conda-forge, currently, it locks the version (since there is no notion of optional dependencies). Regardless, I don't think this should be too controversial. * review feedback
1 parent 7fbd36c commit 3228e77

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gguf-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ numpy = ">=1.17"
2323
tqdm = ">=4.27"
2424
pyyaml = ">=5.1"
2525
requests = ">=2.25"
26-
sentencepiece = { version = ">=0.1.98,<=0.2.0", optional = true }
26+
sentencepiece = { version = ">=0.1.98,<0.3.0", optional = true }
2727
PySide6 = { version = "^6.9", python = ">=3.9,<3.14", optional = true }
2828

2929
[tool.poetry.dev-dependencies]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
[tool.poetry.dependencies]
1818
python = ">=3.9"
1919
numpy = "^1.25.0"
20-
sentencepiece = ">=0.1.98,<=0.2.0"
20+
sentencepiece = ">=0.1.98,<0.3.0"
2121
transformers = ">=4.35.2,<5.0.0"
2222
protobuf = ">=4.21.0,<5.0.0"
2323
gguf = { path = "./gguf-py" }

requirements/requirements-convert_legacy_llama.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numpy~=1.26.4
2-
sentencepiece~=0.2.0
2+
sentencepiece>=0.1.98,<0.3.0
33

44
transformers>=4.57.1,<5.0.0
55

0 commit comments

Comments
 (0)