Skip to content

Conversation

@AAnoosheh
Copy link
Contributor

What does this PR do?

Type of change: New feature

Overview: Writes a new KLDiv Logits loss which only uses top-k vocab values

Usage

# Add a code snippet demonstrating how to use this

Testing

Before your PR is "Ready for review"

  • Make sure you read and follow Contributor guidelines and your commits are signed.
  • Is this change backward compatible?: Yes/No
  • Did you write any new necessary tests?: Yes/No
  • Did you add or update any necessary documentation?: Yes/No
  • Did you update Changelog?: Yes/No

Additional Information

Signed-off-by: Asha Anoosheh <[email protected]>
Signed-off-by: Asha Anoosheh <[email protected]>
Signed-off-by: Asha Anoosheh <[email protected]>
@AAnoosheh AAnoosheh self-assigned this Jan 8, 2026
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 8, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@AAnoosheh AAnoosheh force-pushed the aanoosheh/topk-kdloss branch from 06d057f to e7d33a7 Compare January 8, 2026 16:48
@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.62%. Comparing base (fe52b2a) to head (8c03f0f).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #747      +/-   ##
==========================================
- Coverage   74.68%   74.62%   -0.06%     
==========================================
  Files         192      192              
  Lines       18950    18989      +39     
==========================================
+ Hits        14153    14171      +18     
- Misses       4797     4818      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Asha Anoosheh <[email protected]>
@AAnoosheh AAnoosheh marked this pull request as ready for review January 9, 2026 20:02
@AAnoosheh AAnoosheh requested a review from a team as a code owner January 9, 2026 20:02
Signed-off-by: Asha Anoosheh <[email protected]>
@AAnoosheh AAnoosheh force-pushed the aanoosheh/topk-kdloss branch from e7a34bf to 3093b8a Compare January 10, 2026 21:30
Signed-off-by: Asha Anoosheh <[email protected]>
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.

2 participants