docstr: Simple test that checks if a user passes a wrong backend an error is raised
docstr_tok: ["Simple","test","that","checks","if","a","user","passes","a","wrong","backend","an","error","is","raised"]
code: def test_wrong_backend(self):
      """
      Simple test that checks if a user passes a wrong backend an error is raised
      """
      # This should work fine
      _ = AwqConfig(bits=4)
  
      with self.assertRaises(ValueError):
          AwqConfig(bits=4, backend="")
  
      # These should work fine
      _ = AwqConfig(bits=4, version="GEMM")
      _ = AwqConfig(bits=4, version="gemm")
  
      with self.assertRaises(ValueError):
          AwqConfig(bits=4, backend="unexisting-backend")
  
      # LLMAWQ does not work on a T4
      with self.assertRaises(ValueError):
          AwqConfig(bits=4, backend="llm-awq")
  
imports: import gc
  import tempfile
  import unittest
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, AwqConfig, OPTForCausalLM
  from transformers.testing_utils import require_accelerate, require_auto_awq, require_torch_gpu, require_torch_multi_gpu, slow, torch_device
  from transformers.utils import is_accelerate_available, is_torch_available
label_desc: Use image node_id 1 for calling the AwqConfigTest obj's underlying member method code with example usage: obj.test_wrong_backend() without return types