Closed mohammedkhalilia closed 4 years ago
The model is very large and requires large tensor support in MXNet. Large tensor support was enabled in MXNet 1.4 by default but disabled due to performance regressions (https://github.com/apache/incubator-mxnet/issues/14496 https://github.com/apache/incubator-mxnet/issues/14790). For MXNet 1.5 you can build MXNet from source and enable large tensor support via a compile time flag: https://github.com/apache/incubator-mxnet/blob/df4125aa1d4ef013e68e6adf3738dabdb1b52865/NEWS.md#large-tensor-support The team is currently working on addressing the regression and enable large tensor support by default again (https://github.com/apache/incubator-mxnet/issues/15589#issuecomment-512921102)
Description
Calling
gluonnlp.model.train.FasttextEmbeddingModel.load_fasttext_format()
generates an error when using MxNET 1.5.1 and GluonNLP 0.8.1. But the call works when using MxNET 1.4.1 and GluonNLP 0.7.1.Error Message
To Reproduce
Steps to reproduce
Environment