You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/11 18:34:48 UTC

[GitHub] [incubator-mxnet] leezu edited a comment on issue #16432: Load NDArray only to GPU if GPU is present

leezu edited a comment 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 already 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:
users@infra.apache.org


With regards,
Apache Git Services