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

[BUG] Context parallelism not enabled in SFT #189

Open
slimfrkha opened this issue Dec 24, 2024 · 0 comments
Open

[BUG] Context parallelism not enabled in SFT #189

slimfrkha opened this issue Dec 24, 2024 · 0 comments

Comments

@slimfrkha
Copy link

Describe the bug
get_batch doesnt support cp broadcasting. Running with cp > 1 on current code yields wrong loss

To Reproduce
any same SFT experiment with cp=1 then cp=2

Expected behavior
cp=1 or cp=2 should yield very similar lm loss

Screenshots
Screenshot 2024-12-24 at 3 43 11 PM
Screenshot 2024-12-24 at 3 43 26 PM

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

No branches or pull requests

1 participant