crash with hydra colorlog error
I installed first torchbeast as stated (on a RedHat linux with 1 high-end GPU), then pip install in the same conda environment the requirements from this repo, and finally run
HYDRA_FULL_ERROR=1 python polyhydra.py actor_device=cpu
it crashes with error:
[DEBUG:49231 cmd:817 2021-06-13 15:48:15,820] Popen(['git', 'version'], cwd=/gpfsdswork/projects/rech/knb/uyr14tk/home/xtofNLE/neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast, universal_newlines=False, shell=None, istream=None)
/gpfsdswork/projects/rech/knb/uyr14tk/home/xtofNLE/neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast/polyhydra.py:108: UserWarning:
config_path is not specified in @hydra.main().
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_hydra_main_config_path for more information.
@hydra.main(config_name="config")
[DEBUG:49231 utils:252 2021-06-13 15:48:16,605] Setting JobRuntime:name=UNKNOWN_NAME
[DEBUG:49231 utils:252 2021-06-13 15:48:16,606] Setting JobRuntime:name=polyhydra
/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py:389: UserWarning: In config: Invalid overriding of hydra/job_logging:
Default list overrides requires 'override' keyword.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/defaults_list_override for more information.
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/gpfsdswork/projects/rech/knb/uyr14tk/home/xtofNLE/neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast/polyhydra.py", line 149, in <module>
main()
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/main.py", line 49, in decorated_main
_run_hydra(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/utils.py", line 367, in _run_hydra
run_and_report(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/utils.py", line 214, in run_and_report
raise ex
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/utils.py", line 211, in run_and_report
return func()
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/utils.py", line 368, in <lambda>
lambda: hydra.run(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/hydra.py", line 87, in run
cfg = self.compose_config(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/hydra.py", line 564, in compose_config
cfg = self.config_loader.load_configuration(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/config_loader_impl.py", line 146, in load_configuration
return self._load_configuration_impl(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/config_loader_impl.py", line 239, in _load_configuration_impl
defaults_list = create_defaults_list(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 719, in create_defaults_list
defaults, tree = _create_defaults_list(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 689, in _create_defaults_list
defaults_tree = _create_defaults_tree(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 337, in _create_defaults_tree
ret = _create_defaults_tree_impl(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 420, in _create_defaults_tree_impl
return _expand_virtual_root(repo, root, overrides, skip_missing)
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 262, in _expand_virtual_root
subtree = _create_defaults_tree_impl(
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 476, in _create_defaults_tree_impl
_update_overrides(defaults_list, overrides, parent, interpolated_subtree)
File "/gpfswork/rech/knb/uyr14tk/home/.conda/envs/torchbeast/lib/python3.9/site-packages/hydra/_internal/defaults_list.py", line 367, in _update_overrides
raise ConfigCompositionException(
hydra.errors.ConfigCompositionException: In config: Override 'hydra/job_logging : colorlog' is defined before 'hydra/hydra_logging: colorlog'.
Overrides must be at the end of the defaults list