lightning/tests/core
NeuralLink db784225eb
summarize total size of model params in bytes (#5590)
* simplified model size calc

* fix spaces

* fix newlines

* minor refactor

* Update pytorch_lightning/core/memory.py

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

* make model size property

* fix doctest

* Update pytorch_lightning/core/memory.py

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

* remove explicit doctest from file

* better docs

* model precalculate size 1.0 mbs

* better comment

* Update tests/core/test_memory.py

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

* Update tests/core/test_memory.py

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

* merge _model_size into model_size property itself

* minor comment fix

* add feature to changelog

* added precision test

* isort

* minor def name typo

* remove monkeypath set env as boringmodel wont need any torch hub cache

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-25 09:35:29 +01:00
..
__init__.py Refactor model summary + generalize example input array (#1773) 2020-06-15 17:05:58 -04:00
test_datamodules.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00
test_decorators.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00
test_lightning_module.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00
test_lightning_optimizer.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00
test_memory.py summarize total size of model params in bytes (#5590) 2021-01-25 09:35:29 +01:00
test_metric_result_integration.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00
test_results.py [tests/core] Updated with BoringModel and added BoringDataModule (#5432) 2021-01-13 01:48:37 -05:00