You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/01/19 18:40:34 UTC

[GitHub] [incubator-mxnet] barry-jin edited a comment on issue #19420: Memory allocation failed out of memory

barry-jin edited a comment on issue #19420:
URL: https://github.com/apache/incubator-mxnet/issues/19420#issuecomment-763042569


   From my experience, I just used following commands to build MxNet locally and reproduce the issue: 
   ```
   $ git clone --recursive https://github.com/apache/incubator-mxnet
   $ cd incubator-mxnet
   $ git checkout 43750c8bfed6ca91fc47fd1fa6d620197e26c84c
   $ cp config/linux_gpu.cmake config.cmake
   $ mkdir build; cd build
   $ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..; ninja
   $ cd ..
   $ python3 -m pip install --user -e ./python
   $ cd ~/workspace
   $ git clone https://github.com/dmlc/gluon-nlp
   $ cd ~/workspace/gluon-nlp
   $ git checkout 8c8b0c9cda0853caa88fdbf4e0544986fbef243c
   $ python3 -m pip install --quiet -e .[extras]
   $ python3 -m pytest --device='gpu' --verbose --runslow tests/test_models.py tests/test_models_albert.py tests/test_models_bart.py tests/test_models_bert.py tests/test_models_gpt2.py
   ```


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org