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

cleanup the old multipack dataloader #841

Merged
merged 1 commit into from
Nov 12, 2023
Merged

Conversation

winglian
Copy link
Collaborator

No description provided.

@@ -445,14 +446,13 @@ def load_prepare_datasets(
train_fingerprint = md5(to_hash_train)
test_fingerprint = md5(to_hash_test)

with zero_first(is_main_process()):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we had this with context previously? Is it for caching?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, because the function it is in is only ever called in a zero_first context, this is a bit redundant.

@winglian winglian merged commit 1a6309c into main Nov 12, 2023
4 checks passed
@winglian winglian deleted the cleanup-mp-dataloader branch November 12, 2023 10:39
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
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.

None yet

2 participants