wkcn / MobulaOP

A Simple & Flexible Cross Framework Operators Toolkit
MIT License
164 stars 21 forks source link

undefined symbol: MXShallowCopyNDArray #90

Closed a550461053 closed 4 years ago

a550461053 commented 4 years ago

When I test the tutorials, I get the warning:

/root/test/MobulaOP/mobula/glue/mx.py:44: UserWarning: Using asynchronous execution for MXNet failed, since /usr/local/lib/python3.6/dist-packages/mxnet/libmxnet.so: undefined symbol: MXShallowCopyNDArray
It will drop the performance.

But I have try different version of mxnet: 1.5.0, 1.5.1, 1.6.0b20190729 same warning.

wkcn commented 4 years ago

Hi @a550461053 , The API MXShallowCopyNDArray was added into MXNet in the PR https://github.com/apache/incubator-mxnet/pull/15581 in Aug. 8, 2019.

Please use MXNet whose version >=1.6.0b20190809 : )

a550461053 commented 4 years ago

Hi @a550461053 , The API MXShallowCopyNDArray was added into MXNet in the PR apache/incubator-mxnet#15581 in Aug. 8, 2019.

Please use MXNet whose version >=1.6.0b20190809 : )

Thanks, it's ok. 👍