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

Set TOKENIZERS_PARALLELISM to false in train.py #120

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

jamt9000
Copy link
Collaborator

@jamt9000 jamt9000 commented Jan 1, 2025

Avoids the warning about "The current process just got forked. Disabling parallelism to avoid deadlocks"

It isn't that clear why the warning happens, since we don't do tokenization in the dataloader workers.

Avoids the warning about "The current process just got forked. Disabling parallelism to avoid deadlocks"
@jamt9000 jamt9000 requested a review from laurahanu January 2, 2025 09:09
@jamt9000 jamt9000 merged commit c77352b into master Jan 3, 2025
5 checks passed
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