Solved by K_Frank in post #2 
              
              
                Hello Kelley! 

This appears to be a known and fixed bug:  See this github issue: 


(For what it’s worth, when I run your softmin test on pytorch 
version 1.0.1, I get the right answer, that is, the softmin values 
sum to 1.) 
Best. 
K. Frank