phenotypic.sdk_.slurm.with_default_gpu_request#

phenotypic.sdk_.slurm.with_default_gpu_request(slurm_args: dict[str, Any]) → dict[str, Any][source]#

slurm_args as a non-staged SLURM run submits them for a GPU pipeline.

AutonomousSLURMStrategy adds slurm_gpus_per_node=1 unless the profile already names it. The run preflight tests the same profile, so the two share this definition (Phase E review E2).

Parameters:

slurm_args (dict[str, Any]) – The --slurm profile.

Returns:

A new dict carrying the GPU request.

Return type:

dict[str, Any]