class_docstr: Lightweight Tgi predictor for local deployment in IN_PROCESS and LOCAL_CONTAINER modes
class_docstr_tok: ["Lightweight","Tgi","predictor","for","local","deployment","in","IN_PROCESS","and","LOCAL_CONTAINER","modes"]
docstr: Shut down and remove the container that you created in LOCAL_CONTAINER mode
docstr_tok: ["Shut","down","and","remove","the","container","that","you","created","in","LOCAL_CONTAINER","mode"]
code: def delete_predictor(self):
      """Shut down and remove the container that you created in LOCAL_CONTAINER mode"""
      self._mode_obj.destroy_server()
  
imports: from __future__ import absolute_import
  import io
  from typing import Type
  from sagemaker import Session
  from sagemaker.serve.mode.local_container_mode import LocalContainerMode
  from sagemaker.serve.builder.schema_builder import SchemaBuilder
  from sagemaker.serializers import IdentitySerializer, JSONSerializer
  from sagemaker.deserializers import BytesDeserializer, JSONDeserializer
  from sagemaker.base_predictor import PredictorBase, Predictor
  from sagemaker.serve.utils.types import ModelServer
  from sagemaker.serve.model_server.triton.triton_builder import TritonSerializer
label_desc: Use image node_id 5 for calling the TgiLocalModePredictor obj's underlying member method code with example usage: obj.delete_predictor() without return types