-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
SMAC time budget walltime vs CPU time #1159
Comments
Hi Thijs, |
Thanks for the quick reply! Looks like I should use Ask and tell mode. Does the as/tell mechanic also optimize the model, or is that only done when using the Facade in .optimize mode? |
At the end of |
Then as a last question: TrialValue does not distinguish CPU time from Wallclock in order to update SMAC's budgets. Would it be possible to add this into the package? With some assistance, I could perhaps create a PR for that. |
Yes, currently CPU time (or any time passed to |
Sure! I will send you a slack message with my email adress so we can set up a meeting to discuss |
Hi,
I am currently implementing SMAC3 2.2.0 into my software, and want to use both Walltime and CPU time budgets (Not at the same time persay). However, when investigating the package, I noted that cputime_limit is rarely used and could only find and update in smac/main/smbo.py as the following:
@property def remaining_cputime(self) -> float: """Subtracts the target function running budget with the used time.""" return self._scenario.cputime_limit - self._used_target_function_walltime
However, the
self._used_target_function_walltime
is used there and there seems to be noself.used_target_function_cputime
.As we currently do our CPU time measurements ourselves, it would be no problem to have these be delivered by the target_function, but currently only the cost can be returned by that.
Would it be possible to have the target function also declare how much CPU time / Wall clock time it used?
Thanks!
Best,
Thijs
The text was updated successfully, but these errors were encountered: