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 2021/12/17 12:02:44 UTC

[GitHub] [incubator-mxnet] anko-intel opened a new pull request #20780: [TEST] Add microbenchmark for FC + add fusion

anko-intel opened a new pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780


   ## Description ##
   Add microbenchmark for Fully Connected with add fusion
   and utility scripts to run it with proper OMP parameters set and check performance against different number of threads
   
   ## Checklist ##
   ### Essentials ###
   - [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   
   
   ## Comments ##
   Examples of test output:
   - ./run.sh fc_add.py
   
   elemwise_add, float 
   
   |    Shape    | Hidden | Mean [ms] |
   |------------:|-------:|----------:|
   | (   1, 224) |    512 |     0.236 |
   | (   1, 224) |   4096 |     0.227 |
   | (  16,1024) |   1024 |     0.337 |
   | (  32,4096) |   1024 |     0.530 |
   | (  32,4096) |   4096 |     1.539 |
   | ( 512, 512) |   4096 |     0.956 |
   
   
   npi_add, float 
   
   |    Shape    | Hidden | Mean [ms] |
   |------------:|-------:|----------:|
   | (   1, 224) |    512 |     0.165 |
   | (   1, 224) |   4096 |     0.164 |
   | (  16,1024) |   1024 |     0.286 |
   | (  32,4096) |   1024 |     0.523 |
   | (  32,4096) |   4096 |     1.444 |
   | ( 512, 512) |   4096 |     0.846 |
   
   
   elemwise_add, mode = smart, granularity = tensor-wise 
   
   |    Shape    | Hidden | Mean [ms] |
   |------------:|-------:|----------:|
   | (   1, 224) |    512 |     0.240 |
   | (   1, 224) |   4096 |     0.236 |
   | (  16,1024) |   1024 |     0.330 |
   | (  32,4096) |   1024 |     0.396 |
   | (  32,4096) |   4096 |     0.541 |
   | ( 512, 512) |   4096 |     0.900 |
   
   - ./run_per_thread.sh 48 8 64 fc_add.py
   
   NUM_THREADS = 48 56 64
   
   
   elemwise_add, float   
   
   |    Shape    | Hidden | Mean [ms] | Mean [ms] | Mean [ms] |
   |------------:|-------:|----------:|----------:|----------:|
   | (   1, 224) |    512 |     0.204 |     0.214 |     0.244 |
   | (   1, 224) |   4096 |     0.205 |     0.211 |     0.232 |
   | (  16,1024) |   1024 |     0.307 |     0.321 |     0.346 |
   | (  32,4096) |   1024 |     0.569 |     0.535 |     0.536 |
   | (  32,4096) |   4096 |     2.028 |     1.796 |     1.531 |
   | ( 512, 512) |   4096 |     1.124 |     1.085 |     0.962 |
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-998199371


   Jenkins CI successfully triggered : [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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-997761546


   Jenkins CI successfully triggered : [windows-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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] anko-intel commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
anko-intel commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-997763693


   @mxnet-bot run ci [windows-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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] anko-intel commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
anko-intel commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-998199281


   @mxnet-bot run ci [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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-996670305


   Hey @anko-intel , 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, website, miscellaneous, edge, clang, windows-cpu, unix-gpu, sanity, unix-cpu, windows-gpu, 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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-997763747


   Jenkins CI successfully triggered : [windows-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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] anko-intel commented on pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
anko-intel commented on pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780#issuecomment-997761481


    @mxnet-bot run ci [centos-gpu, windows-cpu, windows-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.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] bgawrych merged pull request #20780: [TEST] Add microbenchmark for FC + add fusion

Posted by GitBox <gi...@apache.org>.
bgawrych merged pull request #20780:
URL: https://github.com/apache/incubator-mxnet/pull/20780


   


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

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org