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

enable parallelization #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

enable parallelization #44

wants to merge 1 commit into from

Conversation

jesse-ross
Copy link
Contributor

I was just trying to re-run this pipeline in the docker image, and since it has a lot to do I wanted to parallelize it a bit. Targets makes this easy to do (see here for details).

This PR enables targets to run multiple workers in parallel. For instance, in order to run the pipeline with four workers, you would run targets::tar_make_clustermq(workers = 4).

The pipeline will still run in exactly the same way as before if you run targets::tar_make().

@msleckman
Copy link
Collaborator

msleckman commented Nov 24, 2022

Thanks @jesse-ross. I think it is easiest if we table this PR until after Dec 1 Jan 1 and one of us can jump in to ultimately merge after review.

@cnell-usgs cnell-usgs self-requested a review November 28, 2022 00:41
@msleckman msleckman added enhancement New feature or request on hold cleaning pipeline enhancement task clean/streamline pipeline labels Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning pipeline enhancement task clean/streamline pipeline enhancement New feature or request on hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants