code: def check_pipeline_tags():
      in_table = {
          tag: cls for tag, _, cls in PIPELINE_TAGS_AND_AUTO_MODELS
      }
      pipeline_tasks = transformers_module.pipelines.SUPPORTED_TASKS
      missing = []
      for key in pipeline_tasks:
          if key not in in_table:
              model = pipeline_tasks[key]["pt"]
              if isinstance(model, (list, tuple)):
                  model = model[0]
              model = model.__name__
              if model not in in_table.values():
                  missing.append(key)
  
      if len(missing) > 0:
          msg = ", ".join(missing)
          raise ValueError(
              "The following pipeline tags are not present in the `PIPELINE_TAGS_AND_AUTO_MODELS` constant inside "
              f"`utils/update_metadata.py`: {msg}. Please add them!"
          )
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/utils/update_metadata.py
imports: import argparse
  import collections
  import importlib.util
  import os
  import re
  import tempfile
  import pandas
  from datasets import Dataset
  from huggingface_hub import Repository
label_desc: Use image node_id 5 for calling a global function with example usage: check_pipeline_tags() without return types