Skip to content
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

Adds no-grad context for reference model to DPO notebook #473

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

rasbt
Copy link
Owner

@rasbt rasbt commented Jan 7, 2025

The reference model was unnecessarily computing gradient information, which wasted memory resources as discussed in #472

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rasbt rasbt merged commit a48f9c7 into main Jan 8, 2025
8 checks passed
@rasbt rasbt deleted the grad-patch branch January 8, 2025 02:49
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.

1 participant