From fc659813d000c4bb63ab2b500b597c0454f41646 Mon Sep 17 00:00:00 2001 From: Sven Mika Date: Fri, 26 Jul 2024 12:28:06 +0200 Subject: [PATCH] [RLlib] Fix bug in BC config (automatically setting new API stack related settings). (#46799) --- rllib/algorithms/bc/bc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rllib/algorithms/bc/bc.py b/rllib/algorithms/bc/bc.py index 890e3b8478fb..4f2f8b73ebfb 100644 --- a/rllib/algorithms/bc/bc.py +++ b/rllib/algorithms/bc/bc.py @@ -81,10 +81,6 @@ def __init__(self, algo_class=None): # Advantages (calculated during postprocessing) # not important for behavioral cloning. self.postprocess_inputs = False - # Set RLModule as default if the `EnvRUnner`'s are used. - if self.enable_env_runner_and_connector_v2: - self.api_stack(enable_rl_module_and_learner=True) - # __sphinx_doc_end__ # fmt: on