code: def test_framework_processing_job_with_deps(
      sagemaker_session,
      huggingface_training_latest_version,
      huggingface_training_pytorch_latest_version,
      huggingface_pytorch_latest_training_py_version,
      gpu_pytorch_instance_type,
  ):
      with timeout(minutes=TRAINING_DEFAULT_TIMEOUT_MINUTES):
          code_path = os.path.join(
              DATA_DIR, "dummy_code_bundle_with_reqs"
          )
          entry_point = "main_script.py"
  
          processor = HuggingFaceProcessor(
              transformers_version=huggingface_training_latest_version,
              pytorch_version=huggingface_training_pytorch_latest_version,
              py_version=huggingface_pytorch_latest_training_py_version,
              role=ROLE,
              instance_count=1,
              instance_type=gpu_pytorch_instance_type,
              sagemaker_session=sagemaker_session,
              base_job_name="test-huggingface",
          )
          processor.run(
              code=entry_point,
              source_dir=code_path,
              inputs=[],
              wait=True,
          )
  
file_path: sagemaker-python-sdk/tests/integ/test_huggingface.py
imports: from __future__ import absolute_import
  import os
  import pytest
  import tests.integ
  from sagemaker.huggingface import HuggingFace, HuggingFaceProcessor
  from sagemaker.huggingface.model import HuggingFaceModel, HuggingFacePredictor
  from sagemaker.utils import unique_name_from_base
  from tests.integ import DATA_DIR, TRAINING_DEFAULT_TIMEOUT_MINUTES
  from tests.integ.timeout import timeout, timeout_and_delete_endpoint_by_name
  from sagemaker.enums import EndpointType
  from sagemaker.compute_resource_requirements.resource_requirements import ResourceRequirements
label_desc: Use image node_id 1 for calling a global function with example usage: test_framework_processing_job_with_deps(sagemaker_session, huggingface_training_latest_version, huggingface_training_pytorch_latest_version, huggingface_pytorch_latest_training_py_version, gpu_pytorch_instance_type) without return types