Hi!
When running a large set of short predictions (only inference), a significant amount of time is used in SLURM queue on a cluster system. For example, I could be running many 15 min predictions, request 1h for each in SLURM, and wait in queue for each of them. OR I could request 2h of compute time and batch together 4-6 15 min predictions and waste no time in queue in between. Usually there's only a minor difference in queue time between 1h and 2h requests, so at least in our setup this would speed things up considerably.
Would it be possible to include this batching of multiple inference jobs into one SLURM job in snakemake? Maybe give this an explicit parameter to manually set batch size?
Cheers,
EP
Hi!
When running a large set of short predictions (only inference), a significant amount of time is used in SLURM queue on a cluster system. For example, I could be running many 15 min predictions, request 1h for each in SLURM, and wait in queue for each of them. OR I could request 2h of compute time and batch together 4-6 15 min predictions and waste no time in queue in between. Usually there's only a minor difference in queue time between 1h and 2h requests, so at least in our setup this would speed things up considerably.
Would it be possible to include this batching of multiple inference jobs into one SLURM job in snakemake? Maybe give this an explicit parameter to manually set batch size?
Cheers,
EP