Bug description
PrimeHub uses a health check during model deployment. However, the time it takes to import and configure the model exceeds the health check duration, resulting in the model service being incorrectly flagged as unhealthy.
Solution
Separate the code in the init function into a standalone function.
When predicting data, check whether the model has been imported and configured.
If it has not been configured yet, the user has to configure the standalone function.
If it has already been imported and configured, the user can proceed with the prediction directly.
Key Results
Can determine the next step based on the model's configuration status.
Health check can accurately assess the status of the model deployment.
Bug description PrimeHub uses a health check during model deployment. However, the time it takes to import and configure the model exceeds the health check duration, resulting in the model service being incorrectly flagged as unhealthy.
Solution Separate the code in the init function into a standalone function. When predicting data, check whether the model has been imported and configured.
Key Results