Skip to content

Commit

Permalink
Merge branch 'main' into jingdong00-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
skzhang1 authored Dec 19, 2022
2 parents 3a194d0 + b2d51b6 commit 91ec8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flaml/automl/automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2566,6 +2566,7 @@ def cv_score_agg_func(val_loss_folds, log_metrics_folds):
self._use_ray = use_ray or n_concurrent_trials > 1
# use the following condition if we have an estimation of average_trial_time and average_trial_overhead
# self._use_ray = use_ray or n_concurrent_trials > ( average_trail_time + average_trial_overhead) / (average_trial_time)

if self._use_ray is not False:
import ray

Expand Down Expand Up @@ -2816,6 +2817,7 @@ def is_to_reverse_metric(metric, task):
logger.warning(
"No search budget is provided via time_budget or max_iter."
" Training only one model per estimator."
" Zero-shot AutoML is used for certain tasks and estimators."
" To tune hyperparameters for each estimator,"
" please provide budget either via time_budget or max_iter."
)
Expand Down

0 comments on commit 91ec8e9

Please sign in to comment.