potentialpaper

FusionAgent: Joint Search over Fusion Boundaries and Kernel Implementations for Whole-Model Inference

Qianrui Li, Xinxin Qi, Xiaoxu.Guo, Yuxin Ma, Xiaowei Zhu, Da Zheng

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Kernel fusion can reduce launch and data-movement overhead in model inference, but optimizing a complete model requires jointly deciding which operations to fuse and how to implement each fused region. Larger regions expose more optimization opportunities but may increase resource pressure and reduce GPU parallelism; their implementation spaces are also difficult to explore under a limited budget, particularly when LLM-generated decisions and code are unreliable. We present FusionAgent, an agentic system that addresses these challenges to optimize full-model inference. GraphAgent searches fusion boundaries over multiple phases, while KernelAgent implements the proposed regions; only verified, measured improvements rewrite the graph and expose larger regions for subsequent phases. KernelAgent uses ECHO search to rank a diverse candidate pool from profiles and search history, decompose plans into independently evaluated units, distinguish an ineffective hypothesis from an inefficient implementation, and reuse experimental outcomes across rounds. Generated kernels are checked against reference values at their graph boundaries and validated again after model integration. Thus, LLMs make the semantic decisions, while deterministic verification and hardware measurements control acceptance. FusionAgent automatically produces optimized models that can be integrated with production inference engines while preserving distributed tensor-parallel execution; we implement and evaluate this integration with SGLang. Across GLM-4.7-358B and LLaDA2.2-Flash workloads on eight NVIDIA H20-3e GPUs, FusionAgent improves end-to-end execution by 1.541.54–1.89×1.89\times over SGLang v0.5.8 and 1.181.18–1.50×1.50\times over the more optimized SGLang v0.5.17. On the fused-region benchmarks, KernelAgent outperforms torch.compile in every case and achieves the best latency on three out of four, with up to a 2.17×2.17\times advantage over the strongest competing kernel agent.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Withdrawnreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Withdrawn · OpenReview

Updated 24 Nov 2026, 17:07 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…