pipelines/sdk/python/test_data/v1_component_yaml/serving_component.yaml

18 lines
378 B
YAML

name: Serving
description: |
Serving component
inputs:
- name: model
description: 'The path of the model file'
type: Model
- name: model_cfg
description: 'Model config string'
type: String
implementation:
container:
image: gcr.io/my-project/my-server
args: [
--model-to-serve, {inputUri: model},
--model-config, {inputValue: model_cfg}
]