omarsol's picture
5c4b7bca883ff70dd2c0471b328f95050e328e9ac75b3a3d139d61d93285f7c2
599b0a2 verified
|
raw
history blame
1.3 kB

Tuners

A tuner (or adapter) is a module that can be plugged into a torch.nn.Module. [BaseTuner] base class for other tuners and provides shared methods and attributes for preparing an adapter configuration and replacing a target module with the adapter module. [BaseTunerLayer] is a base class for adapter layers. It offers methods and attributes for managing adapters such as activating and disabling adapters.

BaseTuner

[[autodoc]] tuners.tuners_utils.BaseTuner

BaseTunerLayer

[[autodoc]] tuners.tuners_utils.BaseTunerLayer