#880 · Primary category: AI Agents & Automation

LLMCompiler

efficient-inference function-calling large-language-models llama llama2 llm llm-agent llm-agents llm-framework llms natural-language-processing nlp parallel-function-call transformer

[ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling

Project last updated:07/10/24

GitHub Stars

1.9K

Forks

136

Contributors

4

License

MIT

Why we included this project

Agent builders who have watched a multi-step tool call run in serial order will recognize the fix this library offers. LLMCompiler takes a set of user-specified tools and works out which calls can execute in parallel and which must wait, so tasks with naturally parallel steps finish faster and cost less in tokens. It runs on both closed APIs like OpenAI's GPT models and open-source options such as LLaMA, and it plugs into existing stacks via LangGraph and LlamaIndex. That means you don't have to hand-code the sequencing logic that ReAct-style loops force you to write. The repo also includes the code to reproduce the paper's evaluation results, which helps you judge whether the latency and accuracy trade-offs hold for your own workload.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category