Skip to content

Commit

Permalink
[RLlib] Fix bug in BC config (automatically setting new API stack rel…
Browse files Browse the repository at this point in the history
…ated settings). (#46799)
  • Loading branch information
sven1977 authored Jul 26, 2024
1 parent 5fb59dd commit fc65981
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rllib/algorithms/bc/bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fc65981

Please sign in to comment.