Skip to content

Include batching of multiple prediction jobs in a single SLURM job #48

Description

@epkumpu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions