mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[tune] Fix ddp_mnist_torch example argument type (#16017)
* fix ddp_mnist_torch example argument type * add period
This commit is contained in:
parent
0fecfe10b8
commit
225b3fda91
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ if __name__ == "__main__":
|
|||
help="Sets number of workers for training.")
|
||||
parser.add_argument(
|
||||
"--num-gpus-per-worker",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="enables CUDA training")
|
||||
type=int,
|
||||
default=0,
|
||||
help="Sets number of gpus each worker uses.")
|
||||
parser.add_argument(
|
||||
"--cluster",
|
||||
action="store_true",
|
||||
|
|
Loading…
Add table
Reference in a new issue