arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.00736cs.DCcs.ET
收藏

RISC-V 准备好用于机器学习了吗?使用异步任务的可移植高斯过程

Is RISC-V Ready for Machine Learning? Portable Gaussian Processes Using Asynchronous Tasks

University of Stuttgart(斯图加特大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室)

Alexander Strack, Patrick Diehl, Dirk Pflüger

AI总结:

本文通过 GPRat 库和 HPX 异步任务运行时系统,评估了高斯过程在 x86-64、ARM 和 RISC-V 架构上的可移植性和性能,发现 RISC-V 在单核性能和并行扩展性上显著落后,而 ARM 芯片通过并行扩展性实现了与 x86-64 竞争的性能。

摘要:

高斯过程广泛应用于机器学习领域,但计算需求高,限制了其在新兴硬件平台上的高效可扩展性。GPRat 库使用 HPX 异步多任务运行时系统解决了这些挑战。在本工作中,我们扩展了 GPRat 以支持跨多种硬件架构的可移植性,并在代表性的 x86-64、ARM 和 RISC-V 芯片上评估其性能。我们进行了节点级强扩展和问题规模扩展基准测试,用于高斯过程预测和超参数优化,以评估单核性能、并行可扩展性和架构效率。我们的结果表明,虽然 x86-64 Zen 2 芯片在单核性能上比基于 ARM 的 Fujitsu A64FX 有 58% 的优势,但卓越的并行扩展性使得 48 核 ARM 芯片在满节点利用率下比 64 核 Zen 2 性能高出 9%。评估的 SOPHON SG2042 RISC-V 芯片表现出显著较低的性能和较弱的可扩展性,单核性能落后高达 14 倍,大规模并行工作负载的减速高达 24 倍。对于问题规模扩展,ARM 和 x86-64 系统在 23% 范围内表现出可比的性能。这些发现突显了专用 ARM 芯片日益增长的竞争力。此外,它们强调了宽寄存器向量化支持和内存子系统改进对于即将推出的 RISC-V 平台的重要性,尤其是在多任务运行时系统目标下。

英文摘要:

Gaussian processes are widely used in machine learning domains but remain computationally demanding, limiting their efficient scalability across emerging hardware platforms. The GPRat library addresses these challenges using the HPX asynchronous many-task runtime system. In this work, we extend GPRat to enable portability across multiple hardware architectures and evaluate its performance on representative x86-64, ARM, and RISC-V chips. We conduct node-level strong scaling and problem size scaling benchmarks for Gaussian process prediction and hyperparameter optimization to assess single-core performance, parallel scalability, and architectural efficiency. Our results show that while the x86-64 Zen 2 chip achieves a 58% single-core performance advantage over the ARM-based Fujitsu A64FX, superior parallel scaling allows the 48-core ARM chip to outperform the 64-core Zen 2 by 9% at full node utilization. The evaluated SOPHON SG2042 RISC-V chip exhibits substantially lower performance and weaker scalability, with single-core performance lagging by up to a factor of 14 and large-scale parallel workloads showing slowdowns of up to a factor of 24. For problem size scaling, ARM and x86-64 systems demonstrate comparable performance within 23%. These findings highlight the growing competitiveness of purpose-built ARM chips. Furthermore, they underscore the importance of wide-register vectorization support and improvements to the memory subsystem for upcoming RISC-V platforms, especially when targeted by many-task runtimes.

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

↑