arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.24035cs.LGcs.CL
收藏

GraphNet:面向张量编译器研究的大规模计算图数据集

GraphNet: A Large-Scale Computational Graph Dataset for Tensor Compiler Research

Baidu Inc.(百度公司)

Xinqi Li, Yiqun Liu, Shan Jiang, Enrong Zheng, Huaijin Zheng, Wenhao Dai, Haodong Deng, Dianhai Yu, Yanjun Ma

AI总结:

本研究推出含2700个真实深度学习计算图的GraphNet数据集,提出兼顾加速比与正确性的S(t)指标及错误感知的ES(t)指标,通过测试两款主流框架的默认张量编译器验证了数据集实用性。

摘要:

我们推出GraphNet数据集,包含2700个带丰富元数据的真实深度学习计算图,覆盖多个深度学习框架下的六大主要任务类别。为评估张量编译器在这些样本上的性能,我们提出基准指标加速比分数S(t),该指标在可调容错等级下同时兼顾运行时加速比与执行正确性,为通用优化能力提供可靠衡量标准。此外,我们将S(t)扩展为错误感知加速比分数ES(t),该指标纳入错误信息,可帮助编译器开发者定位关键性能瓶颈。在本报告中,我们在计算机视觉(CV)和自然语言处理(NLP)样本上,对默认张量编译器——面向PaddlePaddle的CINN和面向PyTorch的TorchInductor——进行了基准测试,以验证GraphNet的实用性。包含图提取与编译器评估工具的完整构建流程可访问https://github.com/PaddlePaddle/GraphNet 获取。

英文摘要:

We introduce GraphNet, a dataset of 2.7K real-world deep learning computational graphs with rich metadata, spanning six major task categories across multiple deep learning frameworks. To evaluate tensor compiler performance on these samples, we propose the benchmark metric Speedup Score S(t), which jointly considers runtime speedup and execution correctness under tunable tolerance levels, offering a reliable measure of general optimization capability. Furthermore, we extend S(t) to the Error-aware Speedup Score ES(t), which incorporates error information and helps compiler developers identify key performance bottlenecks. In this report, we benchmark the default tensor compilers, CINN for PaddlePaddle and TorchInductor for PyTorch, on computer vision (CV) and natural language processing (NLP) samples to demonstrate the practicality of GraphNet. The full construction pipeline with graph extraction and compiler evaluation tools is available at https://github.com/PaddlePaddle/GraphNet .

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

↑