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

LLM与HPC:在高性能计算任务中评估DeepSeek的性能

LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Tasks

Center of Computation and Technology(计算与技术中心);Louisiana State University(路易斯安那州立大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室)

Noujoud Nader, Patrick Diehl, Steve Brandt, Hartmut Kaiser

AI总结:

本文评估了DeepSeek在高性能计算任务中生成代码的能力,发现其在扩展性和执行效率上逊于GPT-4。

摘要:

大型语言模型(LLMs),如GPT-4和DeepSeek,已被应用于软件工程的广泛领域。然而,在高性能计算(HPC)背景下的潜力仍有待探索。本文评估了最近的LLM DeepSeek在生成一组HPC基准代码方面的表现:共轭梯度求解器、并行热方程、并行矩阵乘法、DGEMM以及STREAM三元组操作。我们分析了DeepSeek在传统HPC语言如C++、Fortran、Julia和Python中的代码生成能力。评估包括对代码正确性、性能以及不同配置和矩阵尺寸下的扩展性进行测试。我们还提供了DeepSeek与另一广泛使用的工具GPT-4之间的详细比较。我们的结果表明,尽管DeepSeek能为HPC任务生成功能性代码,但在代码的扩展性和执行效率方面仍落后于GPT-4。

英文摘要:

Large Language Models (LLMs), such as GPT-4 and DeepSeek, have been applied to a wide range of domains in software engineering. However, their potential in the context of High-Performance Computing (HPC) much remains to be explored. This paper evaluates how well DeepSeek, a recent LLM, performs in generating a set of HPC benchmark codes: a conjugate gradient solver, the parallel heat equation, parallel matrix multiplication, DGEMM, and the STREAM triad operation. We analyze DeepSeek's code generation capabilities for traditional HPC languages like Cpp, Fortran, Julia and Python. The evaluation includes testing for code correctness, performance, and scaling across different configurations and matrix sizes. We also provide a detailed comparison between DeepSeek and another widely used tool: GPT-4. Our results demonstrate that while DeepSeek generates functional code for HPC tasks, it lags behind GPT-4, in terms of scalability and execution efficiency of the generated code.

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

↑