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

[DPOTrainer] Load data only on main process + fix dpo example test #1291

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

younesbelkada
Copy link
Contributor

Adds the simple fix proposed in #1255 to speed up data processing for DPO + multi GPU + fixes the example test that I made it fail after #1289

cc @kashif

@younesbelkada younesbelkada requested a review from kashif January 30, 2024 07:26
@HuggingFaceDocBuilderDev

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.

@kashif
Copy link
Collaborator

kashif commented Jan 30, 2024

thank you!

@kashif kashif merged commit 070c75e into main Jan 30, 2024
9 checks passed
@kashif kashif deleted the dpo-enhancement branch January 30, 2024 09:14
@esceptico
Copy link
Contributor

Hey there! Thanks for the PR.
Should we also add num_proc arg to the eval_dataset processing?

@kashif
Copy link
Collaborator

kashif commented Jan 31, 2024

yes @esceptico would you like to send a pr?

@esceptico
Copy link
Contributor

Sure!
I'll send a PR tomorrow.

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.

4 participants