Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joblib leads to initial assumptions with non-zero native_generation #900

Closed
Tracked by #901
MorrisNein opened this issue Sep 21, 2022 · 0 comments · Fixed by #926
Closed
Tracked by #901

joblib leads to initial assumptions with non-zero native_generation #900

MorrisNein opened this issue Sep 21, 2022 · 0 comments · Fixed by #926

Comments

@MorrisNein
Copy link
Collaborator

Currently, we set the native_generation of individuals after their evaluation. If the generation is already set, the individual is skipped.

Running evaluations with n_jobs=2 sometimes leads to the situation when there are no individuals in history with native_generation=0. This can be the result of processing the generation 1 before the generation 0. Currently, the solution of this issue is not clear.

The example of reproducing this bug.

Currently, this test was moved to test/integration/multiprocessing/test_history.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant