[`core`] PEFT refactor + introducing `inject_adapter_in_model` public method #749
v2 integration
4cb6f6ed
sanity check
d41717c1
Merge remote-tracking branch 'upstream/main' into integration-v2
375a238f
major refactor
a08e858a
fix doc
420d39cf
some refactor
9a9138e4
add abstract class
088a1c15
refactor a bit
57fa268b
properly freeze the base model
d04a91ba
more refactor
4a08ecbc
v1 of a better abstraction
1e99c8ea
better refactoring
6acfeff1
use classmethod instead
10a9ab28
Merge branch 'main' into integration-v2
8fc3a631
style
2817d2ff
fix test
66a5e3da
addressed general comments
221ab34c
fix failing CIs
3da5b6d5
not checking the type of the args
88278798
remove `pre_init`
2cac1d60
Update src/peft/tuners/tuners_utils.py
2d54ea61
Update src/peft/tuners/tuners_utils.py
b8bd2e27
tiny comments to remove later
8efb5f45
adapt from suggestions
a92e5ea8
added docstrings.
45e8877f
remove check
dbf764fd
remove manual freezing
88c91aed
added comments to explain hack.
4ce8541c
fix docstring
ead8545c
fix docstring
c3e6b616
remove `supports_merging`
7648c277
remove unneeded comments
8f09a8ef
extensive docstring on `BaseTuner`
4d1dffbb
improve type hints
a6be0824
add more comments.
a032f627
add final suggestion
fccae042
younesbelkada
marked this pull request as ready for review 2 years ago
Merge branch 'main' into integration-v2
2e632f14
minor tweaks
f8fcba7d
a bit of refactoring and addressing comments.
84a56e09
use `child` instead of `target`
8b88401e
younesbelkada
changed the title [`core`] PEFT refactor + introducing `create_and_replace` public method [`core`] PEFT refactor + introducing `inject_adapter_in_model` public method 2 years ago
few other nits
8053c88b
Merge branch 'main' into integration-v2
b4adb6df
nits
7171188c
Update src/peft/mapping.py
758ecb80
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub