What is the correct way to set accumulate_grad_batches more than 1 and also a customized optimizer_step?
I had accumulate_grad_batches more than 1 and also a customized optimizer_step, which works well in 1.0.8.
In the latest release, I got an error raised in:

  
    
      pytorch-lightning/pytorch_lightning/trainer/configuration_validator.py
    
    
         Line 92
      in
      02152c1
    
  
  
    

        
          
           'When overriding `LightningModule` optimizer_step or optimizer_zero_grad with ' 
        
    
  


What is the best way to do it? I can not find any documentation on it.