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

Why use distributed data sampler for redpajama.py #649

Closed
larrylawl opened this issue Oct 17, 2023 · 1 comment
Closed

Why use distributed data sampler for redpajama.py #649

larrylawl opened this issue Oct 17, 2023 · 1 comment

Comments

@larrylawl
Copy link
Contributor

larrylawl commented Oct 17, 2023

Hi, can I check why did you use distributed data sampler here...

https://github.com/Lightning-AI/lit-gpt/blob/8641822b3249bb94f068c254aa5d13decbc9f0a0/pretrain/redpajama.py#L106

... when we are already splitting the data manually here?

https://github.com/Lightning-AI/lit-gpt/blob/8641822b3249bb94f068c254aa5d13decbc9f0a0/lit_gpt/packed_dataset.py#L48

@larrylawl
Copy link
Contributor Author

Resolved by Peiyuan in the issue above.

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