code: def _run(args, log):
      assert args.sync_interval >= 5, args
      log.info("%s started", TITLE)
      runs_dir = var.runs_dir()
      s3_uri = _s3_uri(args)
      log.info("Synchronizing %s with runs in %s", s3_uri, runs_dir)
      state = State(runs_dir, s3_uri, log)
      sync_once = lambda: _sync_once(state)
      util.loop(sync_once, time.sleep, args.sync_interval, 0)
  
file_path: guildai/guild/commands/s3_sync_impl.py
imports: import subprocess
  import re
  import time
  from guild import cli
  from guild import util
  from guild import var
  from .None import service_impl_support
label_desc: Use image node_id 3 for calling a global function with example usage: _run(args, log) without return types