Closed Masquerade0097 closed 3 years ago
The Intel x86 and AMD64 / x86-64 series of processors use the little-endian format whereas s390x architecture uses big-endian format. Current MXNet parameter serialization format is just a memory dump and can't be loaded on a system with different endianness.
For MXNet 2, we're switching to using the numpy serialization format which will prevent such issues (https://numpy.org/devdocs/reference/generated/numpy.lib.format.html)
For now, you can't use the pretrained models directly on s390x architecture but you'd need some workaround where you load the parameter on a x86 machine, call asnumpy
, save via numpy and finally load the parameters on s390x machine using numpy and convert them to mxnet. Would that work for you?
@leezu Thanks for your reply.
For now, you can't use the pretrained models directly on s390x architecture but you'd need some workaround where you load the parameter on a x86 machine, call asnumpy, save via numpy and finally load the parameters on s390x machine using numpy and convert them to mxnet. Would that work for you?
I'll give it a try.
Are you sure the build succeed? Above logs are only related to the build configuration and not the actual build
Description
We are working on extending MXNet support to IBM Z (s390x architecture) machines. We were able to successfully install MXNet on s390x but we encountered the following error while trying to run it.
Error Message
To Reproduce
USE_SSE=0
.Environment
Using MXNet 1.5.1