mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco de Abreu <>
Subject Re: jemalloc 5 incompatibility
Date Sun, 19 Jan 2020 21:16:57 GMT
Building as part of cmake once upstream is stable sounds like a good
approach. Thanks for catching this issue early on!


Lausen, Leonard <> schrieb am So., 19. Jan. 2020,

> As of jemalloc 5, jemalloc default build can not be used in libraries that
> are
> dlopened. However, is dlopened by Python (ctypes). To use
> MXNet with
> jemalloc 5, users must not link to system but must rather
> link to
> a libjemalloc compiled with special parameters to allow dlopen to work.
> See
> jemalloc 5 is distributed as part of Ubuntu 18.10 and higher, as well as
> Debian
> Stable. Users on these systems will be unable to use MXNet after compiling
> with
> USE_JEMALLOC=ON on systems with libjemalloc-dev, which is the default
> setting.
> Thus in I suggest to
> disable Jemalloc by default in the source build. Auto-detecting the
> version of
> jemalloc is not helpful, because over time less and less systems will come
> with
> a working version of jemalloc.
> Please go ahead and approve the PR if you agree.
> The better solution is to build jemalloc as part of our build. See
> But as CMake build of jemalloc is not yet integrated upstream, this
> approach
> currently relies on a development branch of jemalloc. Thus it was
> suggested to
> revisit the approach once CMake integration is stable upstream.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message