class_docstr: DJL build logic for ModelBuilder()
class_docstr_tok: ["DJL","build","logic","for","ModelBuilder","(",")"]
code: def __init__(self):
      self.model = None
      self.serve_settings = None
      self.sagemaker_session = None
      self.model_path = None
      self.dependencies = None
      self.modes = None
      self.mode = None
      self.model_server = None
      self.image_uri = None
      self._original_deploy = None
      self.secret_key = None
      self.js_model_config = None
      self._inferred_parallel_degree = None
      self._inferred_data_type = None
      self._inferred_max_tokens = None
      self.pysdk_model = None
      self.model_uri = None
      self.existing_properties = None
      self.prepared_for_tgi = None
      self.prepared_for_djl = None
      self.schema_builder = None
      self.nb_instance_type = None
      self.ram_usage_model_load = None
      self.jumpstart = None
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from typing import Type
  import logging
  from sagemaker.model import Model
  from sagemaker import model_uris
  from sagemaker.serve.model_server.djl_serving.prepare import prepare_djl_js_resources
  from sagemaker.serve.model_server.tgi.prepare import prepare_tgi_js_resources, _create_dir_structure
  from sagemaker.serve.mode.function_pointers import Mode
  from sagemaker.serve.utils.predictors import DjlLocalModePredictor, TgiLocalModePredictor
  from sagemaker.serve.utils.local_hardware import _get_nb_instance, _get_ram_usage_mb
  from sagemaker.serve.utils.telemetry_logger import _capture_telemetry
  from sagemaker.serve.utils.types import ModelServer
  from sagemaker.base_predictor import PredictorBase
  from sagemaker.jumpstart.model import JumpStartModel
label_desc: Use image node_id 1 to create a new JumpStart object from inherited base classes: ABC with example: obj = JumpStart()