From 47204cf4e82b9d9fd89624e0ae6313b89407a102 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Fri, 1 Dec 2023 15:48:10 -0500 Subject: [PATCH] Add model redeploy tip (#5764) * Add model redeploy tip Signed-off-by: Fanit Kolchina * Change to active voice Signed-off-by: Fanit Kolchina * Fix link Signed-off-by: Fanit Kolchina * Apply suggestions from code review Co-authored-by: Nathan Bower Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --------- Signed-off-by: Fanit Kolchina Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower --- _ml-commons-plugin/api/model-apis/deploy-model.md | 5 ++++- _ml-commons-plugin/custom-local-models.md | 3 +++ _ml-commons-plugin/pretrained-models.md | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_ml-commons-plugin/api/model-apis/deploy-model.md b/_ml-commons-plugin/api/model-apis/deploy-model.md index 2ffa7684..7c6de7ab 100644 --- a/_ml-commons-plugin/api/model-apis/deploy-model.md +++ b/_ml-commons-plugin/api/model-apis/deploy-model.md @@ -72,4 +72,7 @@ The response contains the model ID of the model version: "last_update_time": 1685478491090, "is_async": true } -``` \ No newline at end of file +``` + +If a cluster or node is restarted, then you need to redeploy the model. To learn how to set up automatic redeployment, see [Enable auto redeploy]({{site.url}}{{site.baseurl}}/ml-commons-plugin/cluster-settings/#enable-auto-redeploy). +{: .tip} \ No newline at end of file diff --git a/_ml-commons-plugin/custom-local-models.md b/_ml-commons-plugin/custom-local-models.md index 17172764..3b29b1a2 100644 --- a/_ml-commons-plugin/custom-local-models.md +++ b/_ml-commons-plugin/custom-local-models.md @@ -208,6 +208,9 @@ When the operation is complete, the state changes to `COMPLETED`: } ``` +If a cluster or node is restarted, then you need to redeploy the model. To learn how to set up automatic redeployment, see [Enable auto redeploy]({{site.url}}{{site.baseurl}}/ml-commons-plugin/cluster-settings/#enable-auto-redeploy). +{: .tip} + ## Step 4 (Optional): Test the model Use the [Predict API]({{site.url}}{{site.baseurl}}/ml-commons-plugin/api/train-predict/predict/) to test the model. diff --git a/_ml-commons-plugin/pretrained-models.md b/_ml-commons-plugin/pretrained-models.md index 50927a78..fbe6a0db 100644 --- a/_ml-commons-plugin/pretrained-models.md +++ b/_ml-commons-plugin/pretrained-models.md @@ -187,6 +187,9 @@ When the operation is complete, the state changes to `COMPLETED`: } ``` +If a cluster or node is restarted, then you need to redeploy the model. To learn how to set up automatic redeployment, see [Enable auto redeploy]({{site.url}}{{site.baseurl}}/ml-commons-plugin/cluster-settings/#enable-auto-redeploy). +{: .tip} + ## Step 4 (Optional): Test the model Use the [Predict API]({{site.url}}{{site.baseurl}}/ml-commons-plugin/api/train-predict/predict/) to test the model.