如何执行长时间运行的python脚本,需要一个小时才能完成AML webservice的执行? [英] How to execute long running python script that requires an hour to complete execution with AML webservice?
问题描述
如何使用Azure机器按照以下说明(大约需要一个小时)执行长时间运行的python脚本学习Web服务?
How to execute long running python script with following instructions (that takes about an hour) using Azure Machine Learning Web service?
# This code snippet takes significant amount of time.
# O(n^2) time.
# Takes about an hour to run on a decent computer.
谢谢,
Thanks,
Swati
推荐答案
您好,
如果部署的ML服务需要时间来完成,那么建议ded使用AKS进行部署。这里有一些
文档可以使用哪种部署模型。
If the deployed ML service takes time to complete, It is recommended to use AKS for deployment. Here is some documentation on what kind of deployment models can be used.
这也是一个类似的线程,当脚本花费更多时间完成时,用户面临服务超时。
Here is also a similar thread where a user faced timeout from the service when the script took more time to complete.
https:// social .msdn.microsoft.com /论坛/ EN-US / 3f0d08cd-4a53-4445-ab11-597725115793 /后部署-ML-模型得到的时出时,呼叫的服务?论坛= AzureMachineLearningService#84a20283 -0ad8-441f-8ce4-4984f4b17f21
https://social.msdn.microsoft.com/Forums/en-US/3f0d08cd-4a53-4445-ab11-597725115793/after-deploying-ml-model-got-time-out-when-call-the-service?forum=AzureMachineLearningService#84a20283-0ad8-441f-8ce4-4984f4b17f21
希望这会有所帮助!!
Hope this helps!!
谢谢,
Rohit Mungi
Rohit Mungi
这篇关于如何执行长时间运行的python脚本,需要一个小时才能完成AML webservice的执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!