class_docstr: Placeholder docstring
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _invoke_triton_server(self, payload, *args, **kwargs):
      """Placeholder docstring"""
      httpClient = importlib.import_module("tritonclient.http")
  
      if not self.triton_client:
          self.triton_client = httpClient.InferenceServerClient(
              url=f"{get_docker_host()}:8000"
          )
  
      payload = self.schema_builder.input_serializer.serialize(payload)
      dtype = self.schema_builder._input_triton_dtype.split("_")[-1]
  
      input_request = httpClient.InferInput(
          "input_1", payload.shape, datatype=dtype
      )
      input_request.set_data_from_numpy(payload, binary_data=True)
  
      response = self.triton_client.infer(
          model_name="model", inputs=[input_request]
      )
      response_name = (
          response.get_response().get("outputs")[0].get("name")
      )
  
      return self.schema_builder.output_deserializer.deserialize(
          response.as_numpy(response_name)
      )
  
imports: from __future__ import absolute_import
  import uuid
  import logging
  import importlib
  import platform
  from sagemaker import fw_utils
  from sagemaker import Session
  from sagemaker.base_predictor import PredictorBase
  from sagemaker.serve.utils.uploader import upload
  from sagemaker.serve.utils.exceptions import LocalModelInvocationException
  from sagemaker.s3_utils import determine_bucket_and_prefix, parse_s3_url
  from sagemaker.local.utils import get_docker_host
  import docker
  from docker.types import DeviceRequest
label_desc: Use image node_id 3 for calling the LocalTritonServer obj's underlying member method code with example usage: obj._invoke_triton_server(payload) and returns: self