batch sampler set_epoch is not called
pytorch-lightning/pytorch_lightning/trainer/training_loop.py
    
    
         Line 353
      in
      1d565e1
    
  
  
    

        
          
           self.train_dataloader.sampler.set_epoch(epoch) 
        
    
  


In the line above batch_sampler can be used to generate batches, but it is impossible to use set_epoch for it.