paper-with-me

홈 › Papers

Bring Your Own Codegen to Deep Learning Compiler

2021-05-03 · Zhi Chen, Cody Hao Yu, Trevor Morris, Jorn Tuyls, Yi-Hsiang Lai, Jared Roesch, Elliott Delaye, Vin Sharma, Yida Wang

Deep neural networks (DNNs) have been ubiquitously applied in many applications, and accelerators are emerged as an enabler to support the fast and efficient inference tasks of these applications. However, to achieve high model coverage with high performance, each accelerator vendor has to develop a full compiler stack to ingest, optimize, and execute the DNNs. This poses significant challenges in the development and maintenance of the software stack. In addition, the vendors have to contiguously update their hardware and/or software to cope with the rapid evolution of the DNN model architectures and operators. To address these issues, this paper proposes an open source framework that enables users to only concentrate on the development of their proprietary code generation tools by reusing as many as possible components in the existing deep learning compilers. Our framework provides users flexible and easy-to-use interfaces to partition their models into segments that can be executed on "the best" processors to take advantage of the powerful computation capability of accelerators. Our case study shows that our framework has been deployed in multiple commercial vendors' compiler stacks with only a few thousand lines of code.

📄 PDF Abstract BibTeX arXiv:2105.03215

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationDeep Learning

Similar Papers 제목 키워드 기반

C codegen considered unnecessary: go directly to binary, do not pass C. Compilation of Julia code for deployment in model-based engineering

2025-02-03 · Fredrik Bagge Carlson, Cody Tapscott, Gabriel Baraldi, Chris Rackauckas

Since time immemorial an old adage has always seemed to ring true: you cannot use a high-level productive programming language like Python or R for real-time control and embedded-systems programming, you must rewrite you…

C++ codeCode GenerationState Estimation

Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers

2025-09-14 · Simin Chen, Jinjun Peng, Yixin He, Junfeng Yang 외 arxiv

Deep learning (DL) compilers are core infrastructure in modern DL systems, offering flexibility and scalability beyond vendor-specific libraries. This work uncovers a fundamental vulnerability in their design: can an off…

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 외 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 ope…

Does Your Neural Code Completion Model Use My Code? A Membership Inference Approach

2024-04-22 · Yao Wan, Guanghua Wan, Shijie Zhang, Hongyu Zhang 외

Recent years have witnessed significant progress in developing deep learning-based models for automated code completion. Although using source code in GitHub has been a common practice for training deep-learning-based mo…

Code CompletionMemorization

Code Generation by Differential Test Time Scaling

2026-05-19 · Yifeng He, Ethan Wang, Jicheng Wang, Xuanxin Ouyang 외 arxiv

Test-time scaling has emerged as a promising approach for improving code generation by exploring large solution spaces at inference time. However, existing methods often rely on public test cases that are unavailable in …

Code Generation