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

Retm #1647

Merged
merged 10 commits into from
Nov 19, 2024
Merged

Retm #1647

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
timelimit
teytaud committed Sep 12, 2024
commit e9a9aabf147d6f44c1fcc803500d349d294e4805
2 changes: 2 additions & 0 deletions nevergrad/benchmark/xpbase.py
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
import nevergrad.common.typing as ngtp
import typing as tp
import numpy as np
from nevergrad.optimization import callbacks
from nevergrad.parametrization import parameter as p
from nevergrad.common import decorators
from nevergrad.common import errors
@@ -289,6 +290,7 @@ def _run_with_error(self, callbacks: tp.Optional[tp.Dict[str, obase._OptimCallBa
try:
# call the actual Optimizer.minimize method because overloaded versions could alter the worklflow
# and provide unfair comparisons (especially for parallelized settings)
optimizer.register_callback("ask", callbacks.EarlyStopping.timer(3600*(48+24)))
obase.Optimizer.minimize(
self._optimizer,
pfunc,