You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/05/29 23:08:21 UTC
[GitHub] [incubator-mxnet] leezu opened a new pull request #18443: Disable test coverage in MKL builds
leezu opened a new pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443
Reference: https://github.com/apache/incubator-mxnet/issues/18244#issuecomment-635911844
cc: @bgawrych
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-636230314
Hey @leezu , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:
- To trigger all jobs: @mxnet-bot run ci [all]
- To trigger specific jobs: @mxnet-bot run ci [job1, job2]
***
**CI supported jobs**: [centos-gpu, unix-gpu, windows-cpu, website, windows-gpu, unix-cpu, sanity, clang, miscellaneous, edge, centos-cpu]
***
_Note_:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] bgawrych commented on a change in pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
bgawrych commented on a change in pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#discussion_r433111942
##########
File path: ci/docker/runtime_functions.sh
##########
@@ -1014,8 +1001,10 @@ unittest_ubuntu_python3_cpu_mkldnn() {
export MXNET_SUBGRAPH_VERBOSE=0
export MXNET_ENABLE_CYTHON=0
export DMLC_LOG_STACK_TRACE_DEPTH=10
- # TODO(szha): enable parallel testing and naive engine for ops once #18244 is fixed
- pytest --durations=50 --cov-report xml:tests_unittest.xml --verbose tests/python/unittest
+ pytest -m 'not serial' -k 'not test_operator' -n 4 --durations=50 --cov-report xml:tests_unittest.xml --verbose tests/python/unittest
Review comment:
It would be better to set OMP_NUM_THREADS=total_cpu_threads/4. Otherwise multiprocessing module from python will spawn 4 processes which will be using all threads independently (4 x total_cpu_threads).
For serial you can then unset OMP_NUM_THREADS
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] szha merged pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
szha merged pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-653991097
Jenkins CI successfully triggered : [centos-cpu, centos-gpu]
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] leezu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
leezu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-636235953
The stability problem I observed seems unrelated (https://github.com/apache/incubator-mxnet/issues/18442). However, disabling the test coverage at this point is a low-hanging fruit to improve the CI: MKL tests take 3h+ whereas all other tests take <1h.
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] marcoabreu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
marcoabreu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-636231308
It is expected that test coverage recording introduces slow down. Especially since core logic is run on the cpu for mkl while for GPU the core logic is run on GPU.
I'd rather exclude the mkl core package from test coverage than disabling it entirely.
For this, I'd recommend looking at where most CPU time is spent.
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] leezu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
leezu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-653282453
@mxnet-bot run ci [centos-cpu, centos-gpu, unix-cpu]
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] marcoabreu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
marcoabreu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-636233684
The issue is talking about speed but you're talking about stability. Are the test coverage injection causing instability?
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] leezu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
leezu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-653991070
@mxnet-bot run ci [centos-cpu, centos-gpu]
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-653282487
Jenkins CI successfully triggered : [unix-cpu, centos-gpu, centos-cpu]
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] leezu commented on pull request #18443: Disable test coverage in MKL builds
Posted by GitBox <gi...@apache.org>.
leezu commented on pull request #18443:
URL: https://github.com/apache/incubator-mxnet/pull/18443#issuecomment-636233246
I agree with you that this solution shouldn't be the final solution. However, currently the MKL tests are quite unstable on CI. @bgawrych is looking into it. Until we have a proper solution, I suggest to disable the test coverage for MKL builds to make the CI more stable.
----------------------------------------------------------------
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