Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Run deploy to ACI. provided all the required libraries but init() fails in score.py #39

Closed
sramayanam opened this issue Dec 12, 2019 · 1 comment

Comments

@sramayanam
Copy link

error: undefined,
stdout: '',
stderr: 'ERROR: {'Azure-cli-ml Version': '1.0.79', 'Error': WebserviceException:\n\tMessage: Service deployment polling reached non-successful terminal state, current service state: Failed\nMore information can be found using '.get_logs()'\nError:\n{\n "code": "AciDeploymentFailed",\n "message": "Aci Deployment failed with exception: Your container application crashed. This may be caused by errors in your scoring file's init() function.\nPlease check the logs for your container instance: diabetes-aci-1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \nYou can also try to run image scrmlops1amlcr.azurecr.io/azureml/azureml_7658761db4e29457d2df7ab09e40fa3e locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information.",\n "details": [\n {\n "code": "CrashLoopBackOff",\n "message": "Your container application crashed. This may be caused by errors in your scoring file's init() function.\nPlease check the logs for your container instance: diabetes-aci-1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \nYou can also try to run image scrmlops1amlcr.azurecr.io/azureml/azureml_7658761db4e29457d2df7ab09e40fa3e locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information."\n }\n ]\n}\n\tInnerException None\n\tErrorResponse \n{\n "error": {\n "message": "Service deployment polling reached non-successful terminal state, current service state: Failed\nMore information can be found using '.get_logs()'\nError:\n{\n \"code\": \"AciDeploymentFailed\",\n \"message\": \"Aci Deployment failed with exception: Your container application crashed. This may be caused by errors in your scoring file's init() function.\\nPlease check the logs for your container instance: diabetes-aci-1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \\nYou can also try to run image scrmlops1amlcr.azurecr.io/azureml/azureml_7658761db4e29457d2df7ab09e40fa3e locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information.\",\n \"details\": [\n {\n \"code\": \"CrashLoopBackOff\",\n \"message\": \"Your container application crashed. This may be caused by errors in your scoring file's init() function.\\nPlease check the logs for your container instance: diabetes-aci-1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \\nYou can also try to run image scrmlops1amlcr.azurecr.io/azureml/azureml_7658761db4e29457d2df7ab09e40fa3e locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information.\"\n }\n ]\n}"\n }\n}}\n' }

File "/azureml-envs/azureml_3921e717c180127e72729a5bd9ba1fe6/lib/python3.7/pickle.py", line 1426, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.linear_model._ridge'

@sramayanam
Copy link
Author

I downgraded python version to 3.6.2 and it seems to be working fine now.

@jpe316 jpe316 closed this as completed Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants