Replies: 1 comment
-
If you have only 2 sets of resources, you could split those targets into 2 different |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
Hi!
Context:
I like to run most of the targets in my pipeline in two different "versions" using tar_map static branching:
Furthermore, I use the SLURM scheduler and set appropriate resource requirements for each target.
Problem:
However, the resource requirements for these targets are of course highly dependent on the input data size, i.e. which version, or in which static branch type, the target is in (case 1 vs 2). Therefore, it would be nice to change these resources dependent on the current active branch, to avoid requesting unnecesarrily large resources for these debugging targets. I tried to supply the tar_map value as an argument to the resources field of the targets, but it does not seem that this information is accessible here.
So in short, does anyone know of a way to acess the current values in a tar_map tibble from within the resources-field in the targets within the static branching?
Beta Was this translation helpful? Give feedback.
All reactions