code: def test_hf_trainer_api_integration() -> None:
      test_dir = "hf_image_classification"
      config = conf.load_config(
          conf.hf_trainer_examples_path(f"{test_dir}/distributed.yaml")
      )
      exp.run_basic_test_with_temp_config(
          config, conf.hf_trainer_examples_path(test_dir), 1
      )
  
file_path: determined/e2e_tests/tests/nightly/test_distributed.py
imports: import os
  import shutil
  import tempfile
  import warnings
  import pytest
  from determined.common import util
  from tests import config
  from tests import experiment
label_desc: Use image node_id 3 for calling a global function with example usage: test_hf_trainer_api_integration() without return types