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

Fix timeout-related issues in tuners #281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

VadimsAhmers
Copy link
Collaborator

Fix for #280

@VadimsAhmers
Copy link
Collaborator Author

VadimsAhmers commented Feb 21, 2025

Я еще посмотрю, возможно похожие проблемы имеется и в других тюнерах (как минимум в IOptTuner небольшой timeout вызывает ошибку)

@nicl-nno nicl-nno requested a review from Lopa10ko February 21, 2025 14:59
@@ -46,6 +46,7 @@ def _tune(self, graph: DomainGraphForTune, **kwargs) -> DomainGraphForTune:
Args:
graph: graph which hyperparameters will be tuned
"""
final_graph = deepcopy(self.init_graph)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: есть ли смысл использовать проперти init_graph?
можно посмотреть на tune в BaseTuner и убедиться, что во вложенный метод _tune прокидывается граф, поэтому здесь будет достаточно в final_graph положить указатель на graph.

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 this pull request may close these issues.

2 participants