peft
679bcd87 - ENH Warn if using tied target modules (#2025)

Commit
1 year ago
ENH Warn if using tied target modules (#2025) When users are targetting tied weights (e.g. embedding and LM head), merging the adapter will lead to errors. Now users are warned about the possibility when they create such a PEFT model and also when they try to merge.
Author
Parents
Loading