Fix: Respect `inference_mode` when setting adapters with `modules_to_save` (Issue #2928) #2931
feat(peft_model): add inference_mode parameter to set_adapter method
ffc3b417
fix(utils): respect inference_mode when enabling/disabling adapters i…
62e9b634
test(utils): add tests for modules_to_save inference_mode behaviour
3ecceedd
style(tests): reformat docstring comment to comply with line length
89d684d3
refactor(utils): remove requires_grad manipulation on original_module…
d49985ea
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub