Skip to content

Commit

Permalink
fix(2to3): read gpuType from config
Browse files Browse the repository at this point in the history
  • Loading branch information
奥尘 committed Sep 22, 2024
1 parent 11aca60 commit 40cbad8
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 40cbad8

Please sign in to comment.