Looking further at this it seems the change here

  
      github.com/pytorch/pytorch
  
  
    
  
    
  

  
    
      Allow shuffle when auto-batching disabled in DataLoader (#39865) 5
    

    
      
        committed 
        
          
        
        Jun 11, 2020
      
      

      
        
          
          ydaiming
        
        
      

      
        
          +24
          -11
        
      
    

  



  
    Summary:
Fix https://github.com/pytorch/pytorch/issues/35761
cc SsnL
Note: closed the other PR for this new branch.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39865
Differential Revision: D22003612
Pulled By: ezyang
fbshipit-source-id: 26aecd1b298fe99d3924f4c8157cd6cae2561c7c
  


  
  
    
    
  
  


will allow me to use shuffle=True with batch_size=None and I will not need to use SubsetRandomSampler. I am just wondering if anyone can think of a way I can do this in the mean time? Thanks.