class_docstr: Test utilities
class_docstr_tok: ["Test","utilities"]
code: def test_get_seqlen(self):
      from optimum.gptq.utils import get_seqlen
  
      model = AutoModelForCausalLM.from_pretrained(self.model_name)
      seqlen = get_seqlen(model)
      self.assertEqual(seqlen, self.expected_seqlen)
  
imports: import tempfile
  import unittest
  import torch
  from parameterized import parameterized
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
  from transformers.testing_utils import slow
  from optimum.gptq import GPTQQuantizer, load_quantized_model
  from optimum.gptq.data import get_dataset
  from optimum.utils.import_utils import is_auto_gptq_available
  from optimum.utils.testing_utils import require_accelerate, require_auto_gptq, require_torch_gpu
label_desc: Use image node_id 1 for calling the GPTQUtilsTest obj's underlying member method code with example usage: obj.test_get_seqlen() without return types