Skip to content

A programming framework for agentic AI

update

Anonymous-submission-repo2f8f8ba9d851
diff --git a/flaml/tune/searcher/blendsearch.py b/flaml/tune/searcher/blendsearch.py
index 995bd81fa..e33152f06 100644
--- a/flaml/tune/searcher/blendsearch.py
+++ b/flaml/tune/searcher/blendsearch.py
@@ -195,8 +195,8 @@ class BlendSearch(Searcher):
max_resource,
reduction_factor,
self.cost_attr,
- self.lexico_objectives,
seed,
+ self.lexico_objectives,
)
if global_search_alg is not None:
self._gs = global_search_alg
@@ -1068,8 +1068,8 @@ class BlendSearchTuner(BlendSearch, NNITuner):
self._ls.max_resource,
self._ls.resource_multiple_factor,
cost_attr=self.cost_attr,
- lexico_objectives=self.lexico_objectives,
seed=self._ls.seed,
+ lexico_objectives=self.lexico_objectives,
)
if self._gs is not None:
self._gs = GlobalSearch(
diff --git a/flaml/tune/searcher/flow2.py b/flaml/tune/searcher/flow2.py
index f07302940..4ceef135d 100644
--- a/flaml/tune/searcher/flow2.py
+++ b/flaml/tune/searcher/flow2.py
@@ -298,8 +298,8 @@ class FLOW2(Searcher):
self.max_resource,
self.resource_multiple_factor,
self.cost_attr,
- self.lexico_objectives,
self.seed + 1,
+ self.lexico_objectives,
)
if self.lexico_objectives is not None:
flow2.best_obj = {}
diff --git a/website/docs/Use-Cases/Tune-User-Defined-Function.md b/website/docs/Use-Cases/Tune-User-Defined-Function.md
index b6491dcd5..aa043be78 100644
--- a/website/docs/Use-Cases/Tune-User-Defined-Function.md
+++ b/website/docs/Use-Cases/Tune-User-Defined-Function.md
@@ -533,7 +533,7 @@ lexico_objectives["tolerances"] = {"val_loss": 0.02, "pred_time": 0.0}
lexico_objectives["targets"] = {"val_loss": -float('inf'), "pred_time": -float('inf')}
# provide the lexico_objectives to tune.run
-tune.run(..., search_alg=None, lexico_objectives=lexico_objectives, ...)
+tune.run(..., search_alg=None, lexico_objectives=lexico_objectives)
```
NOTE: