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

jgrss/create memory #43

Merged
merged 8 commits into from
Jan 23, 2023
Merged

jgrss/create memory #43

merged 8 commits into from
Jan 23, 2023

Conversation

jgrss
Copy link
Owner

@jgrss jgrss commented Jan 22, 2023

Add a chunksize argument so that users can define the size of the window slice feeding into each joblib pool.

@jgrss jgrss added the enhancement New feature or request label Jan 22, 2023
@jgrss jgrss self-assigned this Jan 22, 2023
backend='loky',
n_jobs=num_workers
):
for window_chunk in get_window_chunk(windows, chunksize):
Copy link
Owner Author

Choose a reason for hiding this comment

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

Window chunk slicing

Copy link
Owner Author

Choose a reason for hiding this comment

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

@chipindigo here is the line that gets a chunk of Window objects.

@jgrss jgrss marked this pull request as ready for review January 23, 2023 12:31
@jgrss jgrss requested a review from chipindigo January 23, 2023 17:21
@jgrss jgrss merged commit 1d6742e into main Jan 23, 2023
@jgrss jgrss deleted the jgrss/create_memory branch January 23, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants