class_docstr: A Linear layer that can be used with LoRA.
code: def __init__(
      self,
      *args,
      lora_layer: Optional[LoRALinearLayer] = None,
      **kwargs,
  ):
      super().__init__(*args, **kwargs)
      self.lora_layer = lora_layer
  
imports: from typing import Optional, Tuple, Union
  import torch
  import torch.nn.functional
  from torch import nn
  from ..loaders import PatchedLoraProjection, text_encoder_attn_modules, text_encoder_mlp_modules
  from ..utils import logging
label_desc: Use image node_id 1 to create a new LoRACompatibleLinear object from inherited base classes: nn with example: obj = LoRACompatibleLinear()