Skip to content

Commit eaa343d

Browse files
author
Roja Reddy Sareddy
committed
Add numpy 2.0 support
1 parent c4e9428 commit eaa343d

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

requirements/extras/test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tox==3.24.5
2-
numpy>=1.26.4, <2.0
2+
numpy>=2.0.0, <3.0
33
build[virtualenv]==1.2.1
44
flake8==7.1.2
55
pytest==6.2.5

src/sagemaker/serve/utils/conda_in_process.yml

Lines changed: 1 addition & 1 deletion
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,<2.0
15+
- numpy>=2.0.0,<3.0
1616
- protobuf>=3.12,<5.0
1717
- smdebug_rulesconfig==1.0.1
1818
- importlib-metadata>=1.4.0,<7.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- defusedxml==0.7.1
1212
- dill==0.3.9
1313
- gmpy2==2.1.2
14-
- numpy>=1.26.4,<2.0
14+
- numpy>=2.0.0,<3.0
1515
- opt-einsum==3.3.0
1616
- packaging==24.0
1717
- pandas>=2.3.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cloudpickle==2.2.1
55
defusedxml==0.7.1
66
dill==0.3.9
77
gmpy2==2.1.2
8-
numpy>=1.26.4,<2.0
8+
numpy>=2.0.0,<3.0
99
opt-einsum==3.3.0
1010
packaging>=23.0,<25
1111
pandas>=2.3.0

tests/data/serve_resources/mlflow/tensorflow/MLmodel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ flavors:
1010
code: null
1111
model_type: tf2-module
1212
saved_model_dir: tf2model
13-
mlflow_version: 2.20.3
13+
mlflow_version: 2.11.1
1414
model_size_bytes: 23823
1515
model_uuid: 40d2323944294fce898d8693455f60e8
1616
run_id: 592132312fb84935b201de2c027c54c6
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mlflow==3.1.0
22
lz4==4.3.2
3-
numpy>=1.26.4,<2.0
3+
numpy>=1.26.4,<3.0
44
pandas>=2.3.0
55
psutil==5.9.8
6-
scikit-learn==1.5.1
7-
scipy==1.11.3
6+
scikit-learn==1.6.1
7+
scipy==1.13.0
88
xgboost==1.7.1

tests/integ/sagemaker/experiments/test_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def _generate_estimator(
693693
sagemaker_client_config=sagemaker_client_config,
694694
)
695695
return SKLearn(
696-
framework_version="1.2-1",
696+
framework_version="1.4-2",
697697
entry_point=_ENTRY_POINT_PATH,
698698
dependencies=[sdk_tar],
699699
role=execution_role,

tests/unit/sagemaker/jumpstart/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12095,7 +12095,7 @@
1209512095
"inference_vulnerabilities": [],
1209612096
"training_vulnerable": False,
1209712097
"training_dependencies": [
12098-
"numpy>=1.26.4",
12098+
"numpy>=2.0.0",
1209912099
"opencv_python==4.7.0.68",
1210012100
"sagemaker_jumpstart_prepack_script_utilities==1.0.0",
1210112101
],
@@ -14360,7 +14360,7 @@
1436014360
"jmespath==1.0.1",
1436114361
"jsonschema==4.17.3",
1436214362
"multiprocess==0.70.14",
14363-
"numpy>=1.26.4",
14363+
"numpy>=2.0.0",
1436414364
"oscrypto==1.3.0",
1436514365
"packaging==23.1",
1436614366
"pandas>=2.3.0",

0 commit comments

Comments
 (0)