Profiler is not reset after calling trainer.tune() with auto_lr_find=True
🐛 Bug
When using SimpleProfiler together with the Learning Rate Finder, only the timings from the call to train within the Learning Rate Finder are logged. For the actual training, no timings are recorded.
Please reproduce using [the BoringModel and post here]
https://colab.research.google.com/drive/1FUOW-A7gJk1fuR7ODQdMSCQkrkgamtru?usp=sharing
Expected behavior
Profiler is reset after trainer.tune() is called OR the profiler is not active at all during tuning.
Environment

CUDA:

GPU:

Tesla T4


available:         True
version:           10.1


Packages:

numpy:             1.18.5
pyTorch_debug:     False
pyTorch_version:   1.6.0+cu101
pytorch-lightning: 0.10.0
tqdm:              4.41.1


System:

OS:                Linux
architecture:

64bit



processor:         x86_64
python:            3.6.9
version:           #1 SMP Thu Jul 23 08:00:38 PDT 2020



Additional context
Beside this issue, I'm wondering if calling the LR Finder manually like it's suggested here (lr_finder = trainer.tuner.lr_find(model)) might lead to some problems compared to trainer.tune(). In the Trainer class there are several things happening before lr_find is called. However, as far as I know the first method is necessary to obtain e.g. the plot.