You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Ubospica (via GitHub)" <gi...@apache.org> on 2023/04/19 10:33:26 UTC
[GitHub] [tvm] Ubospica opened a new pull request, #14668: [Unity][Training] Loss functions and AppendLoss pass
Ubospica opened a new pull request, #14668:
URL: https://github.com/apache/tvm/pull/14668
This PR adds two components to support the Relax training workflow: loss function library and AppendLoss pass.
- Loss function library. A library that generates relax functions representing common loss functions, such as MSELoss and CrossEntropyLoss.
- Generally, loss function will take one or more **input parameters** (that is outputs of the backbone of a model), one or more **target parameters**, and generate a scalar value denoting the loss.
- AppendLoss pass. You can specify one function (the backbone function) in the IRModule, and one loss function (normally, generated by the loss function library) to AppendLoss. It will attach the loss function to the backbone function, and add the result function to the IRModule.
--
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@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] MasterJH5574 commented on pull request #14668: [Unity][Training] Loss functions and AppendLoss pass
Posted by "MasterJH5574 (via GitHub)" <gi...@apache.org>.
MasterJH5574 commented on PR #14668:
URL: https://github.com/apache/tvm/pull/14668#issuecomment-1518517031
Please resolve the conflict and we’re good to go :-)
--
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@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] tvm-bot commented on pull request #14668: [Unity][Training] Loss functions and AppendLoss pass
Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #14668:
URL: https://github.com/apache/tvm/pull/14668#issuecomment-1514504975
<!---bot-comment-->
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
<!--bot-comment-ccs-start-->
* cc @quic-sanirudh <sub>See [#10317](https://github.com/apache/tvm/issues/10317) for details</sub><!--bot-comment-ccs-end-->
<sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>
--
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@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] MasterJH5574 merged pull request #14668: [Unity][Training] Loss functions and AppendLoss pass
Posted by "MasterJH5574 (via GitHub)" <gi...@apache.org>.
MasterJH5574 merged PR #14668:
URL: https://github.com/apache/tvm/pull/14668
--
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@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] Ubospica commented on pull request #14668: [Unity][Training] Loss functions and AppendLoss pass
Posted by "Ubospica (via GitHub)" <gi...@apache.org>.
Ubospica commented on PR #14668:
URL: https://github.com/apache/tvm/pull/14668#issuecomment-1518666512
@MasterJH5574 We can go now :)
--
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@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org