Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iterative/cml into runner…
Browse files Browse the repository at this point in the history
…-no-special-cases
  • Loading branch information
DavidGOrtega committed Jun 9, 2022
2 parents b811adf + f341321 commit cc6576d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/cml/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,9 @@ exports.builder = (yargs) =>
},
cloudGpu: {
type: 'string',
choices: ['nogpu', 'k80', 'v100', 'tesla'],
coerce: (val) => (val === 'nogpu' ? undefined : val),
description: 'GPU type.'
description:
'GPU type. Choices: k80, v100, or native types e.g. nvidia-tesla-t4',
coerce: (val) => (val === 'nogpu' ? undefined : val)
},
cloudHddSize: {
type: 'number',
Expand Down
5 changes: 3 additions & 2 deletions bin/cml/runner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ describe('CML e2e', () => {
cml-runner instance on the provider
i.e. tags/labels \\"key=value\\"
[array] [default: []]
--cloud-gpu GPU type.
[string] [choices: \\"nogpu\\", \\"k80\\", \\"v100\\", \\"tesla\\"]
--cloud-gpu GPU type. Choices: k80, v100, or
native types e.g. nvidia-tesla-t4
[string]
--cloud-hdd-size HDD size in GB [number]
--cloud-ssh-private Custom private RSA SSH key. If not
provided an automatically generated
Expand Down

1 comment on commit cc6576d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.