-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Relax][Training] Loss functions #112
Merged
MasterJH5574
merged 17 commits into
mlc-ai:relax
from
SiriusNEO:mlc-dev/2023-01-25-loss
Jan 31, 2023
Merged
[Relax][Training] Loss functions #112
MasterJH5574
merged 17 commits into
mlc-ai:relax
from
SiriusNEO:mlc-dev/2023-01-25-loss
Jan 31, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jan 25, 2023
SiriusNEO
changed the title
[WIP][Relax][Training] Some loss functions
[WIP][Relax][Training] Loss functions
Jan 26, 2023
SiriusNEO
force-pushed
the
mlc-dev/2023-01-25-loss
branch
from
January 27, 2023 19:46
339d14b
to
7aee6e0
Compare
SiriusNEO
changed the title
[WIP][Relax][Training] Loss functions
[Relax][Training] Loss functions
Jan 27, 2023
Ubospica
reviewed
Jan 27, 2023
Ubospica
reviewed
Jan 28, 2023
Ubospica
reviewed
Jan 28, 2023
Ubospica
reviewed
Jan 28, 2023
Hzfengsy
reviewed
Jan 28, 2023
Ubospica
reviewed
Jan 28, 2023
SiriusNEO
force-pushed
the
mlc-dev/2023-01-25-loss
branch
2 times, most recently
from
January 28, 2023 15:11
b997189
to
18447be
Compare
SiriusNEO
force-pushed
the
mlc-dev/2023-01-25-loss
branch
from
January 29, 2023 11:33
18447be
to
5c37e5f
Compare
Hzfengsy
reviewed
Jan 29, 2023
SiriusNEO
force-pushed
the
mlc-dev/2023-01-25-loss
branch
from
January 29, 2023 17:24
12baf14
to
9291a07
Compare
SiriusNEO
force-pushed
the
mlc-dev/2023-01-25-loss
branch
from
January 31, 2023 09:14
bca8977
to
77781fc
Compare
MasterJH5574
approved these changes
Jan 31, 2023
MasterJH5574
pushed a commit
that referenced
this pull request
Jan 31, 2023
This PR introduces loss functions for relax training and provides a tool `append_loss` which enables user to append a loss after a forward function. About the `append_loss`, some previous discussions can be found in #111. Currently support: - L1Loss - MSELoss - CrossEntropyLoss
Thanks folks. Keep up with great works! |
MasterJH5574
pushed a commit
that referenced
this pull request
Feb 8, 2023
The pattern field of the match shape can define variables, as a result, we need to add DefEqual and Hash here. Added a regression testcase. Lesson: we would benefit from more testcases with check_save_roundtrip checks(like this one) for more relax example. Additional change: - Redirected TVMScript printer to be able to print relax fragements useful for debugging.
MasterJH5574
pushed a commit
that referenced
this pull request
Feb 8, 2023
This PR introduces loss functions for relax training and provides a tool `append_loss` which enables user to append a loss after a forward function. About the `append_loss`, some previous discussions can be found in #111. Currently support: - L1Loss - MSELoss - CrossEntropyLoss
spectrometerHBH
pushed a commit
to spectrometerHBH/relax
that referenced
this pull request
Feb 9, 2023
The pattern field of the match shape can define variables, as a result, we need to add DefEqual and Hash here. Added a regression testcase. Lesson: we would benefit from more testcases with check_save_roundtrip checks(like this one) for more relax example. Additional change: - Redirected TVMScript printer to be able to print relax fragements useful for debugging.
MasterJH5574
pushed a commit
that referenced
this pull request
Feb 12, 2023
This PR introduces loss functions for relax training and provides a tool `append_loss` which enables user to append a loss after a forward function. About the `append_loss`, some previous discussions can be found in #111. Currently support: - L1Loss - MSELoss - CrossEntropyLoss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces loss functions for relax training and provides a tool
append_loss
which enables user to append a loss after a forward function.About the
append_loss
, some previous discussions can be found in #111.Currently support: