Skip to content

[GKD] add liger loss#3946

Merged
kashif merged 6 commits into
mainfrom
gkd-liger
Aug 24, 2025
Merged

[GKD] add liger loss#3946
kashif merged 6 commits into
mainfrom
gkd-liger

Conversation

@kashif

@kashif kashif commented Aug 24, 2025

Copy link
Copy Markdown
Collaborator

What does this PR do?

Added Liger GKD loss and test

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@kashif kashif mentioned this pull request Aug 24, 2025
5 tasks
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@qgallouedec qgallouedec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Just a few nits
Does it require to bump liger?

Comment thread trl/trainer/gkd_trainer.py Outdated
Comment thread trl/trainer/gkd_trainer.py Outdated
Comment thread tests/test_gkd_trainer.py Outdated
Comment thread trl/trainer/gkd_trainer.py Outdated
kashif and others added 5 commits August 24, 2025 18:50
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
@kashif

kashif commented Aug 24, 2025

Copy link
Copy Markdown
Collaborator Author

its supported from version 0.5.7 onwards

@kashif kashif merged commit 39cc9a8 into main Aug 24, 2025
8 of 11 checks passed
@kashif kashif deleted the gkd-liger branch August 24, 2025 17:25
LuisVasquezBSC pushed a commit to langtech-bsc/trl that referenced this pull request Aug 28, 2025
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
LuisVasquezBSC pushed a commit to langtech-bsc/trl that referenced this pull request Aug 28, 2025
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants