mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 15:44:53 +08:00
[rllib] Agent: Allow unknown subkeys for custom_resources_per_worker (#3639)
* RLLib Agent: Allow unknown subkeys for custom_resources_per_worker * Update agent.py
This commit is contained in:
@@ -201,7 +201,8 @@ class Agent(Trainable):
|
||||
|
||||
_allow_unknown_configs = False
|
||||
_allow_unknown_subkeys = [
|
||||
"tf_session_args", "env_config", "model", "optimizer", "multiagent"
|
||||
"tf_session_args", "env_config", "model", "optimizer", "multiagent",
|
||||
"custom_resources_per_worker"
|
||||
]
|
||||
|
||||
def __init__(self, config=None, env=None, logger_creator=None):
|
||||
|
||||
Reference in New Issue
Block a user