Skip to content

Commit ef77f28

Browse files
committed
Updates NumPy dependency to version 2.1 or higher
Increases the minimum required NumPy version to 2.1 across multiple project dependencies. This ensures compatibility with newer features and improvements in the NumPy library. Updates also include a minor patch to Torch version.
1 parent c99863b commit ef77f28

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

gguf-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers = [
1919

2020
[tool.poetry.dependencies]
2121
python = ">=3.8"
22-
numpy = ">=1.17"
22+
numpy = ">=2.1"
2323
tqdm = ">=4.27"
2424
pyyaml = ">=5.1"
2525
sentencepiece = ">=0.1.98,<=0.2.0"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616

1717
[tool.poetry.dependencies]
1818
python = ">=3.10,<3.14"
19-
numpy = "^1.25.0"
19+
numpy = "^2.1"
2020
sentencepiece = ">=0.1.98,<=0.2.0"
2121
transformers = ">=4.35.2,<5.0.0"
2222
protobuf = ">=4.21.0,<5.0.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r ./requirements-convert_legacy_llama.txt
22
--extra-index-url https://download.pytorch.org/whl/cpu
3-
torch>=2.5
3+
torch>=2.5.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r ./requirements-convert_legacy_llama.txt
22
--extra-index-url https://download.pytorch.org/whl/cpu
3-
torch>=2.5
3+
torch>=2.5.1

requirements/requirements-convert_legacy_llama.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy~=1.26.4
1+
numpy>=2.1
22
sentencepiece~=0.2.0
33
transformers>=4.45.1,<5.0.0
44
gguf>=0.1.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
numpy~=1.26.4
1+
numpy>=2.1
22
PySide6~=6.9.0
33
gguf>=0.16.0

requirements/requirements-tool_bench.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ aiohttp~=3.9.3
22
pytest~=8.3.3
33
huggingface_hub~=0.23.2
44
matplotlib~=3.10.0
5-
numpy~=1.26.4
5+
numpy>=2.1
66
openai~=1.55.3
77
pandas~=2.2.3
88
prometheus-client~=0.20.0
9-
requests~=2.32.3
9+
requests>=2.28.1
1010
wget~=3.2
1111
typer~=0.15.1
1212
seaborn~=0.13.2
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
aiohttp~=3.9.3
22
pytest~=8.3.3
33
huggingface_hub~=0.23.2
4-
numpy~=1.26.4
4+
numpy>=2.1
55
openai~=1.55.3
66
prometheus-client~=0.20.0
7-
requests~=2.32.3
7+
requests>=2.28.1
88
wget~=3.2

0 commit comments

Comments
 (0)