Change8
Error3 reports

Fix NotImplementedError

in PEFT

Solution

The `NotImplementedError` in peft usually arises when a specific method or functionality required by the chosen PEFT technique (e.g., LoRA, Prefix Tuning) hasn't been properly implemented or overridden within the model architecture being used. To fix it, identify the missing implementation by inspecting the traceback and error message, then either contribute the missing method to the PEFT library or implement it within your model class, ensuring it's compatible with the expected PEFT adapter behavior.

Timeline

First reported:May 12, 2025
Last reported:Jul 18, 2025

Need More Help?

View the full changelog and migration guides for PEFT

View PEFT Changelog