5 Commits
Author SHA1 Message Date
younesbelkada f35b20a845 add and fix tests 2023-04-07 10:48:22 +00:00
Younes Belkada deff03f2c2 [tests] Adds more tests + fix failing tests (#238)
* adds more tests

- refactor tests
- add enc-dec tests
- skips generate tests for non-lora adapters

* rm unneeded file

* fix tests

* fix

* more checks

* fix issue
2023-04-05 10:17:26 +02:00
8f63f565c6 [utils] add merge_lora utility function (#227)
* add merge_lora utility function

* forward contrib credits from original script

* some changes

* make style

* fix tets

* finally fix tests

* Update tests/test_peft_model.py

* adapt from suggestions

* adapt

* Update src/peft/tuners/lora.py

Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>

* fix 8bit

* Update src/peft/tuners/lora.py

Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>

---------

Co-authored-by: edbeeching <edbeeching@users.noreply.github.com>
Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
2023-03-30 13:45:37 +02:00
Younes Belkada df71b84341 [CI] Add more ci tests (#223)
* add more tests

* fix

* add generate tests

* make style

* fix test

* add -n

* skip llama
2023-03-29 15:28:38 +02:00
Younes Belkada 2632e7eba7 [CI] Add ci tests (#203)
* add ci tests

* fix some tests

* fix tests

* rename

* fix

* update tests

* try

* temp hotfix

* refactor tests

* Update .github/workflows/tests.yml

* fix test
2023-03-23 12:38:40 +01:00