code: def require_torch_multi_gpu(test_case):
      """
      Decorator marking a test that requires multiple GPUs. Skips the test if there aren't enough GPUs.
      """
      if torch.cuda.device_count() < 2:
          test_case = unittest.skip("test requires multiple GPUs")(
              test_case
          )
      return test_case
  
file_path: trl/tests/testing_utils.py
imports: import unittest
  import torch
  from trl import is_bitsandbytes_available, is_diffusers_available, is_peft_available, is_wandb_available, is_xpu_available
label_desc: Use image node_id 6 for calling a global function with example usage: require_torch_multi_gpu(test_case) and returns: test_case