When I try to create a tensor using torch.empty() i get the following:
>>> torch.empty(5)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/diego/anaconda3/lib/python3.6/site-packages/torch/tensor.py", line 57, in __repr__
    return torch._tensor_str._str(self)
  File "/home/diego/anaconda3/lib/python3.6/site-packages/torch/_tensor_str.py", line 218, in _str
    fmt, scale, sz = _number_format(self)
  File "/home/diego/anaconda3/lib/python3.6/site-packages/torch/_tensor_str.py", line 96, in _number_format
    if value != math.ceil(value.item()):
RuntimeError: Overflow when unpacking long


What am I doing wrong?
PD: I am using Pytorch 0.4.0