To not have the same discussion twice:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      einsum running 100x slower than expected when controlling for number of ops 51
    

    
      
        opened 
        
          
        
        Jul 15, 2020
      
      


      
        
          
          samringer
        
      
    
  



  🐛 Bug
For two simple einsum cases, Case 2 is running ~30% slower than Case 1, despite needing to perform 101x fewer...



    module: cuda
    module: operators
    topic: performance
    triaged