Skip to content

Commit

Permalink
Santiagxf/package patch (#2923)
Browse files Browse the repository at this point in the history
* fix: updating deployments schemas

* fix: target name

* notebooks
  • Loading branch information
santiagxf authored Dec 21, 2023
1 parent d51dd60 commit 7f9a32a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ $schema: http://azureml/sdk-2-0/ModelVersionPackage.json
base_environment_source:
type: environment_asset
resource_id: azureml:sklearn-regression-env:1
target_environment:
name: sklearn-regression-online-pkg
target_environment: sklearn-regression-online-pkg
inferencing_server:
type: azureml_online
code_configuration:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$schema: http://azureml/sdk-2-0/ModelVersionPackage.json
target_environment_name: pkg-t5-base-online
target_environment: pkg-t5-base-online
inferencing_server:
type: azureml_online
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@
"outputs": [],
"source": [
"pakage_config = ModelPackage(\n",
" target_environment_name=\"sklearn-regression-online-pkg\",\n",
" target_environment=\"sklearn-regression-online-pkg\",\n",
" base_environment_source=BaseEnvironment(\n",
" type=\"asset\",\n",
" resource_id=f\"azureml:{base_environment.name}:{base_environment.version}\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@
"outputs": [],
"source": [
"pakage_config = ModelPackage(\n",
" target_environment_name=\"heart-classifier-mlflow-pkg\",\n",
" target_environment=\"heart-classifier-mlflow-pkg\",\n",
" inferencing_server=AzureMLOnlineInferencingServer(),\n",
" model_configuration=ModelConfiguration(mode=\"copy\"),\n",
")"
Expand Down

0 comments on commit 7f9a32a

Please sign in to comment.