diff --git a/src/webportal/src/app/job-submission/models/job-task-role.js b/src/webportal/src/app/job-submission/models/job-task-role.js index b2305e3baa..0c12cccc89 100644 --- a/src/webportal/src/app/job-submission/models/job-task-role.js +++ b/src/webportal/src/app/job-submission/models/job-task-role.js @@ -110,7 +110,7 @@ export class JobTaskRole { hivedSku.skuNum = get( extras, `hivedScheduler.taskRoles.${name}.skuNum`, - 1, + Math.max(get(resourcePerInstance, 'gpu', 1), 1), ); hivedSku.skuType = get( extras,