Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] import of mxnet newer than 1.6.0 after tvm is crashed #11452

Closed
elvin-n opened this issue May 25, 2022 · 1 comment
Closed

[Bug] import of mxnet newer than 1.6.0 after tvm is crashed #11452

elvin-n opened this issue May 25, 2022 · 1 comment
Labels
frontend:mxnet python/tvm/relay/frontend/mxnet* type: bug

Comments

@elvin-n
Copy link
Contributor

elvin-n commented May 25, 2022

Expected behavior

importing of mxnet and tvm should work together independently on order of their imports

Actual behavior

>>> import tvm
>>> import mxnet
Segmentation fault (core dumped)

if import mxnet first and then tvm - everything works fine

Environment

Crashes if tvm is imported first:
Ubuntu 21.10 cpython Python 3.9.12 mxnet 1.9.1
Ubuntu 21.10 Anaconda Python 3.8.5 mxnet 1.8.0.post0
Ubuntu 20.04 Anaconda 3.8.8 mxnet 1.8.0

Good in any order of importing:
Ubuntu 21.10 cpython Python 3.9.12 mxnet 1.6.0

Steps to reproduce

call python and import tvm and mxnet

@areusch areusch added the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Oct 19, 2022
@hpanda-naut hpanda-naut added frontend:mxnet python/tvm/relay/frontend/mxnet* and removed needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it labels Nov 15, 2022
@masahi
Copy link
Member

masahi commented Dec 8, 2022

Probably related to #9362. The same solution may work.

@masahi masahi closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend:mxnet python/tvm/relay/frontend/mxnet* type: bug
Projects
None yet
Development

No branches or pull requests

4 participants