From 634dc3bf18b84e487dbfab848fb07447fa30fa03 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Wed, 29 Nov 2023 12:27:07 -0800 Subject: [PATCH] Add NPY_NO_DEPRECATED_API --- orttraining/orttraining/python/orttraining_python_module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orttraining/orttraining/python/orttraining_python_module.cc b/orttraining/orttraining/python/orttraining_python_module.cc index 6e04667e2954d..ec2a6fb9f4df7 100644 --- a/orttraining/orttraining/python/orttraining_python_module.cc +++ b/orttraining/orttraining/python/orttraining_python_module.cc @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. - +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include #include "orttraining/python/orttraining_pybind_common.h"