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

Add additional asserts and update post training readme #1300

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

AI-WAIFU
Copy link
Contributor

@AI-WAIFU AI-WAIFU commented Oct 7, 2024

-Add an assert to block dpo/kto/rm training when running pipeline parallel, as get_batch_pipe does not have the relevant logic yet
-Add assert when kto + train_micro_batch_size_per_gpu == 1 since kto needs a reference
-remove python post-training/llama_dpo_data.py as this file does not exist and is not nessesary to get the code running

@Quentin-Anthony Quentin-Anthony merged commit c8f7b56 into main Oct 8, 2024
1 of 4 checks passed
@Quentin-Anthony Quentin-Anthony deleted the add-kto-limitation branch October 8, 2024 19:26
jahatef pushed a commit that referenced this pull request Oct 31, 2024
* add asserts and fix post training readme

* precommit

---------

Co-authored-by: Quentin Anthony <[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