For those interested, the link to the corresponding github issue:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      Torch.equal(t1, t2) slower than torch.eq(t1, t2).all() on GPU 19
    

    
      
        opened 
        
          
        
        Sep 15, 2020
      
      


      
        
          
          CedricPicron
        
      
    
  



  🐛 Bug
torch.equal(t1, t2) is slower than its alternative torch.eq(t1, t2).all() on GPU. The bug manifests itself after doing "some computation" (as...