class_docstr: DJL build logic for ModelBuilder()
class_docstr_tok: ["DJL","build","logic","for","ModelBuilder","(",")"]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _build_for_djl_jumpstart(self):
      """Placeholder docstring"""
  
      env = {}
      _create_dir_structure(self.model_path)
      if self.mode == Mode.LOCAL_CONTAINER:
          if not hasattr(self, "prepared_for_djl"):
              (
                  self.existing_properties,
                  self.js_model_config,
                  self.prepared_for_djl,
              ) = prepare_djl_js_resources(
                  model_path=self.model_path,
                  js_id=self.model,
                  dependencies=self.dependencies,
                  model_data=self.pysdk_model.model_data,
              )
          self._prepare_for_mode()
      elif self.mode == Mode.SAGEMAKER_ENDPOINT and hasattr(
          self, "prepared_for_djl"
      ):
          self.nb_instance_type = _get_nb_instance()
          self.pysdk_model.model_data, env = self._prepare_for_mode()
  
      self.pysdk_model.env.update(env)
  
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 7 for calling the JumpStart obj's underlying member method code with example usage: obj._build_for_djl_jumpstart() without return types