加速Exa的推理。TrkX管道
Accelerating the Inference of the Exa.TrkX Pipeline
摘要:
最近,图神经网络(GNN)已成功用于高能物理中的各种粒子重建问题,包括粒子跟踪。基于GNNs的Exa.TrkX管道在密集环境中重建粒子轨迹方面表现出了良好的性能。它包括五个离散的步骤:数据编码,图形构建,边缘过滤,GNN和轨道标记。所有步骤都是用Python编写的,并在GPU和CPU上运行。在这项工作中,我们通过定制和商业GPU支持的软件库加速了管道的Python实现,并开发了一个C++实现来推断管道。该实现具有改进的,CUDA启用的固定半径最近邻搜索的图形建设和弱连接组件图算法的轨道标记。GNN和其他经过训练的深度学习模型被转换为ONNX,并通过ONNX的C++ API进行推理。管道的完整C++实现允许与现有跟踪软件集成。我们报告了应用于TrackML基准数据集的实现的内存使用和平均事件延迟跟踪性能。
英文摘要:
Recently, graph neural networks (GNNs) have been successfully used for a variety of particle reconstruction problems in high energy physics, including particle tracking. The Exa.TrkX pipeline based on GNNs demonstrated promising performance in reconstructing particle tracks in dense environments. It includes five discrete steps: data encoding, graph building, edge filtering, GNN, and track labeling. All steps were written in Python and run on both GPUs and CPUs. In this work, we accelerate the Python implementation of the pipeline through customized and commercial GPU-enabled software libraries, and develop a C++ implementation for inferencing the pipeline. The implementation features an improved, CUDA-enabled fixed-radius nearest neighbor search for graph building and a weakly connected component graph algorithm for track labeling. GNNs and other trained deep learning models are converted to ONNX and inferenced via the ONNX Runtime C++ API. The complete C++ implementation of the pipeline allows integration with existing tracking software. We report the memory usage and average event latency tracking performance of our implementation applied to the TrackML benchmark dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。