I have a problem with pytorch 1.0, when generating tensor of big size, I get error:
python: symbol lookup error: /usr/lib/python3.6/site-packages/torch/lib/libtorch_python.so: undefined
I have this problem with pytorch 1.0 (cuda or not cuda), and not on 0.4.0.
Seems linked to this issue: https://github.com/pytorch/pytorch/issues/14931
But the advice was to try on python 3.6.1. I need to use it on 3.6.0.
Python log below. For example when generating tensor of size 10000, it crashes. If tensor is of size 1000 it works…
Any help please?
$ python Python 3.6.0 (default, Jan 16 2017, 12:12:55) [GCC 6.3.1 20170109] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> torch.__version__ '1.0.1.post2' >>> torch.ones(10000) python: symbol lookup error: /usr/lib/python3.6/site-packages/torch/lib/libtorch_python.so: undefined symbol: PySlice_Unpack $