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