mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[AIR] Fix trainer allowed scaling config keys (#25350)
Adds `resources_per_worker` to allowed scaling config keys in `DataParallelTrainer` and `GBDTTrainer`.
This commit is contained in:
parent
16bdfe6a39
commit
f8551942bf
2 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,7 @@ class DataParallelTrainer(Trainer):
|
|||
"num_workers",
|
||||
"num_cpus_per_worker",
|
||||
"num_gpus_per_worker",
|
||||
"resources_per_worker",
|
||||
"additional_resources_per_worker",
|
||||
"use_gpu",
|
||||
]
|
||||
|
|
|
@ -69,6 +69,7 @@ class GBDTTrainer(Trainer):
|
|||
"num_workers",
|
||||
"num_cpus_per_worker",
|
||||
"num_gpus_per_worker",
|
||||
"resources_per_worker",
|
||||
"additional_resources_per_worker",
|
||||
"use_gpu",
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue