Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

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

Open
DreamChaserMXF opened this issue Nov 14, 2019 · 5 comments

Comments

@DreamChaserMXF
Copy link

DreamChaserMXF commented Nov 14, 2019

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 DreamChaserMXF changed the title LLVM error after build pytorch and torch_tvm from source LLVM error when import torch_tvm after building pytorch and torch_tvm from source Nov 14, 2019
@yinghai
Copy link

yinghai commented Nov 15, 2019

Does this clash with import tvm?

@DreamChaserMXF
Copy link
Author

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.

@yinghai
Copy link

yinghai commented Nov 19, 2019

@bwasti Anything on top of your head?

@IHIaadj
Copy link

IHIaadj commented Jan 4, 2020

Same issue here on Ubuntu 18.04.

@MaxBareiss
Copy link

MaxBareiss commented Feb 5, 2020

I also have this issue on 18.0416.04 with LLVM 9.0.0. It appears to be related to this issue: ziglang/zig#67, which also appears elsewhere in different forms.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants