arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16347cs.LG
收藏

HPC-LLM: 实用领域适应与检索增强生成用于HPC支持

HPC-LLM: Practical Domain Adaptation and Retrieval-Augmented Generation for HPC Support

Texas A&M University(德克萨斯大学)

Nourin Shahin, Izzat Alsmadi

AI总结:

本文提出HPC-LLM,通过检索增强和领域适应支持HPC工作流,利用QLoRA实现轻量级领域适应,实验表明其在低资源下性能接近大模型。

摘要:

现代科学研究日益依赖高性能计算(HPC)基础设施,但许多研究者在与集群环境、作业调度器、GPU资源和并行计算框架交互时面临显著操作障碍。通用大语言模型(LLMs)提供有用的编码帮助,但通常缺乏可靠HPC支持所需的领域特定操作知识。本文提出HPC-LLM,一个检索增强和领域适应的助手,支持常见的HPC工作流,包括Slurm调度、MPI执行、GPU利用、文件系统管理和集群故障排除。所提出的框架整合了自动化文档摄入、密集检索、轻量级领域适应使用QLoRA和本地推理,形成模块化编排管道。为支持领域适应,我们从公开可用的大学HPC文档、精选的操作示例和从检索HPC内容生成的合成指令-回答对构建了HPC导向的语料库。所得到的数据集包含约9,000至24,000个HPC相关的训练示例,涵盖作业调度、GPU计算、分布式训练、存储系统和集群管理主题。我们使用QLoRA微调Llama 3.1 8B,并在JetStream2基础设施上评估结果模型,与多个开源权重基线在检索增强设置下进行比较。实验结果表明,适应的8B模型在显著较低的GPU内存需求和推理延迟下,性能接近大幅更大的通用模型。特别是,适应的模型在性能上接近Qwen 2.5 14B,同时需要显著较少的计算资源。

英文摘要:

Modern scientific research increasingly depends on High-Performance Computing (HPC) infrastructures, yet many researchers face significant operational barriers when interacting with cluster environments, job schedulers, GPU resources, and parallel computing frameworks. General-purpose large language models (LLMs) provide useful coding assistance but often lack the domain-specific operational knowledge required for reliable HPC support. This paper presents HPC-LLM, a retrieval augmented and domain-adapted assistant designed to support common HPC workflows including Slurm scheduling, MPI execution, GPU utilization, filesystem management, and cluster troubleshooting. The proposed framework integrates automated documentation ingestion, dense retrieval, lightweight domain adaptation using QLoRA, and local inference within a modular orchestration pipeline. To support domain adaptation, we construct an HPC-oriented corpus from publicly available university HPC documentation, curated operational examples, and synthetic instruction-answer pairs generated from retrieved HPC content. The resulting dataset contains approximately 9,000 to 24,000 HPC-focused training examples spanning job scheduling, GPU computing, distributed training, storage systems, and cluster administration topics. We fine-tune Llama 3.1 8B using QLoRA and evaluate the resulting model against several open weight baselines under retrieval-augmented settings on JetStream2 infrastructure. Experimental results indicate that the adapted 8B model achieves performance comparable to substantially larger general-purpose models while operating under significantly lower GPU memory requirements and inference latency. In particular, the adapted model approaches the performance of Qwen 2.5 14B while requiring substantially fewer computational resources.

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

↑