Skip to content

Commit

Permalink
Merge pull request #17 from AielloChan/master
Browse files Browse the repository at this point in the history
fix(2to3): read gpuType from config
  • Loading branch information
rsonghuster authored Oct 15, 2024
2 parents deff8f8 + 893afbd commit 28df64a
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 28df64a

Please sign in to comment.