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/08/27 00:05:37 UTC

[GitHub] [incubator-mxnet] KexinFeng opened a new pull request #20558: [FEATURE] Add feature of attach_grad to intermediate variables in HybridizedBlock.

KexinFeng opened a new pull request #20558:
URL: https://github.com/apache/incubator-mxnet/pull/20558


   ## Description ##
   The PR adds the support for fetching the gradients of intermediate variables in a gluon HybridizedBlock. This applies when `block.hybridize()` is on; otherwise, calling the block would be a simpler imperative computation where the original attach_grad() can be directly applied, as implemented in [PR#20500](https://github.com/apache/incubator-mxnet/pull/20500). 
   
   The motivation of this feature comes from this [issue#11865](https://github.com/apache/incubator-mxnet/issues/11865).
   
   ## 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)
   - [ ] All changes have test coverage
   - [ ] Code is well-documented
   
   ### Changes ###
   - [ ] Feature1, tests, (and when applicable, API doc)
   - [ ] Feature2, tests, (and when applicable, API doc)
   
   ## Comments ##
   - This feature is built on top of  [PR#20500](https://github.com/apache/incubator-mxnet/pull/20500), where the modification is mainly in invoke of CachedOp computation.
   
   


-- 
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 #20558: [FEATURE] Add feature of attach_grad to intermediate variables in HybridizedBlock.

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


   Hey @KexinFeng , 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**: [unix-cpu, centos-cpu, clang, windows-gpu, website, centos-gpu, windows-cpu, miscellaneous, edge, unix-gpu, sanity]
   *** 
   _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] KexinFeng closed pull request #20558: [FEATURE] Add feature of attach_grad to intermediate variables in HybridizedBlock.

Posted by GitBox <gi...@apache.org>.
KexinFeng closed pull request #20558:
URL: https://github.com/apache/incubator-mxnet/pull/20558


   


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