Skip to content

A programming framework for agentic AI

update time from start when using ray (#586)

Chi Wang5de3f54fd91d
diff --git a/flaml/automl.py b/flaml/automl.py
index 17931a1de..eecb59456 100644
--- a/flaml/automl.py
+++ b/flaml/automl.py
@@ -3185,6 +3185,7 @@ class AutoML(BaseEstimator):
# Add a checkpoint for the current best config to the log.
if self._training_log:
self._training_log.checkpoint()
+ self._state.time_from_start = time.time() - self._start_time_flag
if self._best_estimator:
self._selected = self._search_states[self._best_estimator]
self.modelcount = sum(