-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use a namespaced version of jemalloc
#113
Comments
I'm really out of my depth with this and I'm not sure @tbenthompson has the time to work on this. Is there someone that could take care of this from the engineering team @xhochy? |
Maybe @cbourjau can do this ;) |
I'm a bit confused why this would make a difference. It is my understanding that on MacOS, jemalloc is built with |
The issue here is that loading a default |
We are currently observing issues when using
quantcore.matrix
in conjunction withonnx
andonnxruntime
on MacOS. The call topython -c 'import onnx; import quantcore.matrix.ext.dense; import onnxruntime'
fails with a bus error or segfault whereas the callDYLD_INSERT_LIBRARIES=$CONDA_PREFIX/lib/libjemalloc.dylib python -c 'import onnx; import quantcore.matrix.ext.dense; import onnxruntime'
passes just fine. This indicates that using an unnamespacedjemalloc
may be problematic here as the following traceback indicates:My suggestion would be to add an output to the jemalloc-feedstock as described in conda-forge/jemalloc-feedstock#23 that comes with a prefixed version of the library.
The text was updated successfully, but these errors were encountered: