Learning rate finder wrong error message on early stopping
If the learning rate finder stops early, an error is shown that 'LR finder stopped early due to diverging loss.'.
However, early stopping can also happen if the data loader is shorter than the default number of training steps (100) performed by the learning rate finder. In this case, the error message about diverging loss is truly misleading.

  
    
      pytorch-lightning/pytorch_lightning/tuner/lr_finder.py
    
    
         Line 185
      in
      20b806a
    
  
  
    

        
          
           if trainer.global_step != num_training: 
        
    
  


  # Prompt if we stopped early
    if trainer.global_step != num_training:
        log.info('LR finder stopped early due to diverging loss.')