diggerdu opened a new issue #14009: `reset_ctx` on gpu is desperately slow URL: https://github.com/apache/incubator-mxnet/issues/14009 Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form. For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io ## Description ## Environment info (Required) ``` ----------Python Info---------- Version : 3.7.1 Compiler : GCC 7.3.0 Build : ('default', 'Dec 14 2018 19:28:38') Arch : ('64bit', '') ------------Pip Info----------- Version : 18.1 Directory : /xxxxxxxxxxxxxxxxxxxxx/anaconda3/lib/python3.7/site-packages/pip ----------MXNet Info----------- Version : 1.3.1 Directory : /xxxxxxxxxxxxxxxxxxxxxx/anaconda3/lib/python3.7/site-packages/mxnet Commit Hash : 19c501680183237d52a862e6ae1dc4ddc296305b ----------System Info---------- Platform : Linux-4.9.0-0.bpo.6-amd64-x86_64-with-debian-8.9 system : Linux node : n22-148-145 release : 4.9.0-0.bpo.6-amd64 version : #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-13) ----------Hardware Info---------- machine : x86_64 processor : Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz Stepping: 4 CPU MHz: 2800.213 CPU max MHz: 3700.0000 CPU min MHz: 1000.0000 BogoMIPS: 4201.20 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 22528K NUMA node0 CPU(s): 0-15,32-47 NUMA node1 CPU(s): 16-31,48-63 ----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0026 sec, LOAD: 1.0918 sec. Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.9766 sec, LOAD: 2.0297 sec. Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 1.2159 sec, LOAD: 3.1553 sec. Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.3616 sec, LOAD: 2.1220 sec. Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.1631 sec, LOAD: 4.2498 sec. Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.7362 sec, LOAD: 1.2382 sec. ``` ## Steps to reproduce (Paste the commands you ran that produced the error.) ``` python demo_ssd.py --gpus=0 ``` ``` import time tick = time.time() net.collect_params().reset_ctx(ctx = ctx) print(time.time()-tick) ``` ### output ``` ➜ ssd git:(master) ✗ python demo_ssd.py --gpus=0 268.62427520751953 ``` ## What have you tried to solve it? 1.export MXNET_CUDNN_AUTOTUNE_DEFAULT=1 2.export MXNET_CUDNN_AUTOTUNE_DEFAULT=2
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
