We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb694b commit 34e3f97Copy full SHA for 34e3f97
tests/test_mixed.py
@@ -660,7 +660,7 @@ def test_modules_to_save(self):
660
# TODO: theoretically, we could allow this if it's the same target layer
661
config1 = LoHaConfig(target_modules=["lin0"], modules_to_save=["lin1"])
662
peft_model.add_adapter("adapter1", config1)
663
- with pytest.raises(ValueError, match="Only one adapter can be set at a time for modules_to_save"):
+ with pytest.raises(ValueError, match="Only one adapter can be set at a time for ModulesToSaveWrapper"):
664
peft_model.set_adapter(["adapter0", "adapter1"])
665
666
def test_get_nb_trainable_parameters(self):
0 commit comments