Closed gantonius closed 2 years ago
It seems that's right that I will need to provide inference_env=Environment.get(ws, name='AzureML-AutoML')
in the AutoMLPipelineBuilder.get_many_models_batch_inference_steps
parameter as indicated by this PR.
I didn't provide the train_env
when calling AutoMLPipelineBuilder.get_many_models_train_steps
but provided the inference_env' in
AutoMLPipelineBuilder.get_many_models_batch_inference_steps` and the training and inference runs are successful.
I am currently following this notebook and now encountering an error below when the inference experiment is run on AML:
It failed in this step of the AzureML pipeline:![image](https://user-images.githubusercontent.com/35578616/135356749-9cf2fbdc-44ef-41f3-8510-ef59e79f66d5.png)
The following are the versions of the AML libraries I used:
Is this perhaps related to this PR where the environment needs to be explicitly specified in the training and inference settings?
Can you help to diagnose this issue? Thanks.