mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-23 22:38:58 +06:00
![]() * [PEFT] Set eval mode when loading PEFT adapter Resolves #34469 When calling model.load_adapter to load a PEFT adapter, by default the adapter should be set to eval mode. This is now correctly done. Users can still pass is_trainable=True to load the adapter in training mode. * Linter |
||
---|---|---|
.. | ||
test_peft_integration.py |