Commit Graph

4055 Commits

Author SHA1 Message Date
tchaton c6502adba1 resolve test 2020-11-27 19:34:45 +00:00
tchaton 8e51543af9 reduce to 0.22 2020-11-27 19:05:09 +00:00
tchaton b36b9a0145 reduce parity test 2020-11-27 18:50:01 +00:00
Sean Naren 06a856e055
Merge branch 'master' into feature/plug 2020-11-27 18:48:58 +00:00
tchaton ba41733802 Merge branch 'better_simple_profiler' of https://github.com/PyTorchLightning/pytorch-lightning into better_simple_profiler 2020-11-27 18:47:05 +00:00
tchaton 316ebadbdc remove capture on on_train_batch_end 2020-11-27 18:46:49 +00:00
chaton 6ba77c2611
Merge branch 'master' into better_simple_profiler 2020-11-27 18:43:01 +00:00
tchaton d5d64f0ff6 add note 2020-11-27 18:36:50 +00:00
tchaton 1f1a20c45f reduce parity to 0.22 2020-11-27 18:36:18 +00:00
tchaton cef83dbbf8 optimize logging 2020-11-27 18:21:23 +00:00
Jirka Borovec 042152cd61
ref: fix & simplify test callback (#4009)
* simplify test callback

* update

* use mock

* flake8
2020-11-27 19:12:56 +01:00
tchaton e17300f97d add more profiler 2020-11-27 18:00:48 +00:00
tchaton 3a8fa6bf11 update 2020-11-27 17:48:51 +00:00
tchaton 290d74b40e resolve test 2020-11-27 16:47:13 +00:00
tchaton bf573607f8 better simple profiler 2020-11-27 16:34:51 +00:00
SeanNaren d12577d348 Reduce speed diff further, lack of GPU saturation is causing regressive times on drone CI 2020-11-27 16:28:24 +00:00
SeanNaren b4e8071de2 Increase speed diff for drone 2020-11-27 15:49:02 +00:00
SeanNaren bf9cf3dd01 Tighten up regression testing 2020-11-27 15:26:06 +00:00
SeanNaren 1704773712 Address code review 2020-11-27 14:50:12 +00:00
Sean Naren 4f693762ea
Update pytorch_lightning/trainer/connectors/precision_connector.py
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-11-27 14:45:15 +00:00
SeanNaren cdd2e122fc Add none check for func 2020-11-27 14:30:57 +00:00
SeanNaren 5598dce1a9 Remove unneeded check 2020-11-27 14:22:17 +00:00
SeanNaren bd4223e951 Fix imports 2020-11-27 13:22:58 +00:00
Sean Naren 00bd0d2e72
Merge branch 'master' into feature/plug 2020-11-27 13:18:50 +00:00
chaton dee968f20b
[bug] Replace_sampler attach previous multiprocessing_context (#4742)
* resolve bug

* add test docstring

* Update tests/trainer/test_dataloaders.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update test

Co-authored-by: Sean Naren <sean.narenthiran@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-11-27 12:57:25 +00:00
SeanNaren e52386b003 Combine utilities 2020-11-27 12:38:38 +00:00
SeanNaren 10d41fb4ea Moved common functions into utilities 2020-11-27 12:25:44 +00:00
SeanNaren bde2a12990 Fix var name 2020-11-27 10:37:49 +00:00
SeanNaren 04bb0abe36 Merge branch 'master' into feature/plug
# Conflicts:
#	pytorch_lightning/utilities/__init__.py
#	requirements/extra.txt
2020-11-27 10:00:05 +00:00
Jirka Borovec 217650320e
simplify imports Omegaconf (#4873)
* hydra

* omegaconf
2020-11-27 01:00:56 +01:00
Jirka Borovec 442d57f1e9
simplify imports xla / TPU (#4872)
* xla

* tpu

* fix

* fix

* flake8
2020-11-27 00:37:48 +01:00
SeanNaren 737447fc6e Merge branch 'master' into feature/plug
# Conflicts:
#	pytorch_lightning/trainer/connectors/precision_connector.py
#	pytorch_lightning/utilities/__init__.py
2020-11-26 23:02:36 +00:00
SeanNaren 508eaff541 Fix name 2020-11-26 23:01:04 +00:00
Jirka Borovec 11e73ceaa6
fix import and typo in AMP (#4871)
* fix import and typo

* docs

* apex

* fix

* typo
2020-11-26 23:45:52 +01:00
SeanNaren fc9b2bf015 Fix logic and add test for apex check, rename file, add DDP launcher tests 2020-11-26 22:45:21 +00:00
SeanNaren 8dc857c38d Ensure we add the condition to the case statement 2020-11-26 22:11:05 +00:00
Sean Naren 74afcf71b7
Merge branch 'master' into feature/plug 2020-11-26 21:54:55 +00:00
Justus Schock 742ddd81b3
make device property always return a device with index (#4851)
* make device property always return a device with index

* pep8

* Update test_dtype_device_mixin.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-11-27 00:49:51 +05:30
SeanNaren a9c316b669 Add additional check to ensure apex is not used with sharded 2020-11-26 19:00:55 +00:00
SeanNaren ab655e5118 Removed old eval logic, added eval tests 2020-11-26 18:49:06 +00:00
SeanNaren 2e50c2e653 Remove else check 2020-11-26 18:42:06 +00:00
SeanNaren c0e148bc27 Fix formatting 2020-11-26 17:37:37 +00:00
SeanNaren 29e310807c Fix import order 2020-11-26 17:07:48 +00:00
SeanNaren 8a0c8fe0bd Fixed imports, swap to relying on function for entire batch 2020-11-26 16:48:21 +00:00
SeanNaren 47c121ef1a Addressed code review points 2020-11-26 16:44:45 +00:00
Sean Naren ff34a8fed9
Update tests/plugins/test_sharded_plugin.py
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-11-26 16:37:22 +00:00
SeanNaren 091c236392 Ensure we do windows check first 2020-11-26 11:07:11 +00:00
SeanNaren 8f9763166d Add check to fairscale override 2020-11-26 10:59:23 +00:00
SeanNaren fa5934492f Fixes 2020-11-26 10:50:32 +00:00
SeanNaren 80e5329c1f Add check for windows to plugin 2020-11-26 10:24:25 +00:00