code: def test_serving_ranking_models(tmp_path):
      with testbook(
          REPO_ROOT
          / "examples/ranking/tf/Training-and-Deploying-DLRM-model-with-Models-and-Systems.ipynb",
          execute=False,
          timeout=180,
      ) as tb:
          tb.inject(
              f"""
              import os
              os.environ["DATA_FOLDER"] = "{tmp_path}"
              os.environ["NUM_ROWS"] = "2000"
              """
          )
          NUM_OF_CELLS = len(tb.cells)
          print("num_cells:", NUM_OF_CELLS)
          tb.execute_cell(list(range(0, NUM_OF_CELLS - 12)))
          assert os.path.isdir(f"{tmp_path}/dlrm")
          assert os.path.isdir(f"{tmp_path}/ensemble")
          assert os.listdir(f"{tmp_path}/ensemble")
          assert os.path.isdir(f"{tmp_path}/workflow")
  
          with run_triton_server(
              f"{tmp_path}/ensemble", grpc_port=8001
          ):
              tb.execute_cell(list(range(50, NUM_OF_CELLS - 1)))
  
          preds = tb.ref("predictions")
          assert len(preds) == 3
  
imports: import os
  import shutil
  import pytest
  from testbook import testbook
  from merlin.systems.triton.utils import run_triton_server
  from tests.conftest import REPO_ROOT
label_desc: Use image node_id 1 for calling a global function with example usage: test_serving_ranking_models(tmp_path) without return types