Sylvain Gugger
f566c6e3b7
Fix failing GPU trainer tests ( #14903 )
...
* Fix failing GPU trainer tests
* Remove print statements
2021-12-23 13:59:33 -05:00
Stas Bekman
cabcc75171
[trainer] sanity checks for save_steps=0|None
and logging_steps=0
( #12796 )
...
* [trainer] fix % 0
* sanity checks
* fix logging_strategy
* correction
* Update src/transformers/training_args.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2021-07-20 09:05:26 -07:00
Stas Bekman
a18a17d2b6
[test] split test into 4 sub-tests to avoid timeout ( #12710 )
...
* split the test into 4 sub-tests to avoid timeout
* fix decorator order
2021-07-14 13:04:58 -07:00
Lysandre Debut
fb5665b5ad
The extended trainer tests should require torch ( #12650 )
2021-07-12 09:47:05 -04:00
Stas Bekman
ebe5413589
[trainer] 2 bug fixes and a rename ( #12309 )
...
* bug fixes and a rename
* add extended DDP test
2021-06-22 11:13:23 -07:00
Stas Bekman
6e7cc5cc51
[testing] ensure concurrent pytest workers use a unique port for torch.dist ( #12166 )
...
* ensure concurrent pytest workers use a unique port for torch.distributed.launch
* reword
2021-06-15 11:12:59 -07:00
Stas Bekman
619200cc42
[cuda ext tests] fixing tests ( #11619 )
...
* fixing tests
* cleanup
2021-05-06 13:35:28 -07:00
Bhadresh Savani
1d30ec95c7
[Examples] Fixes inconsistency around eval vs val and predict vs test ( #11380 )
...
* added changes for uniformity
* modified files
* corrected typo
* fixed qa scripts
* fix typos
* fixed predict typo in qa no trainer
* fixed test file
* reverted trainer changes
* reverted trainer changes in custom exmaples
* updated readme
* added changes in deepspeed test
* added changes for predict and eval
2021-04-26 09:24:31 -07:00
Sylvain Gugger
dabeb15292
Examples reorg ( #11350 )
...
* Base move
* Examples reorganization
* Update references
* Put back test data
* Move conftest
* More fixes
* Move test data to test fixtures
* Update path
* Apply suggestions from code review
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Address review comments and clean
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2021-04-21 11:11:20 -04:00
Stas Bekman
66446909b2
[tests] relocate core integration tests ( #11146 )
...
* relocate core integration tests
* add sys.path context manager
* cleanup
* try
* try2
* fix path
* doc
* style
* add dep
* add 2 more deps
2021-04-08 13:13:17 -07:00