mirror of
https://github.com/vale981/ray
synced 2025-03-08 19:41:38 -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.")
|
help="Sets number of workers for training.")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--num-gpus-per-worker",
|
"--num-gpus-per-worker",
|
||||||
action="store_true",
|
type=int,
|
||||||
default=False,
|
default=0,
|
||||||
help="enables CUDA training")
|
help="Sets number of gpus each worker uses.")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--cluster",
|
"--cluster",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
|
Loading…
Add table
Reference in a new issue