code: def _stats_cmd():
      nvidia_smi = util.which("nvidia-smi")
      if not nvidia_smi:
          return None
      query_stats = ",".join(STATS)
      return [
          nvidia_smi,
          "--format=csv,noheader",
          f"--query-gpu={query_stats}",
      ]
  
imports: import csv
  import io
  import subprocess
  import sys
  from guild import util
  from guild.plugins.summary_util import SummaryPlugin
label_desc: Use image node_id 1 for calling a global function with example usage: _stats_cmd() and returns: list, None