question: Can I turn off Validation step when overfit_batches=X?
context: I call trainer.fit(model=model_lit, datamodule=datamodule)
  I have set parameters:
  limit_val_batches: 0
  limit_test_batches: 0
  
  datamodule.val_dataloader() returns None
  But it is still trying to perform validation...
  Is it a problem of lightning, or am I doing something wrong? :)
answer: it's now turned off by default on master:
  
    
      
        pytorch-lightning/pytorch_lightning/trainer/trainer.py
      
      
          Lines 636 to 640
        in
        2faaf35
      
    
    
      
  
          
            
             def _determine_data_use_amount(self, overfit_batches: float) -> None: 
          
  
          
            
                 """Use less data for debugging purposes.""" 
          
  
          
            
                 if overfit_batches > 0: 
          
  
          
            
                     self.limit_train_batches = overfit_batches 
          
  
          
            
                     self.limit_val_batches = 0