code: def test_create_lora_adapter_invalid_type(
      rank, alpha, target_modules
  ):
      model = init_model()
      with pytest.raises(TypeError):
          create_lora_adapter(
              model=model,
              rank=rank,
              alpha=alpha,
              target_modules=target_modules,
          )
  
file_path: espnet/test/espnet2/layers/test_create_lora_adapter.py
imports: import sys
  import pytest
  import torch
  from packaging.version import parse
  from espnet2.asr.decoder.transformer_decoder import TransformerDecoder
  from espnet2.layers.create_lora_adapter import create_lora_adapter
label_desc: Use image node_id 6 for calling a global function with example usage: test_create_lora_adapter_invalid_type(rank, alpha, target_modules) without return types