Closed d3sm0 closed 1 year ago
Which version of orion are you using ?
~pip show orion
Name: orion
Version: 0.2.6
Summary: Asynchronous [black-box] Optimization
Home-page: https://github.com/epistimio/orion
Author: Epistímio
Author-email: xavier.bouthillier@umontreal.ca
License: BSD-3-Clause
Location: /home/d3sm0/.venvs/torch_env/lib/python3.10/site-packages
Requires: AppDirs, cloudpickle, falcon, falcon-cors, filelock, gitpython, gunicorn, joblib, kaleido, numpy, pandas, plotly, psutil, pymongo, pytest, PyYAML, requests, scikit-learn, scikit-optimize, scipy, tabulate
Required-by: hydra-orion-sweeper
PB2 works on the CI, I am not sure where your issue is coming from, but it is not from the plugin
How to replicate: replace
gridsearch
withpb2
in the repo example.Error:
https://github.com/Epistimio/orion/blob/06e6be9fc9021a15c9dd45e4a4361a85dcfc0016/src/orion/algo/pbt/pb2.py#L292
The parsed space from hydra returns
optimizer.lr
buttrial.params
is a dict{optimizer:{lr:value}}
hence the key error.