-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can you add support for apple/ml-cross-entropy? #1298
Comments
I was coming here to ask the same. This seems like a perfect fit for Unsloth |
Yes! Just tested it and it seems to work really well :) |
Will add it probably in the next release :) |
hey there @danielhanchen I've been trying to implement this in triton if it's ok and can i open a draft by tomorrow just so we can discuss and check if the code is all right |
@dame-cell Oh I already managed to add Apple's one in :) |
We're still testing though so it's not final or near finished. |
This new method saves a lot of more memory, can you port it to unsloth?
Cut Your Losses in Large-Vocabulary Language Models
https://github.com/apple/ml-cross-entropy
The text was updated successfully, but these errors were encountered: