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

张量编译器的并行稀疏输出

Parallel Sparse Outputs for Tensor Compilers

Georgia Institute of Technology(佐治亚理工学院)

Adrian Gushin, Pau Sum, Willow Ahrens

AI总结:

本文提出首个支持任意标准稀疏格式并行处理的张量编译器Birdseed,其在内存和时间复杂度上优于现有方法,且在直方图构建、SpMSpV等任务上实现了经验加速。

摘要:

稀疏张量编译器是常用的高性能工具,用于优化针对复杂稀疏数据结构的张量代数程序。尽管稀疏数据集的规模不断增长,但关于并行稀疏张量编译器的研究却少得惊人。现有方法无法并行化,或对访问模式、输出格式做出限制通用性的假设。本文提出Birdseed,它是首个支持对任意标准稀疏格式的所有循环序进行并行处理的张量编译器。更具体地说,Birdseed支持并行稀疏散射,并直接写入fibertree稀疏格式的列表、字节映射、哈希和密集层级。与所有先前工作相比,该方法在内存和时间复杂度上均有改进,还在直方图构建、SpMSpV等难以并行化的核心任务上展示了经验加速比。

英文摘要:

Sparse tensor compilers are commonly used high-performance tools that optimize tensor algebra programs over notoriously complex sparse data structures. Despite the ever-increasing size and scale of sparse datasets, there exists astonishingly little research on developing a parallel sparse tensor compiler. Existing approaches fail to parallelize or make assumptions about access patterns or output formats that limit generality. This paper presents Birdseed, the first tensor compiler to support all loop orderings over any standard sparse format in parallel. More specifically, Birdseed supports parallel sparse scatters and directly writes into list, bytemap, hash, and dense levels of fibertree sparse formats. Our approach exhibits asymptotic memory and time improvements over all previous work. We additionally demonstrate empirical speedups on challenging kernels to parallelize, such as histogram construction and SpMSpV.

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

↑