William Falcon
575e01be82
tests for multiple optimizers and dataloader combinations ( #3937 )
...
* added tests for multiple optimizers and dataloaders
* added tests for multiple optimizers and dataloaders
* added tests for multiple optimizers and dataloaders
2020-10-07 10:13:57 -04:00
William Falcon
b34c7add23
Fixes #3668 , #3887 as a bonus ( #3888 )
...
* Fixes #3668 , #3887 as a bonus
* Fixes #3668 , #3887 as a bonus
2020-10-05 21:30:41 -04:00
William Falcon
f58c760409
Fixes #2551 ( #3858 )
2020-10-04 23:02:35 -04:00
William Falcon
00f0d19a61
fixes #3798 ( #3849 )
...
* fix #3798
* added tbptt test for logging
2020-10-04 19:36:51 -04:00
William Falcon
1aa9d39506
Eval epoch can now log independently ( #3843 )
...
* ref: routed epoch outputs to logger
* ref: routed epoch outputs to logger
* ref: routed epoch outputs to logger
* ref: routed epoch outputs to logger
2020-10-04 13:36:35 -04:00
William Falcon
d9bc95f83e
ref: bug fix with logging val epoch end + monitor ( #3812 )
...
* ref: fix metric err
* ref: fix metric err
* ref: fix metric err
* ref: merge
* ref: merge
* ref: merge
* ref: merge
* ref: decoupled ddp2
* ref: decoupled ddp2
* ref: decoupled ddp2
* ref: decoupled ddp2
* ref: decoupled ddp2
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
* ref: clean up ddp before final fix
2020-10-03 12:33:29 -04:00
William Falcon
b3be8022bd
tests for val step flow and logging ( #3731 )
...
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
* ref: test log dict
* ref: test log dict
* ref: test log dict
* ref: test log dict
2020-09-29 22:12:56 -04:00
William Falcon
c14928a72a
ref: test val flow steps ( #3723 )
...
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
2020-09-29 11:42:38 -04:00
William Falcon
f42ea303c9
ref: enable self.log for eval loop metrics ( #3715 )
...
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
* ref: test val epoch end
2020-09-29 02:00:28 -04:00
William Falcon
cdd7266cd8
ref: enable self.log from val step ( #3701 )
...
* .log in eval
* ref
* ref: enable self.log in val step
2020-09-28 10:49:07 -04:00
William Falcon
3281586ab4
ref: organize args 3/n ( #3449 )
...
* ref: organize args 3/n
* ref: organize args 3/n
* ref: organize args 3/n
* ref: organize args 3/n
* ref: organize args 3/n
* ref: organize args 3/n
2020-09-10 13:21:04 -04:00
William Falcon
10cf86b94b
ref: trainer 1/n ( #3412 )
...
* ref: moved eval loop 2/n
* ref: moved eval loop 2/n
* ref: trainer 1/n
* ref: trainer 1/n
* ref: trainer 1/n
2020-09-09 08:45:04 -04:00
William Falcon
0c2e315950
ref: moved eval loop logging to loggers 1/n ( #3408 )
2020-09-09 01:05:50 -04:00
William Falcon
8f6b115511
ref: added model connector ( #3407 )
...
* ref: added model connector
* ref: added model connector
* ref: added model connector
2020-09-09 00:24:20 -04:00
William Falcon
722c44c7d0
ref: device to gpus ( #3405 )
...
* ref: device to gpus
* ref: device to gpus
* ref: device to gpus
* ref: device to gpus
* ref: device to gpus
2020-09-08 22:14:17 -04:00
William Falcon
b76d9e5dd5
Refa22 ( #3388 )
...
* ref: inner train loop (intermediate step) 20/n
* ref: inner train loop (intermediate step) 21/n
* ref: inner train loop (intermediate step) 21/n
* ref: inner train loop (intermediate step) 21/n
* ref: inner train loop (intermediate step) 21/n
* ref: inner train loop (intermediate step) 21/n
2020-09-07 16:45:31 -04:00
William Falcon
7e874d70d6
ref: inner train loop (intermediate step) 19/n ( #3385 )
...
* ref: inner train loop (intermediate step) 19/n
* Update debugging.py
* ref: inner train loop (intermediate step) 19/n
2020-09-07 11:55:14 -04:00
William Falcon
0b5b70d6c9
ref: inner train loop (intermediate step) 17/n ( #3376 )
...
* ref: inner train loop (intermediate step) 17/n
* ref: inner train loop (intermediate step) 17/n
* ref: inner train loop (intermediate step) 17/n
2020-09-07 09:31:42 -04:00
William Falcon
caf7893f27
ref: modular is_overridden ( #3290 )
...
* ref: modular is_overridden
* ref: modular is_overridden
* ref: modular is_overridden
* ref: modular is_overridden
2020-08-31 12:12:02 -04:00
William Falcon
f3c63f7746
tests to ensure correct dataloader calls ( #3221 )
...
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
2020-08-27 09:49:46 -04:00
William Falcon
e6bb26db1b
ref: .fit hook clean up ( #3198 )
...
* eval loop clean up
* eval loop clean up
* eval loop clean up
* eval loop clean up
2020-08-26 13:53:23 -04:00
William Falcon
a1705441a9
ref: remove _evaluate fx ( #3197 )
...
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
2020-08-26 12:28:14 -04:00
William Falcon
bd35c869ee
ref: moved hooks around in eval loop ( #3195 )
...
* moved hooks around in eval loop
* moved hooks around in eval loop
* moved hooks around in eval loop
* moved hooks around in eval loop
2020-08-26 08:45:15 -04:00
William Falcon
bda1400225
ref: restore on_eval_start hook ( #3183 )
...
* restore eval loop hook
2020-08-26 00:45:43 -04:00
William Falcon
c84060bcf3
remove on_perf check hooks ( #3178 )
2020-08-25 22:57:23 -04:00
William Falcon
2f6d82e0e6
ref: remove on_eval_start hook ( #3176 )
...
* remove on_eval_start hook
* remove on_eval_start hook
2020-08-25 22:28:00 -04:00
William Falcon
a7705c8677
expand eval loop out ( #3165 )
2020-08-25 12:28:00 -04:00
William Falcon
9adf7dfed0
ref: clean up data reset ( #3161 )
...
* clean up data reset
* clean up data reset
2020-08-25 11:36:08 -04:00
William Falcon
50aed42d6b
ref: clean up hooks in run_evaluation ( #3156 )
...
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
* clean up hooks in run_evaluation
2020-08-25 10:56:32 -04:00
William Falcon
22b9642117
ref: final inner eval loop hooks ( #3154 )
...
* final inner eval loop hooks
* final inner eval loop hooks
2020-08-25 08:04:50 -04:00
William Falcon
ccc923cbb0
ref: refactored inner eval loop ( #3141 )
...
* refactored dataloader process hook
* refactored dataloader process hook
* refactored dataloader process hook
2020-08-24 22:50:59 -04:00
William Falcon
f064d74be8
refactored dataloader process hook ( #3139 )
2020-08-24 21:53:56 -04:00
William Falcon
229b87655a
ref: add eval loop object to streamline eval loop ( #3138 )
...
* added eval loop
* added eval loop
* added eval loop
* added eval loop
* added eval loop
* added eval loop
2020-08-24 21:27:11 -04:00
William Falcon
82d1128966
eval step scaling factor ( #3136 )
2020-08-24 20:26:39 -04:00
William Falcon
0b3cb3c955
ref: moved ___step_end hooks ( #3130 )
...
* moved eval hooks
* moved eval hooks
* moved eval hooks
* moved eval hooks
* moved eval hooks
* moved eval hooks
* moved eval hooks
2020-08-24 17:50:47 -04:00
William Falcon
c556ee6119
ref: refactor eval loop to use hooks. use test_mode for if so we can split later ( #3129 )
...
* moved eval hooks
* moved eval hooks
* moved eval hooks
* moved eval hooks
2020-08-24 15:48:14 -04:00
William Falcon
6068b29d29
ref: remove obscure forward call in eval + CPU backend ___step ( #3123 )
...
* remove obscure forward call in eval
* remove obscure forward call in eval
* remove obscure forward call in eval
* remove obscure forward call in eval
* remove obscure forward call in eval
* remove obscure forward call in eval
2020-08-24 12:31:40 -04:00
William Falcon
18160b81b5
refactored horovod backend ( #3122 )
2020-08-24 11:13:49 -04:00
William Falcon
8d7ca5cd2c
ref: refactored gpu backend __step ( #3120 )
...
* refactored gpu backend __step
* refactored gpu backend __step
* refactored gpu backend __step
* refactored gpu backend __step
2020-08-24 09:22:05 -04:00
William Falcon
527b9dca36
refactored ddp backend forward ( #3119 )
2020-08-24 07:33:14 -04:00
William Falcon
3c88b0dd83
Refactor 1: moved tpu xxx_step to backend ( #3118 )
...
* moved tpu training_step
* refactored eval step
* refactored eval step
* refactored eval step
2020-08-24 07:02:06 -04:00
Peter Yu
cee5eaf659
flake8 fixes ( #3064 )
...
* flake8 fixes
* fix pep8
* fix pep8
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 07:45:22 -04:00
William Falcon
8315a65d0a
fix result obj dp auto reduce ( #3013 )
...
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* fix result for dp
* added warning when changing monitor and using results obj
2020-08-17 10:29:39 -04:00
William Falcon
d702d4d393
removed callback metrics from test results obj ( #2994 )
...
* removed callback metrics from test results obj
* removed callback metrics from test results obj
2020-08-15 21:45:41 -04:00
William Falcon
b8371fa56c
Fixes #2972 #2946 ( #2986 )
...
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add val step arg to metrics
* add step metrics
* add step metrics
2020-08-15 08:36:00 -04:00
Nathan Raw
b9695237f1
Save test predictions on multiple GPUs ( #2926 )
...
* Save test predictions on multiple GPUs
2020-08-14 17:52:43 -04:00
Jirka Borovec
4354690e55
add apex test ( #2921 )
...
* add apex test
* rename
* level
* events
* wrap
* evt
* miss
* apex
* apex
* apex
* apex
* apex
* apex
* Update tests/models/test_amp.py
Co-authored-by: William Falcon <waf2107@columbia.edu>
* notes
* notes
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-13 10:03:13 -04:00
William Falcon
a46130cdc1
add weighted average to results obj ( #2930 )
...
* track batch size in result obj
2020-08-12 08:02:00 -04:00
William Falcon
d13e5c9e53
document lightiningmodule better ( #2920 )
...
* updated docs
2020-08-11 19:39:43 -04:00
Jirka Borovec
a6e7aa7796
allow using apex with any PT version ( #2865 )
...
* wip
* setup
* type
* name
* wip
* docs
* imports
* fix if
* fix if
* use_amp
* Apply suggestions from code review
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>
* fix tests
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* fix tests
* todos
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-08-08 11:07:32 +02:00