Good morning,
In 0.4.0 there is a bug which has just been fixed and marge into the code:

  
      github.com/pytorch/pytorch
  
  
      
    
  


  only Tensors of floating point dtype can require gradients (see #7021) (#7034)




  by t-vi
  on 08:20AM - 30 Apr 18



  changed 5 files
  with 55 additions
  and 6 deletions.


  
  
    
    
  
  


How can I install the version with the patch on my computer?
Thanks,
Ortal