arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.14777cs.AR
收藏

异构神经形态SoC上机器学习操作的实时的调度

Real-Time Scheduling of Machine Learning Operations on Heterogeneous Neuromorphic SoC

Anup Das

摘要:

神经形态片上系统(Neuromorphic Systems-on-Chip,NSoC)通过在同一片上集成通用处理器(General-purpose Processor,GPP)和神经处理单元(Neural Processing Unit,NPU)而变得异构。对于嵌入式系统,NSoC可能需要执行使用各种机器学习模型构建的用户应用。我们提出了一个实时的【形】调度器,称为PRISM,它可以调度机器学习模型上的异构NSoC单独或并发,以提高其系统性能。PRISM由以下四个关键步骤组成。首先,它从映射和自定时调度构造机器学习模型的处理器间通信(IPC)图。其次,它为通信参与者创建一个事务顺序,并将此顺序嵌入到IPC图中。第三,它通过与计算重叠的通信来在NSoC上调度图。最后,它使用爬山启发式探索的设计空间的映射操作的GPP和NPU,以提高性能。与现有的仅使用NSoC的NPU的嵌入式系统不同,PRISM通过利用平台的异构性来实现批处理、流水线和操作并行性,从而提高了性能。对于并发应用程序的用例,PRISM使用启发式资源共享策略和非抢占式调度来减少并发操作在竞争资源上调度之前的预期等待时间。我们对20个机器学习工作负载进行了广泛的评估,结果表明,与最先进的嵌入式系统相比,PRISM显著提高了单个应用程序和用例的性能功耗比。

英文摘要:

Neuromorphic Systems-on-Chip (NSoCs) are becoming heterogeneous by integrating general-purpose processors (GPPs) and neural processing units (NPUs) on the same SoC. For embedded systems, an NSoC may need to execute user applications built using a variety of machine learning models. We propose a real-time scheduler, called PRISM, which can schedule machine learning models on a heterogeneous NSoC either individually or concurrently to improve their system performance. PRISM consists of the following four key steps. First, it constructs an interprocessor communication (IPC) graph of a machine learning model from a mapping and a self-timed schedule. Second, it creates a transaction order for the communication actors and embeds this order into the IPC graph. Third, it schedules the graph on an NSoC by overlapping communication with the computation. Finally, it uses a Hill Climbing heuristic to explore the design space of mapping operations on GPPs and NPUs to improve the performance. Unlike existing schedulers which use only the NPUs of an NSoC, PRISM improves performance by enabling batch, pipeline, and operation parallelism via exploiting a platform's heterogeneity. For use-cases with concurrent applications, PRISM uses a heuristic resource sharing strategy and a non-preemptive scheduling to reduce the expected wait time before concurrent operations can be scheduled on contending resources. Our extensive evaluations with 20 machine learning workloads show that PRISM significantly improves the performance per watt for both individual applications and use-cases when compared to state-of-the-art schedulers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑