paper-with-me

홈 › Papers

nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architectures

2025-12-25 · Hui Guo, Qihang Zheng, Chenghai Huo, Dongliang Guo, Haoqi Yang, Yang Zhang arxiv

The efficient deployment of large language models (LLMs) is hindered by memory architecture heterogeneity, where traditional compilers suffer from fragmented workflows and high adaptation costs. We present nncase, an open-source, end-to-end compilation framework designed to unify optimization across diverse targets. Central to nncase is an e-graph-based term rewriting engine that mitigates the phase ordering problem, enabling global exploration of computation and data movement strategies. The framework integrates three key modules: Auto Vectorize for adapting to heterogeneous computing units, Auto Distribution for searching parallel strategies with cost-aware communication optimization, and Auto Schedule for maximizing on-chip cache locality. Furthermore, a buffer-aware Codegen phase ensures efficient kernel instantiation. Evaluations show that nncase outperforms mainstream frameworks like MLC LLM and Intel IPEX on Qwen3 series models and achieves performance comparable to the hand-optimized llama.cpp on CPUs, demonstrating the viability of automated compilation for high-performance LLM deployment. The source code is available at https://github.com/kendryte/nncase.

📄 PDF Abstract BibTeX arXiv:2512.21571

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Leveraging Neural Graph Compilers in Machine Learning Research for Edge-Cloud Systems

2025-04-28 · Alireza Furutanpey, Carmen Walser, Philipp Raith, Pantelis A. Frangoudis 외

This work presents a comprehensive evaluation of neural network graph compilers across heterogeneous hardware platforms, addressing the critical gap between theoretical optimization techniques and practical deployment sc…

Friction

MATCHA: Efficient Deployment of Deep Neural Networks on Multi-Accelerator Heterogeneous Edge SoCs

2026-04-10 · Enrico Russo, Mohamed Amine Hamdi, Alessandro Ottaviano, Francesco Conti 외 arxiv

Deploying DNNs on System-on-Chips (SoC) with multiple heterogeneous acceleration engines is challenging, and the majority of deployment frameworks cannot fully exploit heterogeneity. We present MATCHA, a unified DNN depl…

Compiler-Assisted Speculative Sampling for Accelerated LLM Inference on Heterogeneous Edge Devices

2026-02-08 · Alejandro Ruiz y Mesa, Guilherme Korol, Moritz Riesterer, João Paulo Cardoso de Lima 외 arxiv

LLM deployment on resource-constrained edge devices faces severe latency constraints, particularly in real-time applications where delayed responses can compromise safety or usability. Among many approaches to mitigate t…

CHET: Compiler and Runtime for Homomorphic Evaluation of Tensor Programs

2018-10-01 · Roshan Dathathri, Olli Saarikivi, Hao Chen, Kim Laine 외

Fully Homomorphic Encryption (FHE) refers to a set of encryption schemes that allow computations to be applied directly on encrypted data without requiring a secret key. This enables novel application scenarios where a c…

MATCH: Model-Aware TVM-based Compilation for Heterogeneous Edge Devices

2024-10-11 · Mohamed Amine Hamdi, Francesco Daghero, Giuseppe Maria Sarda, Josse Van Delm 외

Streamlining the deployment of Deep Neural Networks (DNNs) on heterogeneous edge platforms, coupling within the same micro-controller unit (MCU) instruction processors and hardware accelerators for tensor computations, i…