跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2407.01638 (cs)
[提交于 2024年6月30日]

标题:LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codes

作者:Matthew T. Dearing, Yiheng Tao, Xingfu Wu, Zhiling Lan, Valerie Taylor
查看论文《LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codes》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This paper addresses the problem of providing a novel approach to sourcing significant training data for LLMs focused on science and engineering. In particular, a crucial challenge is sourcing parallel scientific codes in the ranges of millions to billions of codes. To tackle this problem, we propose an automated pipeline framework called LASSI, designed to translate between parallel programming languages by bootstrapping existing closed- or open-source LLMs. LASSI incorporates autonomous enhancement through self-correcting loops where errors encountered during the compilation and execution of generated code are fed back to the LLM through guided prompting for debugging and refactoring. We highlight the bi-directional translation of existing GPU benchmarks between OpenMP target offload and CUDA to validate LASSI. The results of evaluating LASSI with different application codes across four LLMs demonstrate the effectiveness of LASSI for generating executable parallel codes, with 80% of OpenMP to CUDA translations and 85% of CUDA to OpenMP translations producing the expected output. We also observe approximately 78% of OpenMP to CUDA translations and 62% of CUDA to OpenMP translations execute within 10% of or at a faster runtime than the original benchmark code in the same language.
评论: 8 pages, 1 figure, 7 tables
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 分布式、并行与集群计算 (cs.DC); 程序设计语言 (cs.PL)
引用方式: arXiv:2407.01638 [cs.SE]
  (或者 arXiv:2407.01638v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2407.01638
期刊参考: 2024 IEEE International Conference on Cluster Computing Workshops (CLUSTER Workshops), pp. 136-143
相关 DOI: https://doi.org/10.1109/CLUSTERWorkshops61563.2024.00029

提交历史

来自:Matthew Dearing
[v1] 2024年6月30日 星期日 19:36:04 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-06
切换浏览方式为:
cs
cs.AI
cs.DC
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站