Skip to content

Commit d0fcb39

Browse files
committed
Merge branch 'fix-tabs' into fix-gradio
2 parents b465e63 + 2ab4f3a commit d0fcb39

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/agentlab/experiments/graph_execution_ray.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
# # Disable Ray log deduplication
44
# os.environ["RAY_DEDUP_LOGS"] = "0"
5+
import logging
56
import time
6-
import ray
7+
78
import bgym
8-
from agentlab.experiments.exp_utils import run_exp, _episode_timeout
9+
import ray
910
from ray.util import state
10-
import logging
11+
12+
from agentlab.experiments.exp_utils import _episode_timeout, run_exp
1113

1214
logger = logging.getLogger(__name__)
1315

@@ -36,6 +38,7 @@ def get_task(exp_arg: bgym.ExpArgs):
3638
get_task(exp_arg)
3739

3840
max_timeout = max([_episode_timeout(exp_args, avg_step_timeout) for exp_args in exp_args_list])
41+
3942
return poll_for_timeout(task_map, max_timeout, poll_interval=max_timeout * 0.1)
4043

4144

0 commit comments

Comments
 (0)