custom

Custom PEFT/LoRA plugins registry.

Functions

register_custom_model_plugins_on_the_fly

Registers custom PEFT/LoRA plugins on the fly.

register_custom_model_plugins_on_the_fly(model)

Registers custom PEFT/LoRA plugins on the fly.

This is called before LoRAModule replacement to allow plugins to configure the model (e.g., for distributed checkpointing).