github.com/pytorch/pytorch
  
  
    



Issue: torch.stack() gradient errors in 0.4.1 8


	
	opened by fritzo
	on 2018-07-28
	
	
	closed by facebook-github-bot
	on 2018-08-09
	


Issue description
We're seeing Pyro code breakage due to interaction of torch.stack and binary_cross_entropy_with_logits as used inside torch.Bernoulli.log_prob().
Possibly related: #4274
Code examples
The following...


 	nightly-announce


  
  
    
    
  
  


fixed in master:

  
      github.com/pytorch/pytorch
  
  
      
    
  


  Deal with undefined tensors in unbind backward 13



  by t-vi
  on 08:43PM - 29 Jul 18



  2 commits
  changed 3 files
  with 25 additions
  and 5 deletions.


  
  
    
    
  
  


Best regards
Thomas