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

FSDP Example ReadTimeoutError #445

Open
nghtm opened this issue Oct 2, 2024 · 1 comment
Open

FSDP Example ReadTimeoutError #445

nghtm opened this issue Oct 2, 2024 · 1 comment

Comments

@nghtm
Copy link
Collaborator

nghtm commented Oct 2, 2024

 7: [rank80]: urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='huggingface.co', port=443): Read timed out. (read timeout=10)

Running FSDP example, 16 p5 nodes. The example worked with 8 nodes

@nghtm
Copy link
Collaborator Author

nghtm commented Oct 2, 2024

Suspected issue with train_util.py.

Suggested adding to line 19:

datasets.config.DOWNLOADER_TIMEOUT = 1800

and to line 478 (within streaming dataloader function)

tokenizer = AutoTokenizer.from_pretrained(tokenizer, timeout=1800)

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