Skip to content

Commit

Permalink
AutoML Vision and NLP SDK pipeline fix (#3250)
Browse files Browse the repository at this point in the history
* adding continue_on_step_failure False and force_rerun True for vision pipelines

* adding continue_on_step_failure False and force_rerun True for vision pipelines

* adding continue_on_step_failure False and force_rerun True for vision pipelines

* update env for model registration custom component
  • Loading branch information
rjaincc authored Jun 20, 2024
1 parent 9be775a commit f80bb1c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=image_classification_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=image_classification_multilabel_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=image_instance_segmentation_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=image_object_detection_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=text_classification_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(\n",
" model_input_path=text_classification_multilabel_node.outputs.best_model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
" command=\"python register.py \"\n",
" + \"--model_input_path ${{inputs.model_input_path}} \"\n",
" + \"--model_base_name ${{inputs.model_base_name}}\",\n",
" environment=\"azureml-sklearn-1.1:30\",\n",
" environment=\"azureml://registries/azureml/environments/sklearn-1.1/labels/latest\",\n",
" )\n",
" register_model = command_func(model_input_path=text_ner_node.outputs.best_model)\n",
"\n",
Expand Down

0 comments on commit f80bb1c

Please sign in to comment.