Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Use GPU number as SKU number when import config (#4883)
Browse files Browse the repository at this point in the history
Use GPU number as SKU number when import config.
  • Loading branch information
abuccts authored Sep 9, 2020
1 parent 03c4c44 commit 069cab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 069cab5

Please sign in to comment.