fix(lora): only drop adapter from _merged_adapters when unfused from all components (#14385)
* fix(lora): only drop adapter from _merged_adapters when unfused from all components
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
* test(lora): add regression test for unfuse_lora partial component sync
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
* test(lora): keep regression test in test_lora_loader_utils.py (standalone unit)
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
* fix(lora): address review — use isinstance, shorten comment, fix imports
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
* fix: restore tests/lora/utils.py to main (remove stray trailing newline)
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
* Apply style fixes
---------
Signed-off-by: Aloys Jehwin <aloysjehwin@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>