tvm icon indicating copy to clipboard operation
tvm copied to clipboard

Error installing torch_tvm: JIT

Open hbata opened this issue 6 years ago • 5 comments

Pre-installation, I have installed llvm and cmake both of which seem to be working fine. Whilst attempting to install torch_tvm the error we keep getting is the following: please note that I am trying to install torch_tvm with building pythorch 1.0.0 from source torch_tvm

hbata avatar Aug 25 '19 11:08 hbata

I believe you'll need to use a newer version of PyTorch (we've been keeping this repo up to date with master)

bwasti avatar Aug 27 '19 02:08 bwasti

I believe you'll need to use a newer version of PyTorch (we've been keeping this repo up to date with master)

@bwasti I've tried already building Pytorch 1.2, then I've tried 1.1 down & 1.0, all failing at similar step shown in the picture shown

hbata avatar Aug 27 '19 03:08 hbata

I am attaching the complete log while trying installation of tvm_torch using both pytorch 1.0 and pytorch 1.3 setup_fail_torch_13.log refers to the log of installing tvm_torch using pytorch 1.3 setup_fail.log refers to the log of installing tvm_torch using pytorch 1.0 setup_fail.log setup_fail_torch_13.log

hbata avatar Aug 27 '19 06:08 hbata

I believe using a newer version of gcc or clang will help here -- but I'm looking into a fix for compatibility with older compilers

bwasti avatar Aug 27 '19 18:08 bwasti

I believe using a newer version of gcc or clang will help here -- but I'm looking into a fix for compatibility with older compilers

I've tried installing tvm_torch with gcc7.4, got the following error setup_fail_74.log

hbata avatar Sep 01 '19 07:09 hbata