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

Parallel Chunkwise Writing #20

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Saiyam26
Copy link
Collaborator

@Saiyam26 Saiyam26 commented Nov 7, 2024

Chunkwise writing of anndata can be done in parallel now utilising multiple workers. Gets a roughly 40% increment in disk writing speeds without increasing memory constraint.

Change:
scalr/utils/file_utils/write_chunkwise_data: created a sub-function to transform and write a chunk, this sub function is then called by multiple workers

Note: EventLogger in preprocessing stage is no longer available due to not being parallelizable.

@Saiyam26 Saiyam26 changed the title Paralle Chunkwise Writing Parallel Chunkwise Writing Nov 14, 2024
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