class_docstr: Pipeline to triton models
  
  Use Triton python backend and auto_complete mode.
class_docstr_tok: ["Pipeline","to","triton","models","Use","Triton","python","backend","and","auto_complete","mode","."]
code: def _gen_bls_model(self) -> bool:
      try:
          shutil.copyfile(
              PIPELINE_MODEL_FILE, self._triton_files.python_model_file
          )
          return True
      except Exception as e:  # pylint: disable=broad-except
          engine_log.error(
              "Create pipeline model file failed, err: [%s]", str(e)
          )
          return False
  
file_path: towhee/towhee/serve/triton/pipe_to_triton.py
imports: import shutil
  import traceback
  from towhee.serve.triton.triton_files import TritonFiles
  from towhee.serve.triton.bls import PIPELINE_MODEL_FILE
  from towhee.serve.triton.triton_config_builder import create_modelconfig
  from towhee.serve.triton import constant
  from towhee.utils.log import engine_log
label_desc: Use image node_id 4 for calling the PipeToTriton obj's underlying member method code with example usage: obj._gen_bls_model() and returns: True, False