code: def build_pipeline_model(
      dc_pipeline: "towhee.RuntimePipeline",
      model_root: str,
      format_priority: list,
      parallelism: int = 8,
      server: str = "triton",
  ):
      """
      Wrapper for lazy import build_pipeline_model.
  
      Args:
          dc_pipeline ('towhee.RuntimePipeline'):
              The piepline to build as a model.
          model_root (`str`):
              The model root path.
          format_priority (`list`):
              The priority order of the model format.
          parallelism (`int`):
              The parallel number.
          server (`str`):
              The server type.
  
      Examples:
          >>> import towhee
          >>> from towhee import pipe, ops
  
          >>> p = (
          ...     pipe.input('url')
          ...         .map('url', 'image', ops.image_decode.cv2_rgb())
          ...         .map('image', 'vec', ops.image_embedding.timm(model_name='resnet50'))
          ...         .output('vec')
          ... )
  
          >>> towhee.build_pipeline_model(
          ...     dc_pipeline=p,
          ...     model_root='models',
          ...     format_priority=['onnx'],
          ...     parallelism=4,
          ...     server='triton'
          ... )
      """
      return server_builder.build_pipeline_model(
          dc_pipeline, model_root, format_priority, parallelism, server
      )
  
file_path: towhee/towhee/__init__.py
imports: import sys
  from towhee.runtime import register, pipe, ops, accelerate, AutoConfig, AutoPipes
  from towhee.data_loader import DataLoader
  from towhee.serve.triton import triton_client
  from towhee.utils.lazy_import import LazyImport
  from towhee import types
label_desc: Use image node_id 2 for calling a global function with example usage: build_pipeline_model(dc_pipeline, model_root, format_priority, parallelism, server) and returns: server_builder