lightning/pytorch_lightning/utilities
Dusan Drevicky c50c225f05
feature: Allow str arguments in Trainer.profiler (#3656)
* allow trainer's profiler param to have a str value

* add tests

* update docs

* update exception message

* Update CHANGELOG

* fix pep8 issues

* cleanup test code

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Add deprecation warning if using bool for profiler

* Add deprecation tests and move deprecated tests

* Remove bool option to profiler from docs

* Deprecate bool args to profiler in CHANGELOG

* fixup! Add deprecation warning if using bool for profiler

* fixup! Add deprecation tests and move deprecated tests

* Apply suggestions from code review

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Implement suggestions, remove whitespace

* fixup! Implement suggestions, remove whitespace

* Allow bool, str (case insensitive), BaseProfiler

* Add info about bool deprecation to trainer

* fixup! Add info about bool deprecation to trainer

* Move deprecate todo to test_deprecated

* Test wrong profiler type, improve error message

* fixup! Test wrong profiler type, improve error message

* Update pytorch_lightning/trainer/connectors/profiler_connector.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Apply suggestions from code review

* Readd bool to profiler types, test cli profiler arg

* Remove extra whitespace in doc

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update deprecation versions

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-27 16:27:16 +05:30
..
__init__.py notices (#4118) 2020-10-13 07:18:07 -04:00
apply_func.py implement fix and test (#3459) 2020-09-11 10:55:58 -04:00
argparse_utils.py feature: Allow str arguments in Trainer.profiler (#3656) 2020-10-27 16:27:16 +05:30
cloud_io.py Load checkpoint from Bytes (#4314) 2020-10-23 11:29:13 -04:00
data.py Revert "Remove limitation of batch scaler (#4006)" (#4040) 2020-10-09 21:03:23 -04:00
debugging.py Deprecate early_stop_callback Trainer argument (part 2) (#3845) 2020-10-04 17:36:47 -04:00
device_dtype_mixin.py Fix for PyTorch 1.7 CI (#3768) 2020-10-01 16:37:00 +02:00
device_parser.py Set correct device ids in DDP [wip] (#4297) 2020-10-24 17:33:47 -04:00
distributed.py revamp entire metrics (#3868) 2020-10-06 17:03:24 -04:00
exceptions.py added copyright notices (#3062) 2020-08-19 22:03:22 -04:00
memory.py added copyright notices (#3062) 2020-08-19 22:03:22 -04:00
model_utils.py add test for model hooks (#4010) 2020-10-20 13:33:46 +01:00
parsing.py Use `raise .. from ..` to explicitly chain exceptions (#3750) 2020-10-01 21:45:44 +02:00
seed.py Do not set PYTHONHASHSEED #2156 (#3745) 2020-09-30 08:38:24 -04:00
upgrade_checkpoint.py notices (#4118) 2020-10-13 07:18:07 -04:00
warning_utils.py notices (#4118) 2020-10-13 07:18:07 -04:00
xla_device_utils.py docs: Add empty lines in docstring [ci skip] (#4232) 2020-10-21 09:00:39 -04:00