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

基于PyTorch的几何学习在非CUDA处理单元上的实践:来自Intel Gaudi-v2 HPU的经验

PyTorch-based Geometric Learning with Non-CUDA Processing Units: Experiences from Intel Gaudi-v2 HPUs

KAIST(韩国国立釜山科学技术院)

Fanchen Bu, Kijung Shin

AI总结:

本文分享了将基于PyTorch的几何学习框架移植到Intel Gaudi-v2 HPU非CUDA加速器上的实践经验,通过提供核心工具、教程和故障解决方案,降低了研究人员在非CUDA硬件上进行几何学习实验的门槛。

摘要:

几何学习已成为建模非欧几里得数据(尤其是图结构数据)的强大范式,其应用涵盖社交网络、分子结构、知识图谱和推荐系统。尽管Nvidia支持CUDA的图形处理单元(GPU)在硬件领域占据主导地位,但Intel Gaudi Habana处理单元(HPU)等新兴加速器提供了具有竞争力的性能和能效。然而,使用此类非CUDA处理单元需要大量的工程工作和新颖的软件适配。在这项工作中,我们介绍了将基于PyTorch的几何学习框架移植到Gaudi-v2 HPU上的经验。我们引入了一组核心实用工具,在Gaudi-v2 HPU上恢复了基本操作(例如scatter、稀疏索引、k近邻),并整合了十六个引导教程和十一个真实世界示例,同时提供了对所遇故障的诊断分析和详细的解决方案。我们将所有经验汇总到一个公开可访问的GitHub仓库中。我们的贡献降低了研究人员在非CUDA硬件上试验几何学习算法和模型的门槛,为进一步优化和跨平台可移植性奠定了基础。

英文摘要:

Geometric learning has emerged as a powerful paradigm for modeling non-Euclidean data, especially graph-structured ones, with applications spanning social networks, molecular structures, knowledge graphs, and recommender systems. While Nvidia's CUDA-enabled graphics processing units (GPUs) largely dominate the hardware landscape, emerging accelerators such as Intel's Gaudi Habana Processing Units (HPUs) offer competitive performance and energy efficiency. However, the usage of such non-CUDA processing units requires significant engineering effort and novel software adaptations. In this work, we present our experiences porting PyTorch-based geometric learning frameworks to Gaudi-v2 HPUs. We introduce a collection of core utilities that restore essential operations (e.g., scatter, sparse indexing, k-nearest neighbors) on Gaudi-v2 HPUs, and we consolidate sixteen guided tutorials and eleven real-world examples with diagnostic analyses of encountered failures and detailed workarounds. We collect all our experiences into a publicly accessible GitHub repository. Our contributions lower the barrier for researchers to experiment with geometric-learning algorithms and models on non-CUDA hardware, providing a foundation for further optimization and cross-platform portability.

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

↑