Skip to content

Commit

Permalink
fix(2to3): read gpuType from config
Browse files Browse the repository at this point in the history
Signed-off-by: Aiello Chan <[email protected]>
  • Loading branch information
AielloChan committed Sep 24, 2024
1 parent 8a279af commit 893afbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subCommands/2to3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export default class SYaml2To3 {
if (_.get(v.props, 'gpuMemorySize')) {
v.props.gpuConfig = {
gpuMemorySize: _.get(v.props, 'gpuMemorySize'),
gpuType: 'fc.gpu.tesla.1',
gpuType: _.get(v.props, 'instanceType', 'fc.gpu.tesla.1'),
};
}

Expand Down

0 comments on commit 893afbd

Please sign in to comment.