diff --git a/CHANGELOG.md b/CHANGELOG.md index b060450a..924324b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ # CHANGELOG Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [1.4.0] + +### Added + +### Changed +- Update semantic highlighting sagemaker endpoint deploy scripts ([#585](https://github.com/opensearch-project/opensearch-py-ml/pull/585)) + +### Fixed + ## [1.3.0] ### Added @@ -36,7 +45,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Upgrade torch version to fix security issue ([#561](https://github.com/opensearch-project/opensearch-py-ml/pull/561)) - Upgrade numpy and python version ([#562](https://github.com/opensearch-project/opensearch-py-ml/pull/562)) - Update space type mapping for sentence transformer models ([#574](https://github.com/opensearch-project/opensearch-py-ml/pull/574)) -- Update semantic highlighting sagemaker endpoint deploy scripts ([#585](https://github.com/opensearch-project/opensearch-py-ml/pull/585)) ### Fixed - Fix for uploading models with function_name instead of model_task ([#553](https://github.com/opensearch-project/opensearch-py-ml/pull/553)) @@ -219,3 +227,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) [1.0.0b1]: https://github.com/opensearch-project/opensearch-py-ml/commits/1.0.0b1 [1.1.0]: https://github.com/opensearch-project/opensearch-py-ml/commits/1.1.0 [1.2.0]: https://github.com/opensearch-project/opensearch-py-ml/commits/1.2.0 +[1.3.0]: https://github.com/opensearch-project/opensearch-py-ml/commits/1.3.0 diff --git a/opensearch_py_ml/_version.py b/opensearch_py_ml/_version.py index 9c1ed8ab..ccb40878 100644 --- a/opensearch_py_ml/_version.py +++ b/opensearch_py_ml/_version.py @@ -27,7 +27,7 @@ __title__ = "opensearch_py_ml" __description__ = "Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in OpenSearch" __url__ = "https://github.com/opensearch-project/opensearch-py-ml" -__version__ = "1.3.0" +__version__ = "1.4.0" __author__ = "Dhrubo Saha" __author_email__ = "dhrubo@amazon.com, " __maintainer__ = "Dhrubo Saha, Yaliang Wu, Alexander Greaves-Tunnell, Sicheng Song, Jing Zhang, Bhavana Goud Ramaram, Yerzhaisang Taskali, Nathalie Jonathan" diff --git a/opensearch_py_ml/ml_commons/ml_commons_client.py b/opensearch_py_ml/ml_commons/ml_commons_client.py index 4c9c6c5e..e29ebea9 100644 --- a/opensearch_py_ml/ml_commons/ml_commons_client.py +++ b/opensearch_py_ml/ml_commons/ml_commons_client.py @@ -377,6 +377,8 @@ def deploy_model(self, model_id: str, wait_until_deployed: bool = True) -> objec # TODO: need to add the test case later for this line # Check the model status + get_deploy_task = self._get_task_info(task_id) + print(f"Get deploy task: {get_deploy_task}") if model_state == "DEPLOYED": print("Model deployed successfully") elif model_state == "PARTIALLY_DEPLOYED": diff --git a/requirements-dev.txt b/requirements-dev.txt index db6ddbf0..199b274e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -27,6 +27,7 @@ pytest-cov nbval pywavelets scikit-learn +onnxscript # #Docs