Open leezu opened 3 years ago
I had some success with marking this test with @pytest.mark.serial
without understanding the underlying issue, or why this action fixed it. Could someone enlighten me, what do the serial-marked tests do that force them to be run serially? Are the pytest workers all in the same process?
The pytest workers are all in separate processes. I'm only aware of the difference that OMP_NUM_THREADS=$(expr $(nproc) / 4)
is exported before running the parallel pytest processes for non-serial tests. Serial tests will be run in a separate process without the OMP_NUM_THREADS
variable after all non-serial tests finished.
Description
Tests crashes affecting multiple PRs: https://github.com/apache/incubator-mxnet/pull/18711 https://github.com/apache/incubator-mxnet/pull/18694 https://github.com/apache/incubator-mxnet/pull/18722 https://github.com/apache/incubator-mxnet/pull/18733