code: def _print_macos_cuda_info():
      patterns = [
          ("libcuda", "libcuda\\.([\\S]+)\\.so\\.dylib"),
          ("libcudnn", "libcudnn\\.([\\S]+)\\.dylib"),
      ]
      try:
          raw = subprocess.check_output(["mmap", str(os.getpid())])
      except OSError:
          raw = ""
      _gen_print_lib_info(patterns, raw)
  
file_path: guildai/guild/commands/tensorflow_check_main.py
imports: import os
  import re
  import subprocess
  import sys
  import click
label_desc: Use image node_id 8 for calling a global function with example usage: _print_macos_cuda_info() without return types