Skip to content

Commit 98719d7

Browse files
author
Roja Reddy Sareddy
committed
Add numpy 2.0 support
1 parent 5198f28 commit 98719d7

File tree

14 files changed

+44
-44
lines changed

14 files changed

+44
-44
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"google-pasta",
4040
"importlib-metadata>=1.4.0,<7.0",
4141
"jsonschema",
42-
"numpy==1.26.4",
42+
"numpy>=2.0.0,<2.3.0",
4343
"omegaconf>=2.2,<3",
4444
"packaging>=23.0,<25",
4545
"pandas",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scipy==1.11.3
1+
scipy==1.13.0

requirements/extras/test_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tox==3.24.5
2-
numpy==1.26.4
2+
numpy>=2.0.0, <2.3.0
33
build[virtualenv]==1.2.1
44
flake8==7.1.2
55
pytest==6.2.5
@@ -23,8 +23,8 @@ requests==2.32.2
2323
sagemaker-experiments==0.1.35
2424
Jinja2==3.1.6
2525
pyvis==0.2.1
26-
pandas==1.4.4
27-
scikit-learn==1.3.0
26+
pandas==2.2.3
27+
scikit-learn==1.6.1
2828
cloudpickle==2.2.1
2929
jsonpickle<4.0.0
3030
PyYAML>=6.0.1

src/sagemaker/serve/utils/conda_in_process.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- boto3>=1.34.142,<2.0
1313
- cloudpickle==2.2.1
1414
- google-pasta
15-
- numpy==1.26.4
15+
- numpy>=2.0.0,<2.3.0
1616
- protobuf>=3.12,<5.0
1717
- smdebug_rulesconfig==1.0.1
1818
- importlib-metadata>=1.4.0,<7.0
@@ -64,7 +64,7 @@ dependencies:
6464
- multiprocess>=0.70.14
6565
- networkx>=3.1
6666
- packaging>=23.1
67-
- pandas>=1.5.3
67+
- pandas==2.2.3
6868
- pathos>=0.3.0
6969
- pillow>=9.5.0
7070
- platformdirs>=3.2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scipy==1.11.3
1+
scipy==1.13.0

tests/data/serve_resources/mlflow/pytorch/conda.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ channels:
22
- conda-forge
33
dependencies:
44
- python=3.10.13
5-
- pip<=23.3.1
5+
- pip<=24.3
66
- pip:
7-
- mlflow==2.10.2
7+
- mlflow>=2.16.1
88
- astunparse==1.6.3
99
- cffi==1.16.0
1010
- cloudpickle==2.2.1
1111
- defusedxml==0.7.1
1212
- dill==0.3.9
1313
- gmpy2==2.1.2
14-
- numpy==1.26.4
14+
- numpy>=2.0.0,<2.3.0
1515
- opt-einsum==3.3.0
1616
- packaging==24.0
17-
- pandas==2.2.1
17+
- pandas==2.2.3
1818
- pyyaml==6.0.1
1919
- requests==2.31.0
2020
- torch>=2.6.0
2121
- torchvision>=0.17.0
2222
- tqdm==4.66.2
23-
- scikit-learn==1.3.2
23+
- scikit-learn==1.6.1
2424
name: mlflow-env

tests/data/serve_resources/mlflow/pytorch/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ cloudpickle==2.2.1
55
defusedxml==0.7.1
66
dill==0.3.9
77
gmpy2==2.1.2
8-
numpy==1.26.4
8+
numpy>=2.0.0,<2.3.0
99
opt-einsum==3.3.0
1010
packaging>=23.0,<25
11-
pandas==2.2.1
11+
pandas==2.2.3
1212
pyyaml==6.0.1
1313
requests==2.32.2
1414
torch>=2.6.0

tests/data/serve_resources/mlflow/tensorflow/conda.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ channels:
22
- conda-forge
33
dependencies:
44
- python=3.10.13
5-
- pip<=23.3.1
5+
- pip<=24.3
66
- pip:
7-
- mlflow==2.11.1
7+
- mlflow>=2.16.1
88
- cloudpickle==2.2.1
9-
- numpy==1.26.4
10-
- tensorflow==2.16.1
9+
- numpy>=1.26.4
10+
- tensorflow==2.18.0
1111
name: mlflow-env
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mlflow==2.20.3
22
cloudpickle==2.2.1
3-
numpy==1.26.4
4-
tensorflow==2.16.1
3+
numpy>=1.26.4
4+
tensorflow==2.18.0

tests/data/serve_resources/mlflow/xgboost/conda.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ channels:
22
- conda-forge
33
dependencies:
44
- python=3.10.13
5-
- pip<=23.3.1
5+
- pip<=24.3
66
- pip:
7-
- mlflow==2.11.1
7+
- mlflow>=2.16.1
88
- lz4==4.3.2
9-
- numpy==1.26.4
10-
- pandas==2.2.1
9+
- numpy>=2.0.0
10+
- pandas==2.2.3
1111
- psutil==5.9.8
12-
- scikit-learn==1.3.2
13-
- scipy==1.11.3
12+
- scikit-learn==1.6.1
13+
- scipy==1.13.0
1414
- xgboost==1.7.1
1515
name: mlflow-env

0 commit comments

Comments
 (0)