A fix was included in PyTorch 0.4, but unfortunately the problem is not fully fixed. See discussion here:

  
      github.com/pytorch/pytorch
  
  
    



Issue: CUDA multinomial with replacement can select zero-probability events 39


	
	opened by coventry
	on 2018-01-25
	
	
	closed by apaszke
	on 
	


I'm running Ubuntu 16.04.3 on an AWS P3.2xlarge, with the NVIDIA libcuda1-384 package, version 384.111-0ubuntu0.16.04.1, and pytorch version 0.3.0.post4 and cuda90,...


 	bug
 	high priority