adapter

Adapter module for Lightning IR models.

This module provides LoRA adapter support for Lightning IR models using the PEFT library. The adapter functionality is optional and only enabled when explicitly configured.

Classes

LightningIRAdapterMixin(*args, **kwargs)

Mixin class that adds LoRA adapter functionality to Lightning IR models.