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

config file versioning to allow updating defaults without breaking backwards compat #607

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

bghira
Copy link
Owner

@bghira bghira commented Jul 29, 2024

No description provided.

Comment on lines -1023 to -1026
def split_cache_between_processes(self, prompts: list):
# Use the accelerator to split the data
with self.accelerator.split_between_processes(prompts) as split_files:
self.prompts = split_files
Copy link
Owner Author

Choose a reason for hiding this comment

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

dead code

@@ -416,23 +415,6 @@ def _reduce_bucket(
# )
return relevant_files

def split_cache_between_processes(self):
self.local_unprocessed_files = self.discover_unprocessed_files(self.cache_dir)
Copy link
Owner Author

Choose a reason for hiding this comment

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

now being assigned in discover_new_files

@bghira bghira merged commit 0653855 into main Jul 29, 2024
1 check passed
@bghira bghira deleted the feature/config-file-versioning branch August 20, 2024 23:11
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.

1 participant