Skip to content

Commit 40d8e9c

Browse files
author
Roja Reddy Sareddy
committed
Add numpy 2.0 support
1 parent e747b03 commit 40d8e9c

File tree

14 files changed

+54
-47
lines changed

14 files changed

+54
-47
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,<=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: 4 additions & 4 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
@@ -22,8 +22,8 @@ requests==2.32.2
2222
sagemaker-experiments==0.1.35
2323
Jinja2==3.1.6
2424
pyvis==0.2.1
25-
pandas==1.4.4
26-
scikit-learn==1.3.0
25+
pandas==2.2.3
26+
scikit-learn==1.6.1
2727
cloudpickle==2.2.1
2828
jsonpickle<4.0.0
2929
PyYAML>=6.0.1
@@ -43,7 +43,7 @@ nbformat>=5.9,<6
4343
accelerate>=0.24.1,<=0.27.0
4444
schema==0.7.5
4545
tensorflow>=2.16.2,<=2.18.0
46-
mlflow>=2.12.2,<2.13
46+
mlflow>=2.16.1
4747
huggingface_hub==0.26.2
4848
uvicorn>=0.30.1
4949
fastapi==0.115.4

src/sagemaker/serve/utils/conda_in_process.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ 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
1919
- packaging>=23.0,<25
20-
- pandas
20+
- pandas==2.2.3
2121
- pathos
2222
- schema
2323
- PyYAML>=6.0.1
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ dependencies:
44
- python=3.10.13
55
- pip<=23.3.1
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

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

Lines changed: 7 additions & 7 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>=1.26.4
10+
- pandas==2.2.3
1111
- psutil==5.9.8
12-
- scikit-learn==1.3.2
13-
- scipy==1.11.3
14-
- xgboost==1.7.1
12+
- scikit-learn==1.6.1
13+
- scipy==1.13.0
14+
- xgboost>=2.1.0
1515
name: mlflow-env
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
mlflow==2.13.2
1+
mlflow>=2.16.1
22
lz4==4.3.2
3-
numpy==1.26.4
4-
pandas==2.0.3
3+
numpy>=1.26.4
4+
pandas==2.2.3
55
psutil==5.9.8
6-
scikit-learn==1.5.1
7-
scipy==1.11.3
8-
xgboost==1.7.1
6+
scikit-learn==1.6.1
7+
scipy==1.13.0
8+
xgboost>=2.1.0

0 commit comments

Comments
 (0)