-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter out remote model auto redeployment (#2976)
* Filter out remote model auto redeployment Signed-off-by: zane-neo <[email protected]> * format code Signed-off-by: zane-neo <[email protected]> --------- Signed-off-by: zane-neo <[email protected]>
- Loading branch information
Showing
3 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
plugin/src/test/resources/org/opensearch/ml/autoredeploy/RemoteModelResult.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"last_deployed_time": 1722954415807, | ||
"model_version": "619", | ||
"created_time": 1722954415642, | ||
"deploy_to_all_nodes": true, | ||
"is_hidden": false, | ||
"description": "This is a test model", | ||
"model_state": "DEPLOYED", | ||
"planning_worker_node_count": 1, | ||
"auto_redeploy_retry_times": 0, | ||
"last_updated_time": 1723691017054, | ||
"name": "my sagemaker model", | ||
"connector_id": "z3kVKJEBAfFjoGUT_Ui7", | ||
"current_worker_node_count": 0, | ||
"model_group_id": "MiJPJ5EBQM-QzppeWrTJ", | ||
"planning_worker_nodes": [ | ||
"DecGG5pDQYaqelLMLcIV9Q" | ||
], | ||
"algorithm": "REMOTE" | ||
} |