Open cnd opened 4 years ago
Hi,
What's your current setup? It looks like you are using gcc 9.2.0?
Also, this seems to be an issue in PyTorch compilation with your setup, so I think you might have more chance getting some help if you create an issue there
cc @smessmer just in case you happen to know what's happening
yes, gcc 9.2.0, pytorch itself 1.4.0 compiles fine.
Thanks for the information. I'll see if someone with more experience with the dispatcher knows what is going on
@fmassa was trying different pytorch build and then I get: no member named 'bias' in 'torch::nn::ConvOptions
@cnd you probably hit an incompatibility of versions, as https://github.com/pytorch/vision/pull/1576 replaced with_bias
by bias
@fmassa it looks strange, I'm on 1.4 version of PyTorch and trying 0.5.0 vision, what versions I need to have compatibility?
@cnd PyTorch 1.4 is compatible with torchvision 0.5.0, except if I missed something for the C++ API during the release.
@cnd I was able to build one from Pytroch 1.4. You might be linking the old ones.
Check libtorch
in /usr
.
@cnd did you have a chance to try @jinuhwang comment?
Hello, I have it there from 1.4
* Searching for /usr/lib64/libtorch.so ...
sci-libs/pytorch-1.4.0_p0 (/usr/lib64/libtorch.so)
(tho not fully sure what's p0)
Trying version 0.5.0 (but same with 0.4.2), first I get:
if I fix it by manually changing makefile and replacing
-D_GLIBCXX_USE_CXX11_ABI=
with_GLIBCXX_USE_CXX11_ABI=1
I get another errors: