tvm icon indicating copy to clipboard operation
tvm copied to clipboard

LLVM error when import torch_tvm after building pytorch and torch_tvm from source

Open DreamChaserMXF opened this issue 6 years ago • 5 comments

Environments: Ubuntu16.04 LTS, Python 3.6.9, LLVM 8.0, GCC 5.4, Pytorch Nightly version (build from source), torch_tvm master branch.

Successfully import tvm, but encounter error when import torch_tvm:

LLVM-error

Bottom of the screen is '__init__.py' of package torch_tvm.

Anyone has any advice?

DreamChaserMXF avatar Nov 14 '19 06:11 DreamChaserMXF

Does this clash with import tvm?

yinghai avatar Nov 15 '19 18:11 yinghai

Does this clash with import tvm?

No, it doesn't. import tvm can be executed without any error and warning. It seems like tvm was successfully compiled, but torch_tvm was somehow corrupted.

DreamChaserMXF avatar Nov 19 '19 07:11 DreamChaserMXF

@bwasti Anything on top of your head?

yinghai avatar Nov 19 '19 21:11 yinghai

Same issue here on Ubuntu 18.04.

IHIaadj avatar Jan 04 '20 11:01 IHIaadj

I also have this issue on ~~18.04~~16.04 with LLVM 9.0.0. It appears to be related to this issue: https://github.com/ziglang/zig/issues/67, which also appears elsewhere in different forms.

MaxBareiss avatar Feb 05 '20 19:02 MaxBareiss