25 Commits
Author SHA1 Message Date
Sourab Mangrulkar f982d75fa0 Merge pull request #261 from younesbelkada/fix-half-prec
Fix half precision forward
2023-04-08 13:56:36 +05:30
younesbelkada f35b20a845 add and fix tests 2023-04-07 10:48:22 +00:00
Younes Belkada bd1b4b5aa9 Merge branch 'main' into add-gpu-tests 2023-04-07 12:34:16 +02:00
Sourab Mangrulkar 7397160435 making adalora compatible with multiple adapters 2023-04-06 19:06:33 +05:30
younesbelkada 37e1f9ba34 fix test 2023-04-05 17:17:01 +00:00
Sourab Mangrulkar d936aa9349 fix tests 2023-04-05 19:54:02 +05:30
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
younesbelkada e29d6511f5 more description 2023-04-04 07:06:57 +00:00
younesbelkada 4d3b4ab206 add whisper tests 2023-04-04 06:56:14 +00:00
younesbelkada 2fe22da3a2 fix CI 2023-04-03 16:47:09 +00:00
younesbelkada 519c07fb00 add import_utils 2023-04-03 16:30:08 +00:00
younesbelkada 8058709d5a fix failing CIs 2023-04-03 16:27:30 +00:00
younesbelkada f413e3bdaf v1 GPU tests 2023-04-03 16:11:10 +00: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
Sourab Mangrulkar b9451ab458 fixing issues and quality 2023-03-07 14:04:19 +05:30
younesbelkada 36c7e3b441 apply suggestions 2023-02-14 11:50:55 +00:00
younesbelkada 0e80648010 add prepare_model_for_training 2023-02-14 11:12:37 +00:00
Sourab Mangrulkar 06e49c0a87 fixes 2023-01-30 13:31:01 +05:30
Sourab Mangrulkar 6cf2cf5dae fix hf hub util tests 2023-01-30 12:51:30 +05:30
younesbelkada 6c9534e660 adapt for other models 2023-01-29 11:18:31 +00:00
younesbelkada 22295c4278 adapt from code review
- remove `README`
- inherit from `dataclass`
- add new test
2023-01-29 10:49:31 +00:00
younesbelkada 634f3692d8 working v1
- push to hub method works
- add tests
- add config super class
- add Lora support for `from_pretrained`
2023-01-26 11:17:24 +00:00
younesbelkada 2cc7f2cbac add config tests 2023-01-26 10:12:51 +00:00