Closed mstniy closed 1 year ago
I tried this with a few different optimizers for comparison (same python and nevergrad versions):
InjectionWarning: orphanated injected solution {'iteration': 1, 'index': 0, 'counter': 0}
This could be a bug in the calling order/logics or due to
a too small popsize used in `ask()` or when only using
`ask(1)` repeatedly. Please check carefully.
In case this is desired, the warning can be surpressed with
``warnings.simplefilter("ignore", cma.evolution_strategy.InjectionWarning)``
(Usually 'index'=0 and 'counter'=0 to 2)
Additionally, I found that with three or fewer workers NGOptRW could run the analysis as expected, but with four workers it would suddenly freeze part way though.
EDIT: FYI, I found more bugs related to CMandAS3, which has become its own issue (https://github.com/facebookresearch/nevergrad/issues/1508).
I've reproduced this issue with Nevergrad 0.6.0. Investigating now and testing with more recent Nevergrad.
Thank you very much. The issue is understood and fixed in https://github.com/facebookresearch/nevergrad/pull/1555 Will be merged asap and in release 0.13.0.
Should be solved in the current main and in 0.13.0 which is on its way to release on Pypi.
Steps to reproduce
The setup is rather brittle. Using >~9 workers, NGOptRW and 4 keyword arguments breaks nevergrad completely.
Python version: 3.10.6 Nevergrad version: 0.6.0
Observed Results
The optimizer freezes.
Expected Results
For the optimizer to find a solution.
Relevant Code