mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-03-17 16:44:07 +00:00
gguf-py : bump sentencepiece version (#19319)
* gguf-py: Bump sentencepiece version There's a new version that's been out for a while that addresses the issues mentioned in https://github.com/ggml-org/llama.cpp/pull/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
This commit is contained in:
@@ -23,7 +23,7 @@ numpy = ">=1.17"
|
|||||||
tqdm = ">=4.27"
|
tqdm = ">=4.27"
|
||||||
pyyaml = ">=5.1"
|
pyyaml = ">=5.1"
|
||||||
requests = ">=2.25"
|
requests = ">=2.25"
|
||||||
sentencepiece = { version = ">=0.1.98,<=0.2.0", optional = true }
|
sentencepiece = { version = ">=0.1.98,<0.3.0", optional = true }
|
||||||
PySide6 = { version = "^6.9", python = ">=3.9,<3.14", optional = true }
|
PySide6 = { version = "^6.9", python = ">=3.9,<3.14", optional = true }
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ classifiers = [
|
|||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.9"
|
python = ">=3.9"
|
||||||
numpy = "^1.25.0"
|
numpy = "^1.25.0"
|
||||||
sentencepiece = ">=0.1.98,<=0.2.0"
|
sentencepiece = ">=0.1.98,<0.3.0"
|
||||||
transformers = ">=4.35.2,<5.0.0"
|
transformers = ">=4.35.2,<5.0.0"
|
||||||
protobuf = ">=4.21.0,<5.0.0"
|
protobuf = ">=4.21.0,<5.0.0"
|
||||||
gguf = { path = "./gguf-py" }
|
gguf = { path = "./gguf-py" }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
numpy~=1.26.4
|
numpy~=1.26.4
|
||||||
sentencepiece~=0.2.0
|
sentencepiece>=0.1.98,<0.3.0
|
||||||
|
|
||||||
transformers>=4.57.1,<5.0.0
|
transformers>=4.57.1,<5.0.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user