leezu commented on issue #19255:
URL: 
https://github.com/apache/incubator-mxnet/issues/19255#issuecomment-707270879


   @DickJC123 does the following reproduce the non-linearruntime expansion with 
`--count` you are concerned about?
   If below looks good to you, please take a look at 
https://github.com/apache/incubator-mxnet/pull/19336 
   
   ```
   % python3 -m pytest 
../tests/python/unittest/test_deferred_compute.py::test_indexing_empty_shape 
--count 100
   ================================================================== test 
session starts 
==================================================================
   platform linux -- Python 3.8.5, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
   rootdir: /home/ubuntu/src/mxnet-master, configfile: pytest.ini
   plugins: timeout-1.4.2, repeat-0.8.0, env-0.6.2
   timeout: 1200.0s
   timeout method: signal
   timeout func_only: False
   collected 100 items
   
   ../tests/python/unittest/test_deferred_compute.py 
...............................................................................................
 [ 95%]
   .....                                                                        
                                                                     [100%]
   
   ================================================================== 100 
passed in 3.11s 
==================================================================
   % python3 -m pytest 
../tests/python/unittest/test_deferred_compute.py::test_indexing_empty_shape 
--count 1000
   ================================================================== test 
session starts 
==================================================================
   platform linux -- Python 3.8.5, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
   rootdir: /home/ubuntu/src/mxnet-master, configfile: pytest.ini
   plugins: timeout-1.4.2, repeat-0.8.0, env-0.6.2
   timeout: 1200.0s
   timeout method: signal
   timeout func_only: False
   collected 1000 items
   
   ../tests/python/unittest/test_deferred_compute.py 
...............................................................................................
 [  9%]
   
.................................................................................................................................................
 [ 24%]
   
.................................................................................................................................................
 [ 38%]
   
.................................................................................................................................................
 [ 53%]
   
.................................................................................................................................................
 [ 67%]
   
.................................................................................................................................................
 [ 82%]
   
.................................................................................................................................................
 [ 96%]
   ...................................                                          
                                                                     [100%]
   
   ================================================================= 1000 
passed in 36.78s 
=================================================================
   % python3 -m pytest 
../tests/python/unittest/test_deferred_compute.py::test_indexing_empty_shape    
                          38s ~/src/mxnet-master/build 
2020-10/pytest-with-seed-fixture ip-172-31-95-96
   
===========================================================================================
 test session starts 
============================================================================================
   platform linux -- Python 3.8.5, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
   rootdir: /home/ubuntu/src/mxnet-master, configfile: pytest.ini
   plugins: timeout-1.4.2, repeat-0.8.0, env-0.6.2
   timeout: 1200.0s
   timeout method: signal
   timeout func_only: False
   collected 1 item
   
   ../tests/python/unittest/test_deferred_compute.py .                          
                                                                                
                                        [100%]
   
   
============================================================================================
 1 passed in 0.08s 
=============================================================================================
   ```


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to