基于SRAM计算的空间高效序列比对:Graphcore IPU上的X-Drop算法
Space Efficient Sequence Alignment for SRAM-Based Computing: X-Drop on the Graphcore IPU
AI总结:
本文在Graphcore IPU上实现X-Drop序列比对算法,通过图划分与队列批处理解决负载均衡问题,并提出内存受限版本减少55倍内存占用,最终实现相对GPU 10倍、CPU 4.65倍的加速。
摘要:
专用加速器硬件已成为处理基于AI工作负载的必备条件,推动了新型加速器架构的兴起。此外,内存架构和并行性方面的根本差异使这些加速器成为科学计算的目标。序列比对问题是生物信息学中的基础问题;我们在Graphcore智能处理器单元(IPU)加速器上实现了$X$-Drop算法,这是一种用于双序列比对、能够缩减搜索空间的启发式方法。$X$-Drop算法具有不规则的计算模式,由于负载均衡问题而难以加速。在此,我们引入了一种基于图划分和基于队列的批处理系统来改善负载均衡。我们的实现相较于最先进的GPU实现实现了$10\ imes$的加速,与CPU相比最高可达$4.65\ imes$。此外,我们引入了一种内存受限的$X$-Drop算法,将内存占用减少了$55\ imes$,并高效利用了IPU有限低延迟SRAM。这一优化进一步将强扩展性能提升了$3.6\ imes$。
英文摘要:
Dedicated accelerator hardware has become essential for processing AI-based workloads, leading to the rise of novel accelerator architectures. Furthermore, fundamental differences in memory architecture and parallelism have made these accelerators targets for scientific computing. The sequence alignment problem is fundamental in bioinformatics; we have implemented the $X$-Drop algorithm, a heuristic method for pairwise alignment that reduces search space, on the Graphcore Intelligence Processor Unit (IPU) accelerator. The $X$-Drop algorithm has an irregular computational pattern, which makes it difficult to accelerate due to load balancing. Here, we introduce a graph-based partitioning and queue-based batch system to improve load balancing. Our implementation achieves $10\times$ speedup over a state-of-the-art GPU implementation and up to $4.65\times$ compared to CPU. In addition, we introduce a memory-restricted $X$-Drop algorithm that reduces memory footprint by $55\times$ and efficiently uses the IPU's limited low-latency SRAM. This optimization further improves the strong scaling performance by $3.6\times$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。