When I set a model with the following config:
model: { _disable_preprocessor_api: false,
use_attention: true,
attention_num_heads: 8,
attention_memory_inference: 0,
attention_memory_training: 0,}
I get the following error:
Traceback (most recent call last):
run_training(env_id, config, root_dir, checkpoint_dir, checkpoint_path=checkpoint_path, restore=restore)
APPOConfig()
lib/python3.10/site-packages/ray/rllib/algorithms/algorithm_config.py", line 1137, in build
return algo_class(
lib/python3.10/site-packages/ray/rllib/algorithms/appo/appo.py", line 277, in __init__
super().__init__(config, *args, **kwargs)
lib/python3.10/site-packages/ray/rllib/algorithms/algorithm.py", line 516, in __init__
super().__init__(
lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 161, in __init__
self.setup(copy.deepcopy(self.config))
lib/python3.10/site-packages/ray/rllib/algorithms/impala/impala.py", line 622, in setup
super().setup(config)
lib/python3.10/site-packages/ray/rllib/algorithms/algorithm.py", line 638, in setup
self.workers = WorkerSet(
lib/python3.10/site-packages/ray/rllib/evaluation/worker_set.py", line 181, in __init__
raise e.args[0].args[2]
AttributeError: 'ViewRequirement' object has no attribute 'shift_arr'```