Traceback (most recent call last):
  File "main.py", line 167, in <module>
    test(epoch)
  File "main.py", line 142, in test
    _, predicted = predict(outputs).max(1)
  File "main.py", line 43, in predict
    preds = dist.sample()
  File "/u/sahariac/.local/lib/python3.6/site-packages/torch/distributions/distribution.py", line 97, in sample
    return self.rsample(sample_shape)
  File "/u/sahariac/.local/lib/python3.6/site-packages/torch/distributions/dirichlet.py", line 68, in rsample
    return _Dirichlet.apply(concentration)
  File "/u/sahariac/.local/lib/python3.6/site-packages/torch/distributions/dirichlet.py", line 28, in forward
    x = _dirichlet_sample_nograd(concentration)
  File "/u/sahariac/.local/lib/python3.6/site-packages/torch/distributions/dirichlet.py", line 12, in _dirichlet_sample_nograd
    probs = torch._standard_gamma(concentration)
RuntimeError: _standard_gamma is not implemented for type torch.cuda.FloatTensor