Facing error while adding multiple adapters to a model

The order of arguments in the add_adapter function is incorrect. You should provide adapter_name first and then peft_config. Try it:

model.add_adapter(peft_config=peft_config, adapter_name="t2")