    def push(self, idx: Union[int, str], cmd: str, target: Target) -> None:
        """Push a building task into runner

        Parameters
        ----------
        idx : Union[int, str]
            Task id
        cmd : str
            bash command for compiling
        target : Target
            Target device type for building
        """
        self._queue.append(Task(idx, cmd, target, shell=True))
Push a building task into runner

Parameters
----------
idx : Union[int, str]
Task id
cmd : str
bash command for compiling
target : Target
Target device type for building
python/aitemplate/backend/builder.py