Skip to content

Commit 366afbc

Browse files
committed
Change parallel backend from "joblib" to "ray" in run_experiments function
1 parent 4f937f2 commit 366afbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agentlab/experiments/launch_exp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def run_experiments(
1111
n_jobs,
1212
exp_args_list: list[ExpArgs],
1313
study_dir,
14-
parallel_backend="joblib",
14+
parallel_backend="ray",
1515
avg_step_timeout=60,
1616
):
1717
"""Run a list of ExpArgs in parallel.
@@ -78,7 +78,7 @@ def run_experiments(
7878
elif parallel_backend == "ray":
7979
from agentlab.experiments.graph_execution_ray import execute_task_graph, ray
8080

81-
context = ray.init(num_cpus=n_jobs, dashboard_host="127.0.0.1", dashboard_port=8265)
81+
ray.init(num_cpus=n_jobs)
8282
try:
8383
execute_task_graph(exp_args_list, avg_step_timeout=avg_step_timeout)
8484
finally:

0 commit comments

Comments
 (0)