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
Browse files Browse the repository at this point in the history
Use GPU number as SKU number when import config.
  • Loading branch information
abuccts committed Sep 8, 2020
1 parent a0ee647 commit 44c7bcc
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 44c7bcc

Please sign in to comment.