leezu commented on issue #16432: Load NDArray only to GPU if GPU is present
URL: https://github.com/apache/incubator-mxnet/pull/16432#issuecomment-541176385
 
 
   Yes. It is already supported currently. Nothing is changed with respect to 
that.
   
   The problem addressed here, is that a serialized ndarray encodes the context 
it lived on before serialization. When loading it, and no GPU is present, MXNet 
crashes as it attempts to load the array to GPU. With this PR, we fallback to 
loading to CPU. This is also done for CPU-only builds of MXNet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to