-
Notifications
You must be signed in to change notification settings - Fork 0
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
libmxnet.so is libmxnet.dylib on OSX #1
Comments
thanks @kalinon let me take a look at that. the existing solution dates back to maybe pre-1.2.0 and maybe the |
@kalinon how are you installing mxnet? i last installed with miniconda and that seems to provide the |
e117d0b should fix this. i should probably just use |
@toddsundsted sorry for the late response. So to get mxnet installed i first installed it via
|
Ill give it a try! |
thanks! let me know what happens. i'm happy to do more troubleshooting. |
@toddsundsted this worked. I had to link my |
Looks like the compiled version of mxnet outputs a
dylib
on OSX. Both the python package and compiling it from scratch generate this file. Since the link and python code look for the.so
file specifically the shard dies on compliation.Example paths:
/usr/local/lib/python3.9/site-packages/mxnet/libmxnet.dylib
~/github.com/apache/incubator-mxnet/libmxnet.dylib
replacing the
@[Link(ldflags: "`python '#{__DIR__}/libmxnet.py' library`")]
with:@[Link(ldflags: "<dylib path>")]
works. The example code from https://github.com/toddsundsted/deep-learning also works with the dylib, so it is probably safe to look for either.so
or.dylib
The text was updated successfully, but these errors were encountered: