see this:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      High memory usage for CPU inference on variable input shapes (10x compared to pytorch 1.1) 10
    

    
      
        opened 
        
          
        
        Oct 15, 2019
      
      

        
          closed 
        
          
        
        May 16, 2020
      
        

      
        
          
          lopuhin
        
      
    
  



  🐛 Bug
In pytorch 1.3, when doing inference with resnet34 on CPU with variable input shapes, much more memory is used compared...



    high priority
    module: cpu
    module: memory usage
    module: mkldnn
    triaged