peft
1b9bcb20 - DOC Add entry to solve unknown config argument (#2340)

Commit
1 year ago
DOC Add entry to solve unknown config argument (#2340) There have been multiple issues and forum posts in the past asking about errors like: TypeError: LoraConfig.__init__() got an unexpected keyword argument ... This error can occur when the adapter that is being loaded is trained with a more recent PEFT version than the one currently being used. I thus added a section to the Troubleshooting part of our docs to describe the solutions. Note that we already added changes to PEFT in #2038 to make configs forward compatible. But since users who encounter this problem have, by definition, older PEFT versions, they don't benefit from this. --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Parents
Loading