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

map with any joblib backend #5991

Open
lhoestq opened this issue Jun 26, 2023 · 0 comments
Open

map with any joblib backend #5991

lhoestq opened this issue Jun 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lhoestq
Copy link
Member

lhoestq commented Jun 26, 2023

We recently enabled the (experimental) parallel backend switch for data download and extraction but not for map yet.

Right now we're using our iflatmap_unordered implementation for multiprocessing that uses a shared Queue to gather progress updates from the subprocesses and show a progress bar in the main process.

If a Queue implementation that would work on any joblib backend by leveraging the filesystem that is shared among workers, we can have iflatmap_unordered for joblib and therefore a map with any joblib backend with a progress bar !

Note that the Queue doesn't need to be that optimized though since we can choose a small frequency for progress updates (like 1 update per second).

@lhoestq lhoestq added the enhancement New feature or request label Jun 26, 2023
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

No branches or pull requests

1 participant