Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Sep 26, 2023
1 parent e40686d commit fd7f334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_pcluster_slurm_spawner/aws_pcluster_slurm_spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,15 @@ def profiles_list(self) -> List[Any]:
profiles[1]["profile_options"]["instance_types"]["choices"][
sinfo_name
] = dict(
display_name=f"{instance_type:10s} | {cpu:5s} CPU, {mem:6s} GB",
display_name=f"{instance_type:15s} | {cpu:5s} CPU, {mem:6s} GB",
pclusterslurmspawner_override=group_record,
)
else:
gpu_found = True
profiles[0]["profile_options"]["instance_types"]["choices"][
sinfo_name
] = dict(
display_name=f"{instance_type:10s} | {cpu:5s} CPU | {mem:6s} GB",
display_name=f"{instance_type:15s} | {cpu:5s} CPU | {mem:6s} GB",
pclusterslurmspawner_override=group_record,
)
if not gpu_found:
Expand Down

0 comments on commit fd7f334

Please sign in to comment.