Migrating to PEFT v0.17.1
Version v0.17.1 introduces 1 breaking change. This guide details how to update your code.
Released: 8/21/2025
1
Breaking Changes
1
Migration Steps
3
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
target_parametersmodel.add_adaptermodel.load_adapterBreaking Changes
●Issue #1
Adding multiple adapters (via model.add_adapter or model.load_adapter) now raises an error instead of failing silently or incorrectly, preventing unexpected behavior when mixing adapters.
Migration Steps
- 1If you were relying on adding multiple adapters simultaneously, you must now load or add adapters sequentially, as the library explicitly prevents simultaneous addition due to complexity.
Release Summary
This patch release fixes bugs related to the new target_parameters feature, specifically ensuring existing parameterizations are preserved and preventing incorrect behavior when loading multiple adapters.
Need More Details?
View the full release notes and all changes for PEFT v0.17.1.
View Full Changelog