code: def create_pid_server_cmd(
      allocation_id: str, num_slot_ids: int
  ) -> List[str]:
      return [
          "python3",
          "-m",
          "determined.exec.pid_server",
          "--on-fail",
          "SIGTERM",
          "--on-exit",
          "WAIT",
          f"/tmp/pid_server-{allocation_id}",
          str(num_slot_ids),
          "--",
      ]
  
file_path: determined/harness/determined/launch/torch_distributed.py
imports: import argparse
  import logging
  import os
  import subprocess
  import sys
  from typing import List, Tuple
  import determined
label_desc: Use image node_id 3 for calling a global function with example usage: create_pid_server_cmd(allocation_id, num_slot_ids) and returns: list