LoRALinearΒΆ

A Linear layer with built-in LoRA adaptation.

Abstract Signature:

LoRALinear(in_features: int, out_features: int, lora_rank: int = 8, bias: bool = True)

PyTorch

API: β€”
Strategy: Custom / Partial

Keras

API: β€”
Strategy: Custom / Partial

TensorFlow

API: β€”
Strategy: Custom / Partial

Apple MLX

API: β€”
Strategy: Custom / Partial

Flax NNX

API: flax.nnx.LoRALinear
Strategy: Direct Mapping

PaxML / Praxis

API: β€”
Strategy: Custom / Partial