Skip to content

Commit

Permalink
bump RAI text and vision component versions to 0.0.9 (#2648)
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft authored Sep 14, 2023
1 parent 110d25b commit ca61383
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -95,7 +95,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"9\""
"rai_example_version_string = \"10\""
]
},
{
Expand Down Expand Up @@ -595,7 +595,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./covid19_events_component_src/\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/28\n",
"command: >-\n",
" python training_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"9\""
"rai_example_version_string = \"10\""
]
},
{
Expand Down Expand Up @@ -576,7 +576,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./dbpedia_component_src/\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/28\n",
"command: >-\n",
" python training_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -88,7 +88,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"21\""
"rai_example_version_string = \"23\""
]
},
{
Expand Down Expand Up @@ -505,7 +505,8 @@
" mlflow.pyfunc.log_model(\n",
" python_model=my_mlflow,\n",
" registered_model_name=registered_name,\n",
" artifact_path=registered_name)\n",
" artifact_path=registered_name,\n",
" pip_requirements=['mlflow', 'torch~=2.0.1', 'transformers>=4.17.0'])\n",
"\n",
" _logger.info(\"Writing JSON\")\n",
" dict = {\"id\": \"{0}:1\".format(registered_name)}\n",
Expand Down Expand Up @@ -567,7 +568,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./blbooksgenre_component_src/\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/28\n",
"command: >-\n",
" python training_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -57,7 +57,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"51\""
"rai_example_version_string = \"52\""
]
},
{
Expand Down Expand Up @@ -965,6 +965,10 @@
"approximation_method = \"gausslegendre\" # applicable integrated_gradients\n",
"confidence_score_threshold_multilabel = 0.5 # applicable for multilabel classification\n",
"\n",
"# Note: latest automl wraps model_name property in model\n",
"if \"model\" in hyperparameter_tag_dict:\n",
" hyperparameter_tag_dict = hyperparameter_tag_dict[\"model\"]\n",
"\n",
"if \"model_name\" in hyperparameter_tag_dict:\n",
" model_name = hyperparameter_tag_dict[\"model_name\"]\n",
" if \"vit\" in model_name:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -58,7 +58,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"9\""
"rai_example_version_string = \"10\""
]
},
{
Expand Down Expand Up @@ -505,7 +505,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./fridge_component_src/\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/30\n",
"command: >-\n",
" python training_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\""
"version_string = \"0.0.9\""
]
},
{
Expand Down Expand Up @@ -58,7 +58,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"10\""
"rai_example_version_string = \"11\""
]
},
{
Expand Down Expand Up @@ -509,7 +509,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./fridge_component_src/\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/30\n",
"command: >-\n",
" python training_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"metadata": {},
"outputs": [],
"source": [
"version_string = \"0.0.8\"\n",
"version_string = \"0.0.9\"\n",
"compute_name = \"cpucluster\"\n",
"rai_example_version_string = \"9\""
"rai_example_version_string = \"10\""
]
},
{
Expand Down Expand Up @@ -436,7 +436,7 @@
" model_output_path:\n",
" type: path\n",
"code: ./mscoco_component_src_od_1/\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n",
"environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/30\n",
"command: >-\n",
" python model_script.py\n",
" --model_base_name ${{{{inputs.model_base_name}}}}\n",
Expand Down

0 comments on commit ca61383

Please sign in to comment.