adapters
adapters copied to clipboard
Add `adapter_to()` method for moving & converting adapter weights
This PR:
- introduces new methods
adapter_to()&adapter_fusion_to()to move only adapter weights to device or convert dtype - avoids moving full model in
AdapterTrainerwhen loading best model.
Fixes #694.