Skip to content

[tune] Option --no-cuda is misleading in mnist_pytorch.py example #3873

@vfdev-5

Description

@vfdev-5

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
  • Ray installed from (source or binary): binary
  • Ray version: 0.6.2
  • Python version: 3.5
  • Exact command to reproduce:
python3 mnist_pytorch.py

Describe the problem

Argument parser's option --no-cuda which is False by default is misleading as resources_per_trial does not allocate a GPU.

parser.add_argument(
'--no-cuda',
action='store_true',
default=False,
help='disables CUDA training')

"resources_per_trial": {
"cpu": 3
},

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions