I have the save probleam.
ctx.noise.bernoulli_(1 - ctx.p).div_(1 - ctx.p)
RuntimeError: Creating MTGP constants failed. at /opt/conda/conda-bld/pytorch_1532581333611/work/aten/src/THC/THCTensorRandom.cu:34