    def __init__(self, devs: List[int], tag: str, timeout: int = 10) -> None:
        """
        Parameters
        ----------
        devs : List[int]
            List of device ids for tasks.
        tag : str
            Runner's name tag
        timeout : int, optional
            Timeout value. Default is 10 (seconds).
        """
        self._tag = tag
        self._devs = DeviceFarm(devs)
        self._timeout = timeout
        self._finished_tasks = set()
        self._queue = []
Parameters
----------
devs : List[int]
List of device ids for tasks.
tag : str
Runner's name tag
timeout : int, optional
Timeout value. Default is 10 (seconds).
python/aitemplate/backend/task_runner.py