-
Notifications
You must be signed in to change notification settings - Fork 8
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
Parallel population processing #199
Conversation
И какое поведение будет у новой реализации, если n_jobs=1? Будет вызываться Parallel с n_jobs=1? Вроде был отдельный Dispatcher под это |
Проблемой |
Насчет Но GOLEM позиционируется, как универсальное решение, поэтому инфраструктура должна быть реализована по своего рода "строительным блокам". В таком случае, Also, здесь Гриша писал про мотивацию делать ReproductionController |
Я не против вернуть
Новый код удовлетворяет задаче, решаемой здесь, и в то же время смягчает недостатки подхода, предложенного там же. Единственное, что отладка не такая удобная, но у меня есть пара предложений как это можно решить, не теряя в производительности. Ну и оценить корректность реализации я могу лишь с натяжкой. Небольшое резюме (субъективное):
Если не возвращать
Свлю точку зрения я пояснил (надеюсь))), однако я не погружен в GOLEM, не знаю как будет оптимальней с точки зрения развития библиотеки. Сделаю как ты посчитаешь правильным) |
Hello @kasyanovse! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-11-16 14:27:58 UTC |
Hello @kasyanovse! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2023-11-24 14:59:31 UTC |
я только за мультипроцессинг здесь, но надо понимать, насколько большой выигрыш мы заимеем, если откажемся от ООП в виде |
Само по себе двойное распараллеливание не даст сильной просадки по времени в обычном случае (недавно прочитал). Насчет возврата
|
859b156
to
1d13dbb
Compare
|
||
def try_mutation(ind: Individual, | ||
mutation_type: Optional[MutationType] = None, | ||
tries: int = self.parameters.max_num_of_mutation_attempts): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
напиши пж сразу что здесь возвращается, чтобы бы пр смотреть попроще
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Готово.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #199 +/- ##
==========================================
- Coverage 71.96% 70.13% -1.84%
==========================================
Files 136 137 +1
Lines 8130 8365 +235
==========================================
+ Hits 5851 5867 +16
- Misses 2279 2498 +219 ☔ View full report in Codecov by Sentry. |
FYI: aimclub/GEFEST#70 |
Move to #247 |
No description provided.