code: def _run_preflight_diagnostics():
      install_package("sagemaker")
      install_package("boto3", "1.17.52")
      _py_vs_parity_check()
      _pickle_file_integrity_check()
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/model_server/torchserve/xgboost_inference.py
imports: from __future__ import absolute_import
  import os
  import io
  import subprocess
  import cloudpickle
  import shutil
  import platform
  from pathlib import Path
  from functools import partial
  import logging
label_desc: Use image node_id 5 for calling a global function with example usage: _run_preflight_diagnostics() without return types