code: def test_timeout_scheduler():
      search_space = dict(
          lr=space.Real(1e-5, 1e-3),
      )
  
      def train_fn(args, reporter):
          start_tick = time.time()
          time.sleep(0.01)
          reporter(reward=time.time() - start_tick, time_attr=0)
  
      scheduler = LocalSequentialScheduler(
          train_fn,
          search_space=search_space,
          num_trials=7,
          time_attr="time_attr",
          time_out=0.025,
      )
      scheduler.run()
      scheduler.join_jobs()
      assert len(scheduler.config_history) <= 2
  
imports: import pickle
  import time
  import numpy
  from autogluon.common import space
  from autogluon.core.scheduler import LocalSequentialScheduler
label_desc: Use image node_id 2 for calling a global function with example usage: test_timeout_scheduler() without return types