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

need larger dataset - receive fetch error after 40 iterations with alpaca... #52

Closed
lessw2020 opened this issue Feb 12, 2024 · 1 comment
Assignees

Comments

@lessw2020
Copy link
Contributor

The alpaca dataset is limited in size - while training the 7B to verify depthwise init was functional, received:

[rank0]: Traceback (most recent call last):
[rank0]: File "/data/users/less/local/torchtrain/train.py", line 288, in
[rank0]: main(args)
[rank0]: File "/data/users/less/local/torchtrain/train.py", line 153, in main
[rank0]: batch = next(iter(data_loader))
[rank0]: File "/home/less/local/miniconda3/envs/triton/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 631, in next
[rank0]: data = self._next_data()
[rank0]: File "/home/less/local/miniconda3/envs/triton/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 675, in _next_data
[rank0]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
[rank0]: File "/home/less/local/miniconda3/envs/triton/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 39, in fetch
[rank0]: raise StopIteration

@tianyu-l tianyu-l self-assigned this Feb 14, 2024
@lessw2020
Copy link
Contributor Author

added miniPile which resolves this (1M entries).
#88

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

2 participants