File tree Expand file tree Collapse file tree 1 file changed +2
-34
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +2
-34
lines changed Original file line number Diff line number Diff line change @@ -116,43 +116,11 @@ You can configure your cloud deployment using YAML. Take a look at the sample YA
116
116
117
117
__ tfserving-endpoint.yml__
118
118
119
- ``` yml
120
- $schema : https://azuremlsdk2.blob.core.windows.net/latest/managedOnlineEndpoint.schema.json
121
- name : tfserving-endpoint
122
- auth_mode : aml_token
123
- ` ` `
119
+ :::code language="yaml" source="~ /azureml-examples-main/cli/endpoints/online/custom-container/tfserving/half-plus-two/tfserving-endpoint.yml":::
124
120
125
121
__ tfserving-deployment.yml__
126
122
127
- ` ` ` yml
128
- $schema : https://azuremlschemas.azureedge.net/latest/managedOnlineDeployment.schema.json
129
- name : tfserving-deployment
130
- endpoint_name : tfserving-endpoint
131
- model :
132
- name : tfserving-mounted
133
- version : {{MODEL_VERSION}}
134
- path : ./half_plus_two
135
- environment_variables :
136
- MODEL_BASE_PATH : /var/azureml-app/azureml-models/tfserving-mounted/{{MODEL_VERSION}}
137
- MODEL_NAME : half_plus_two
138
- environment :
139
- # name: tfserving
140
- # version: 1
141
- image : docker.io/tensorflow/serving:latest
142
- inference_config :
143
- liveness_route :
144
- port : 8501
145
- path : /v1/models/half_plus_two
146
- readiness_route :
147
- port : 8501
148
- path : /v1/models/half_plus_two
149
- scoring_route :
150
- port : 8501
151
- path : /v1/models/half_plus_two:predict
152
- instance_type : Standard_DS3_v2
153
- instance_count : 1
154
- ` ` `
155
-
123
+ :::code language="yaml" source="~ /azureml-examples-main/cli/endpoints/online/custom-container//tfserving/half-plus-two/tfserving-deployment.yml":::
156
124
157
125
# [ Python SDK] ( #tab/python )
158
126
You can’t perform that action at this time.
0 commit comments