Connecting Large Language Model Agent to High Performance Computing Resource
Heng Ma, Alexander Brace, Carlo Siebenschuh, Greg Pauloski, Ian Foster, and Arvind Ramanathan

TL;DR
This paper integrates Parsl with LangChain to enable large language model agents to efficiently access high-performance computing resources for scientific tasks, demonstrating concurrent execution of tool functions in HPC environments.
Contribution
It introduces a novel integration of Parsl with LLM agent workflows, facilitating parallel execution of scientific computations on HPC systems.
Findings
Parsl-enabled LangChain effectively manages concurrent tool execution.
The system successfully runs molecular dynamics simulations on HPC resources.
Parallel execution improves efficiency for large-scale scientific tasks.
Abstract
The Large Language Model agent workflow enables the LLM to invoke tool functions to increase the performance on specific scientific domain questions. To tackle large scale of scientific research, it requires access to computing resource and parallel computing setup. In this work, we implemented Parsl to the LangChain/LangGraph tool call setup, to bridge the gap between the LLM agent to the computing resource. Two tool call implementations were set up and tested on both local workstation and HPC environment on Polaris/ALCF. The first implementation with Parsl-enabled LangChain tool node queues the tool functions concurrently to the Parsl workers for parallel execution. The second configuration is implemented by converting the tool functions into Parsl ensemble functions, and is more suitable for large task on super computer environment. The LLM agent workflow was prompted to run…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Agent Systems and Negotiation · Semantic Web and Ontologies · Robotics and Automated Systems
MethodsSparse Evolutionary Training
